Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131543
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131543 Least power of 2 having exactly n consecutive 9's in its decimal representation. +0
1
12, 33, 50, 421, 422, 2187, 15554, 42483, 42485, 42486 (list; graph; listen)
OFFSET

1,1

EXAMPLE

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

MATHEMATICA

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

CROSSREFS

Sequence in context: A045660 A050690 A079561 this_sequence A063296 A051624 A039338

Adjacent sequences: A131540 A131541 A131542 this_sequence A131544 A131545 A131546

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 July 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research