|
Search: id:A123384
|
|
|
| A123384 |
|
Number of digits in 10^n in binary. |
|
+0 1
|
|
| 1, 4, 7, 10, 14, 17, 20, 24, 27, 30, 34, 37, 40, 44, 47, 50, 54, 57, 60, 64, 67, 70, 74, 77, 80, 84, 87, 90, 94, 97, 100, 103, 107, 110, 113, 117, 120, 123, 127, 130, 133, 137, 140, 143, 147, 150, 153, 157, 160, 163, 167, 170, 173, 177, 180, 183, 187, 190, 193, 196
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
FORMULA
|
a(n)=1+floor(n/A007524)=1+floor(n/log_10(2)). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 12 2006
a(n) = 1+A066343(n). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 02 2007
|
|
EXAMPLE
|
a(3)=10 because 10^3=1111101000 in binary.
10^1=10(dec)=1010 (binary) has 4 digits.
|
|
MAPLE
|
A007524 := log[10](2.0) ; for n from 0 to 40 do printf("%d, ", 1+floor(n/A007524)) ; od: - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 12 2006
a:=n->nops(convert(10^n, base, 2)): seq(a(n), n=0..70); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 26 2007
|
|
CROSSREFS
|
Cf. A066343.
Adjacent sequences: A123381 A123382 A123383 this_sequence A123385 A123386 A123387
Sequence in context: A062389 A080600 A067497 this_sequence A138813 A133497 A064368
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Andrew Caldwell (spongebobpj(AT)yahoo.com), Nov 09 2006
|
|
EXTENSIONS
|
More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 26 2007
|
|
|
Search completed in 0.002 seconds
|