OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..200
FORMULA
a(n) = A004086(n^n).
EXAMPLE
a(5) = 5213, as 5^5 = 3125.
MAPLE
with(numtheory):for n from 1 to 50 do a := convert(n^n, base, 10):b := add(10^(nops(a)- i)*a[i], i=1..nops(a)):printf(`%d, `, b); od:
MATHEMATICA
Table[IntegerReverse[n^n], {n, 20}] (* Harvey P. Dale, Jul 31 2022 *)
PROG
(PARI) a(n) = { fromdigits(Vecrev(digits( n^n )))} \\ Harry J. Smith, Jul 29 2009
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Jun 01 2001
EXTENSIONS
More terms from Jason Earls and Vladeta Jovovic, Jun 01 2001
STATUS
approved