

A195269


Smallest n such that 3^n contains n consecutive 0's in its decimal representation.


12



10, 35, 148, 332, 540, 540, 7722, 22793, 107189, 107189, 513335, 1847534, 5756981, 32023025, 82011444
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

No more terms < 10^8.  Bert Dobbelaere, Mar 20 2019


LINKS

Table of n, a(n) for n=1..15.
Programming contest in Zealint's blog (in Russian)


PROG

(Python)
def A195269(n):
....m, s = 1, '0'*n
....for i in range(1, 10**9):
........m *= 3
........if s in str(m):
............return i
....return "search limit reached." # Chai Wah Wu, Dec 11 2014


CROSSREFS

Cf. A131552, A131551, A131550, A131549, A131548, A131547, A131546, A131545, A131544.
Sequence in context: A048507 A240267 A221907 * A070755 A126995 A271732
Adjacent sequences: A195266 A195267 A195268 * A195270 A195271 A195272


KEYWORD

nonn,base,more


AUTHOR

Max Alekseyev, Sep 14 2011


EXTENSIONS

a(15) from Bert Dobbelaere, Mar 20 2019


STATUS

approved



