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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063554 Smallest power of 2 having just n 9's in its decimal representation. 0
1, 12, 34, 32, 83, 53, 92, 139, 93, 172, 173, 244, 254, 335, 342, 332, 333, 415, 356, 434, 506, 473, 477, 476, 517, 532, 596, 643, 662, 673, 731, 729, 603, 735, 850, 793, 792, 966, 959, 961, 1043, 1129, 1131, 1159, 1153, 1077, 1157, 1241, 1078, 1328 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

MATHEMATICA

a = {}; Do[k = 1; While[ Count[ IntegerDigits[2^k], 9] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a

n9[n_]:=Module[{k=1}, While[DigitCount[2^k, 10, 9]!=n, k++]; k]; Array[n9, 50, 0] (* From Harvey P. Dale, Dec 17 2011 *)

CROSSREFS

Sequence in context: A043941 A117476 A122436 * A059805 A141694 A077295

Adjacent sequences:  A063551 A063552 A063553 * A063555 A063556 A063557

KEYWORD

base,nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Aug 10 2001

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 13:08 EST 2012. Contains 205623 sequences.