login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063634 Smallest k such that 9^k has exactly n 8's in its decimal representation. 0
1, 2, 9, 13, 22, 16, 31, 72, 51, 59, 49, 83, 108, 104, 130, 115, 123, 144, 140, 159, 191, 152, 145, 186, 194, 217, 236, 237, 223, 189, 312, 269, 252, 205, 282, 283, 286, 328, 284, 290, 305, 324, 386, 352, 360, 423, 382, 525, 416, 403, 430 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..50.

MATHEMATICA

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

Join[{1}, Flatten[With[{p9=DigitCount[#, 10, 8]&/@(9^Range[0, 600])}, Table[ Position[ p9, n, {1}, 1], {n, 50}]]]-1] (* Harvey P. Dale, Apr 23 2014 *)

CROSSREFS

Sequence in context: A138946 A037385 A115907 * A178688 A163735 A144472

Adjacent sequences:  A063631 A063632 A063633 * A063635 A063636 A063637

KEYWORD

base,nonn

AUTHOR

Robert G. Wilson v, Aug 10 2001

EXTENSIONS

Name corrected by Jon E. Schoenfield, Jun 26 2018

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 6 12:08 EDT 2020. Contains 333273 sequences. (Running on oeis4.)