login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A063558 Smallest k such that 3^k has exactly n 3's in its decimal representation. 0
2, 1, 13, 21, 29, 65, 66, 56, 69, 114, 101, 112, 137, 165, 172, 219, 233, 185, 252, 299, 268, 261, 322, 394, 310, 345, 435, 329, 405, 500, 498, 427, 395, 517, 586, 555, 548, 590, 596, 574, 578, 531, 717, 661, 689, 732, 669, 789, 718, 875, 834 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[3^k], 3] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
Flatten[With[{t=3^Range[900]}, Table[Position[t, _?(DigitCount[#, 10, 3]==n&), 1, 1], {n, 0, 50}]]] (* Harvey P. Dale, Feb 22 2013 *)
CROSSREFS
Sequence in context: A358205 A118679 A087451 * A174170 A264373 A217490
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 14:49 EDT 2024. Contains 371914 sequences. (Running on oeis4.)