OFFSET
1,2
COMMENTS
REFERENCES
GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See page 103.
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).
LINKS
EXAMPLE
12*12 = 144, which written backwards is 441, so a(12) = 441.
10*10 = 100, so a(10) = 001 = 1.
MAPLE
a:= n-> (s-> parse(cat(s[-i]$i=1..length(s))))(""||(n^2)):
seq(a(n), n=1..60); # Alois P. Heinz, May 20 2022
MATHEMATICA
Table[FromDigits[Reverse[IntegerDigits[n^2]]], {n, 1, 40}] (* Geoffrey Critzer, Dec 04 2011 *)
PROG
(Haskell)
a002942 = a004086 . a000290 -- Reinhard Zumkeller, Sep 18 2013
(Magma) [Seqint(Reverse(Intseq(n^2))): n in [1..60]]; // Vincenzo Librandi, Sep 21 2015
CROSSREFS
KEYWORD
AUTHOR
EXTENSIONS
More terms from Jeremy Gardiner, Sep 08 2002
STATUS
approved