Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131536
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131536 Least power of 2 having exactly n consecutive 2's in its decimal representation. +0
1
1, 51, 43, 692, 314, 2354, 8555, 13326, 81784, 279272 (list; graph; listen)
OFFSET

1,2

EXAMPLE

a(3)=43 because 2^43(i.e. 8796093022208) is the smallest power of 2 to contain a run of 3 consecutive twos in its decimal form.

MATHEMATICA

a = ""; Do[ a = StringJoin[a, "2"]; b = StringJoin[a, "2"]; k = 1; While[ StringPosition[ ToString[2^k], a] == {} || StringPosition[ ToString[2^k], b] != {}, k++ ]; Print[k], {n, 1, 10} ]

CROSSREFS

Sequence in context: A087408 A160474 A033371 this_sequence A003912 A039932 A031959

Adjacent sequences: A131533 A131534 A131535 this_sequence A131537 A131538 A131539

KEYWORD

more,nonn,base

AUTHOR

Shyam Sunder Gupta (guptass(AT)rediffmail.com), Aug 26 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research