cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A195269 #19 May 22 2025 10:21:35
%S A195269 10,35,148,332,540,540,7722,22793,107189,107189,513335,1847534,
%T A195269 5756981,32023025,82011444
%N A195269 Smallest n such that 3^n contains n consecutive 0's in its decimal representation.
%C A195269 No more terms < 10^8. - _Bert Dobbelaere_, Mar 20 2019
%H A195269 <a href="http://zealint.ru/three-dimer-and-statistics-comp.html">Programming contest in Zealint's blog</a> (in Russian)
%o A195269 (Python)
%o A195269 def A195269(n):
%o A195269     m, s = 1, '0'*n
%o A195269     for i in range(1,10**9):
%o A195269         m *= 3
%o A195269         if s in str(m):
%o A195269             return i
%o A195269     return "search limit reached." # _Chai Wah Wu_, Dec 11 2014
%Y A195269 Cf. A131552, A131551, A131550, A131549, A131548,  A131547,  A131546, A131545,  A131544.
%K A195269 nonn,base,more
%O A195269 1,1
%A A195269 _Max Alekseyev_, Sep 14 2011
%E A195269 a(15) from _Bert Dobbelaere_, Mar 20 2019