Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063426
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063426 Smallest power of 2 having just n 2's in its decimal representation. +0
1
2, 1, 18, 43, 41, 93, 81, 107, 125, 177, 174, 196, 200, 197, 280, 265, 320, 348, 330, 481, 492, 486, 314, 449, 535, 509, 505, 616, 686, 742, 577, 598, 743, 788, 991, 885, 941, 810, 987, 934, 963, 970, 1165, 1018, 984, 1125, 928, 1279, 1126, 1232, 1164 (list; graph; listen)
OFFSET

0,1

LINKS

Harry J. Smith, Table of n, a(n) for n=0,...,150

MATHEMATICA

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

PROGRAM

(PARI) Count(x, d)= { local(c, f); c=0; while (x>9, f=x-10*(x\10); if (f==d, c++); x\=10); if (x==d, c++); return(c) } { for (n=0, 150, p=1; while (Count(2^p, 2) != n, p++); write("b063426.txt", n, " ", p) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 23 2009]

CROSSREFS

Sequence in context: A013077 A089512 A089014 this_sequence A070890 A123907 A013016

Adjacent sequences: A063423 A063424 A063425 this_sequence A063427 A063428 A063429

KEYWORD

base,nonn

AUTHOR

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

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 December 9 18:50 EST 2009. Contains 170568 sequences.


AT&T Labs Research