login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115566 Numbers n such that 2^n, 2^(n+1) and 2^(n+2) have the same number of digits. 0
1, 4, 7, 10, 11, 14, 17, 20, 21, 24, 27, 30, 31, 34, 37, 40, 41, 44, 47, 50, 51, 54, 57, 60, 61, 64, 67, 70, 71, 74, 77, 80, 81, 84, 87, 90, 91, 94, 97, 100, 103, 104, 107, 110, 113, 114, 117, 120, 123, 124, 127, 130, 133, 134, 137, 140, 143, 144, 147, 150, 153, 154 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

The density of this sequence is 1-2*Log[2], which is approximately 0.3979400087 (Log is base 10).

FORMULA

Floor[Log[2]*n] = Floor[Log[2]*(n+1)] = Floor[Log[2]*(n+2)] (Log is to base 10)

EXAMPLE

2^4 = 16, 2^5 = 32, 2^6 = 64: all these numbers have two digits.

2^10 = 1024, 2^11 = 2048, 2^12 = 4096: all these numbers have three digits.

MATHEMATICA

Select[Range[220], Floor[Log[10, 2]*# ] == Floor[Log[10, 2]*(# + 2)] &]

CROSSREFS

Cf. A001682 [same definition with 3 instead of 2].

Cf. A082206.

Sequence in context: A123869 A072125 A082206 * A190507 A087298 A127958

Adjacent sequences:  A115563 A115564 A115565 * A115567 A115568 A115569

KEYWORD

nonn,base

AUTHOR

Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Mar 11 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 17:06 EST 2012. Contains 205644 sequences.