This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A217166 a(n) is the least value of k such that the decimal expansion of Lucas(k) contains n consecutive identical digits. 3
 0, 5, 36, 78, 112, 538, 3139, 6436, 17544, 82864, 328448 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS a(12) > 1512000. - Chai Wah Wu, Dec 17 2014 LINKS MATHEMATICA k = 0; Join[{0}, Table[While[d = IntegerDigits[LucasL[k]]; ! MemberQ[Partition[Differences[d], n - 1, 1], Table[0, {n - 1}]], k++]; k, {n, 2, 8}]] (* T. D. Noe, Oct 02 2012 *) PROG (Python) def A217166(n): ....if n == 1: ........return 0 ....else: ........l, y, x = [str(d)*n for d in range(10)], 2, 1 ........for m in range(1, 10**9): ............s = str(x) ............for k in l: ................if k in s: ....................return m ............y, x = x, y+x ........return 'search limit reached' # Chai Wah Wu, Dec 17 2014 CROSSREFS Cf. A000032, A045875, A215727, A215728, A215729, A215730, A215731. Sequence in context: A073456 A275223 A003350 * A275143 A276249 A027765 Adjacent sequences:  A217163 A217164 A217165 * A217167 A217168 A217169 KEYWORD nonn,base,hard AUTHOR V. Raman, Sep 27 2012 EXTENSIONS a(11) from Chai Wah Wu, Dec 17 2014 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.

Last modified May 21 11:12 EDT 2019. Contains 323443 sequences. (Running on oeis4.)