OFFSET
0,1
COMMENTS
The n-th position is counted from the right. - Harvey P. Dale, Jul 22 2024
LINKS
Robert Israel, Table of n, a(n) for n = 0..995
Eric Weisstein's World of Mathematics, Fibonacci Number
EXAMPLE
MAPLE
N:= 100: # for a(0)..a(N)
F[0]:= 0: F[1]:= 1:
W:= Array(0..N):
count:= 0:
for m from 2 while count < N do
F[m]:= F[m-1]+F[m-2];
L:= convert(F[m], base, 10);
M:= select(t -> L[t+1]=7 and W[t]=0, [$0..min(N, nops(L)-1)]);
count:= count + nops(M);
W[M]:= F[m]
od:
convert(W, list); # Robert Israel, Jun 01 2020
MATHEMATICA
With[{fibs=Fibonacci[Range[150]]}, Table[SelectFirst[fibs, NumberDigit[#, n-1]==7&], {n, 20}]] (* Harvey P. Dale, Jul 22 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Apr 18 2005
EXTENSIONS
Definition corrected by Robert Israel, Jun 01 2020
STATUS
approved