login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A217175 a(n) is the first digit (from the left) to appear n times in succession in the decimal representation of the Fibonacci(A217165(n)). 2
0, 5, 7, 7, 1, 5, 7, 7, 3, 2, 4, 3, 4, 2, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
k = 0; Join[{0}, Table[While[d = IntegerDigits[Fibonacci[k]]; prt = Partition[Differences[d], n - 1, 1]; ! MemberQ[prt, Table[0, {n - 1}]], k++]; d[[Position[prt, Table[0, {n - 1}]][[1, 1]]]], {n, 2, 8}]] (* T. D. Noe, Oct 03 2012 *)
PROG
(Python)
def A217175(n):
....if n == 1:
........return 0
....else:
........l, y, x = [str(d)*n for d in range(10)], 0, 1
........for m in range(1, 10**9):
............s = str(x)
............for k in range(10):
................if l[k] in s:
....................return k
............y, x = x, y+x
........return 'search limit reached'
# Chai Wah Wu, Dec 17 2014
CROSSREFS
Cf. A217165.
Sequence in context: A227452 A138306 A197257 * A338558 A173930 A154802
KEYWORD
nonn,base,hard
AUTHOR
V. Raman, Sep 27 2012
EXTENSIONS
a(10)-a(11) from Chai Wah Wu, Dec 17 2014
a(12)-a(15) from Nick Hobson, Feb 14 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 01:40 EDT 2024. Contains 371696 sequences. (Running on oeis4.)