Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063540
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063540 Smallest power of 2 having just n 6's in its decimal representation. +0
1
1, 4, 16, 36, 60, 100, 72, 123, 124, 161, 157, 243, 196, 230, 222, 220, 300, 323, 361, 447, 378, 551, 433, 506, 555, 565, 636, 508, 606, 662, 701, 778, 810, 746, 823, 839, 850, 977, 1074, 861, 1046, 1086, 996, 1161, 1067, 1168, 1083, 983, 1223, 1252, 1303 (list; graph; listen)
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], 6] != 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, a=1; while (Count(2^a, 6) != n, a++); write("b063540.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 25 2009]

CROSSREFS

Sequence in context: A104125 A014727 A044065 this_sequence A055808 A016742 A121317

Adjacent sequences: A063537 A063538 A063539 this_sequence A063541 A063542 A063543

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 1 19:22 EST 2009. Contains 167811 sequences.


AT&T Labs Research