OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = A055642(A000400(n)) = A055642(6^n) = floor(log_10(10*(6^n))). - Jonathan Vos Post, Mar 23 2012
EXAMPLE
a(4) = 4 because 6^4 = 1296, which has 4 digits.
a(5) = 4 because 6^5 = 7776, which has 4 digits.
MAPLE
a:= n-> length(6^n): seq (a(n), n=0..100); # Alois P. Heinz, Mar 22 2012
MATHEMATICA
Table[Length[IntegerDigits[6^n]], {n, 0, 99}] (* Alonso del Arte, Mar 22 2012 *)
PROG
(Magma) [#Intseq(6^n): n in [0..67]]; // Bruno Berselli, Mar 22 2012
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Luc Comeau-Montasse, Mar 21 2012
STATUS
approved