login
Search: a002118 -id:a002118
     Sort: relevance | references | number | modified | created      Format: long | short | data
a(n) = n^n written backwards.
+10
1
1, 4, 72, 652, 5213, 65664, 345328, 61277761, 984024783, 1, 116076113582, 6528440016198, 352295601578203, 61085552860021111, 573958083098398734, 61615590737044764481, 771467633688162042728, 42457573569257080464393
OFFSET
1,2
LINKS
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) { for (n=1, 200, x=n^n; r=0; while (x>0, d=x-10*(x\10); x\=10; r=r*10 + d); write("b062018.txt", n, " ", r) ) } \\ Harry J. Smith, Jul 29 2009
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Jun 01 2001
EXTENSIONS
More terms from Jason Earls and Vladeta Jovovic, Jun 01 2001
STATUS
approved

Search completed in 0.004 seconds