|
Search: id:A129344
|
|
|
| A129344 |
|
a(n) is the number of powers of 2 that have n decimal digits. |
|
+0 2
|
|
| 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 4, 3, 3, 3, 4, 3, 3
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
EXAMPLE
|
a(1) is 4 because there are 4 one-digit powers of 2: 1, 2, 4, 8.
|
|
MATHEMATICA
|
Table[Transpose[ Select[Table[{n, 2^n}, {n, 0, 310}], IntegerDigits[ #[[2]]][[1]] == 1 &]][[1]][[k]] - Transpose[ Select[Table[{n, 2^n}, {n, 0, 310}], IntegerDigits[ #[[2]]][[1]] == 1 &]][[1]][[k - 1]], {k, 2, 94}]
|
|
CROSSREFS
|
The difference of A067497 - Smallest power of 2 with n+1 digits (n>=0). Also n such that 1 is the first digit of 2^n.
Sequence in context: A085415 A059124 A026858 this_sequence A048853 A011762 A063571
Adjacent sequences: A129341 A129342 A129343 this_sequence A129345 A129346 A129347
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Tanya Khovanova (tanyakh(AT)yahoo.com), May 28 2007
|
|
|
Search completed in 0.002 seconds
|