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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063429 Smallest power of 2 having just n 3's in its decimal representation. 1
1, 5, 49, 25, 35, 109, 96, 128, 135, 169, 182, 156, 208, 302, 310, 277, 221, 300, 346, 498, 387, 502, 563, 507, 503, 611, 550, 585, 615, 681, 731, 817, 819, 835, 779, 860, 849, 840, 879, 997, 1016, 925, 1066, 1161, 1117, 1186, 1282, 1090, 1293, 1251, 1444 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

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

MATHEMATICA

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

PROG

(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, 3) != n, p++); write("b063429.txt", n, " ", p) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 20 2009]

CROSSREFS

Sequence in context: A126224 A108207 A127091 * A183333 A007406 A196326

Adjacent sequences:  A063426 A063427 A063428 * A063430 A063431 A063432

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 08:37 EST 2012. Contains 205614 sequences.