login
A210436
Number of digits in 6^n.
7
1, 1, 2, 3, 4, 4, 5, 6, 7, 8, 8, 9, 10, 11, 11, 12, 13, 14, 15, 15, 16, 17, 18, 18, 19, 20, 21, 22, 22, 23, 24, 25, 25, 26, 27, 28, 29, 29, 30, 31, 32, 32, 33, 34, 35, 36, 36, 37, 38, 39, 39, 40, 41, 42, 43, 43, 44, 45, 46, 46, 47, 48, 49, 50, 50, 51, 52, 53
OFFSET
0,3
LINKS
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