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!)
A176766 Smallest power of 6 whose decimal expansion contains n. 1
10077696, 1, 216, 36, 46656, 46656, 6, 7776, 2176782336, 1296, 10077696, 2821109907456, 1296, 13060694016, 6140942214464815497216, 101559956668416, 216, 60466176, 470184984576, 21936950640377856, 170581728179578208256, 216 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
This is to 6 as A176763 is to 3 and as A030001 is to 2.
LINKS
FORMULA
a(n) = MIN{A000400(i) such that n in decimal representation is a substring of A000400(i)}.
a(n) = 6^A062523(n). - Michel Marcus, Sep 30 2014
EXAMPLE
a(1) = 1 because 6^0 = 1 has "1" as a substring (not a proper substring, though).
a(2) = 216 because 6^3 = 216 has "2" as a substring.
a(3) = 36 because 6^2 = 36 has "3" as a substring.
MATHEMATICA
A176766[n_] := Block[{k = -1}, While[StringFreeQ[IntegerString[6^++k], IntegerString[n]]]; 6^k]; Array[A176766, 50, 0] (* Paolo Xausa, Apr 03 2024 *)
CROSSREFS
Sequence in context: A048938 A258443 A183670 * A186569 A186570 A250597
KEYWORD
base,easy,nonn
AUTHOR
Jonathan Vos Post, Apr 25 2010
EXTENSIONS
Corrected and extended by Sean A. Irvine and Jon E. Schoenfield, May 05 2010
a(0) prepended by Paolo Xausa, Apr 03 2024
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 August 29 03:06 EDT 2024. Contains 375510 sequences. (Running on oeis4.)