OFFSET
1,2
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Vincenzo Librandi)
FORMULA
MAPLE
a:= n-> (s-> parse(cat(s[-i]$i=1..length(s))))(""||(n^3)):
seq(a(n), n=1..60); # Alois P. Heinz, May 20 2022
MATHEMATICA
Table[FromDigits[Reverse[IntegerDigits[n^3]]], {n, 1, 50}] (* Vincenzo Librandi, Aug 27 2013 *)
IntegerReverse[Range[50]^3] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Oct 23 2019 *)
PROG
(PARI) a(n) = fromdigits(Vecrev(digits(n^3))); \\ Michel Marcus, Jun 04 2019
(Python)
def a(n): return int(str(n**3)[::-1])
print([a(n) for n in range(1, 45)]) # Michael S. Branicky, May 24 2022
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Jeremy Gardiner, Sep 08 2002
STATUS
approved