login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A002441
Squares written in base 8.
(Formerly M3408 N1378)
1
1, 4, 11, 20, 31, 44, 61, 100, 121, 144, 171, 220, 251, 304, 341, 400, 441, 504, 551, 620, 671, 744, 1021, 1100, 1161, 1244, 1331, 1420, 1511, 1604, 1701, 2000, 2101, 2204, 2311, 2420, 2531, 2644, 2761, 3100, 3221, 3344, 3471, 3620, 3751, 4104, 4241
OFFSET
1,2
REFERENCES
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
V. Thébault, Les Récréations Mathématiques. Gauthier-Villars, Paris, 1952, p. 95.
FORMULA
a(n) = A007094(A000290(n)). - Jason Kimberley, Dec 13 2012
MATHEMATICA
Table[BaseForm[n^2, 8], {n, 5!}] (* Vladimir Joseph Stephan Orlovsky, May 12 2010 *)
Table[FromDigits[IntegerDigits[n^2, 8]], {n, 60}] (* Vincenzo Librandi, Oct 15 2015 *)
PROG
(Magma) [Seqint(Intseq(n^2, 8)): n in [1..60]]; // Vincenzo Librandi, Oct 16 2015
(PARI) a(n)=fromdigits(digits(n^2, 8)) \\ Charles R Greathouse IV, Apr 25 2016
CROSSREFS
Sequence in context: A212460 A159801 A008245 * A301116 A008053 A301136
KEYWORD
nonn,easy,base
EXTENSIONS
More terms from James A. Sellers, Sep 08 2000
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy