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.

A215729 a(n) is the smallest m for which 6^m contains (at least) n consecutive identical digits.

This page as a plain text file.
%I A215729 #39 Jul 12 2024 14:23:57
%S A215729 0,5,5,115,226,371,1503,8533,27717,27717,69936,848255,1308931,8255246,
%T A215729 32564822,39063403
%N A215729 a(n) is the smallest m for which 6^m contains (at least) n consecutive identical digits.
%C A215729 a(12) > 838000. - _Chai Wah Wu_, Dec 17 2014
%C A215729 a(14) > 7*10^6. - _Giovanni Resta_, Apr 20 2016
%o A215729 (Python)
%o A215729 def A215729(n):
%o A215729     l, x = [str(d)*n for d in range(10)], 1
%o A215729     for m in range(10**9):
%o A215729         s = str(x)
%o A215729         for k in l:
%o A215729             if k in s:
%o A215729                 return m
%o A215729         x *= 6
%o A215729     return 'search limit reached'
%o A215729 # _Chai Wah Wu_, Dec 17 2014
%Y A215729 Cf. A215735, A045875.
%K A215729 nonn,base,more,hard
%O A215729 1,2
%A A215729 _V. Raman_, Aug 22 2012
%E A215729 a(11) from _Rick van der Hoorn_, Mar 26 2013
%E A215729 a(12)-a(13) from _Giovanni Resta_, Apr 19 2016
%E A215729 a(14) from _Bert Dobbelaere_, Feb 15 2019
%E A215729 a(15) from _Paul Geneau de Lamarlière_, May 26 2024
%E A215729 a(16) from _Paul Geneau de Lamarlière_, Jul 12 2024