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
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
KEYWORD
nonn,easy,base
AUTHOR
EXTENSIONS
More terms from James A. Sellers, Sep 08 2000
STATUS
approved