|
|
A348553
|
|
Number of digits in 11^n.
|
|
2
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(24) = 25 because 11^24 = 9849732675807611094711841, which has 25 digits.
a(25) = 27 because 11^25 = 108347059433883722041830251, which has 27 digits.
|
|
MATHEMATICA
|
a[n_] := IntegerLength[11^n]; Array[a, 100, 0] (* Amiram Eldar, Oct 22 2021 *)
|
|
PROG
|
(PARI) a(n) = #Str(11^n);
(Python)
def a(n): return len(str(11**n))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|