Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #17 Mar 20 2019 17:01:08
%S 10,35,148,332,540,540,7722,22793,107189,107189,513335,1847534,
%T 5756981,32023025,82011444
%N Smallest n such that 3^n contains n consecutive 0's in its decimal representation.
%C No more terms < 10^8. - _Bert Dobbelaere_, Mar 20 2019
%H <a href="http://zealint.ru/three-dimer-and-statistics-comp.html">Programming contest in Zealint's blog</a> (in Russian)
%o (Python)
%o def A195269(n):
%o ....m, s = 1, '0'*n
%o ....for i in range(1,10**9):
%o ........m *= 3
%o ........if s in str(m):
%o ............return i
%o ....return "search limit reached." # _Chai Wah Wu_, Dec 11 2014
%Y Cf. A131552, A131551, A131550, A131549, A131548, A131547, A131546, A131545, A131544.
%K nonn,base,more
%O 1,1
%A _Max Alekseyev_, Sep 14 2011
%E a(15) from _Bert Dobbelaere_, Mar 20 2019