login
A071588
Powers of 6 written backwards.
2
1, 6, 63, 612, 6921, 6777, 65664, 639972, 6169761, 69677001, 67166406, 650797263, 6332876712, 61049606031, 69046146387, 675489481074, 6547099011282, 63744495662961, 614866659955101, 694010047953906, 6792600448516563
OFFSET
0,2
LINKS
FORMULA
a(n) = A004086(A000400(n)).
MATHEMATICA
FromDigits[Reverse[IntegerDigits[#]]]&/@(6^Range[0, 30]) (* Harvey P. Dale, Feb 02 2012 *)
PROG
(PARI) for(i=1, 50, n=5^i; s=ceil(log(n)/log(10)); print1(sum(i=0, s, 10^(s-i-1)*(floor(n/10^i)-10*floor(n/10^(i+1)))), ", "))
KEYWORD
easy,nonn,base
AUTHOR
Benoit Cloitre, Jun 01 2002
STATUS
approved