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!)
A063569 6^a(n) is smallest positive power of 6 containing the string 'n'. 2
9, 3, 3, 2, 6, 6, 1, 5, 12, 4, 9, 16, 4, 13, 28, 18, 3, 10, 15, 21, 26, 3, 22, 12, 27, 26, 17, 7, 16, 4, 13, 22, 24, 12, 27, 19, 2, 21, 22, 30, 13, 14, 22, 25, 17, 15, 6, 15, 28, 15, 21, 31, 46, 23, 28, 18, 6, 15, 20, 17, 10, 8, 11, 33, 14, 6, 6, 8, 18, 9, 11, 22, 26, 17, 16, 33 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Chai Wah Wu, Table of n, a(n) for n = 0..10000

MATHEMATICA

a = {}; Do[k = 1; While[ StringPosition[ ToString[6^k], ToString[n] ] == {}, k++ ]; a = Append[a, k], {n, 0, 60} ]; a

PROG

(Python)

def A063569(n):

    m, k, s = 1, 6, str(n)

    while s not in str(k):

        m += 1

        k *= 6

    return m # Chai Wah Wu, Nov 14 2019

CROSSREFS

Essentially the same as A062523.

Sequence in context: A021842 A011112 A138064 * A037921 A327135 A019878

Adjacent sequences:  A063566 A063567 A063568 * A063570 A063571 A063572

KEYWORD

base,nonn

AUTHOR

Robert G. Wilson v, Aug 10 2001

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 September 18 06:40 EDT 2020. Contains 337166 sequences. (Running on oeis4.)