OFFSET
0,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..16384
EXAMPLE
The 10th Fibonacci number is 55. Among terms (a(0), a(1),..., a(9)) there are 3 terms (a(0)=1, a(1)=1, a(9)=5) that divide 55, so a(10) = 3.
MAPLE
A130156 := proc(nmax) local a, nfib, anew, i, n; a := [1] ; while nops(a) < nmax do n := nops(a) ; nfib := combinat[fibonacci](n) ; anew :=0 ; for i from 1 to nops(a) do if nfib mod op(i, a) = 0 then anew := anew+1 ; fi ; od ; a := [op(a), anew] ; od ; RETURN(a) ; end: A130156(100) ; # R. J. Mathar, Jun 07 2007
PROG
(PARI)
up_to = 16384;
A130156list(upto_n) = { my(v=vector(1+upto_n), fibo); v[1] = 1; for(n=2, #v, fibo = fibonacci(n-1); v[n] = sum(i=1, n-1, !(fibo%v[i]))); (v); };
v130156 = A130156list(up_to);
A130156(n) = v130156[1+n]; \\ Antti Karttunen, Feb 18 2023
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Leroy Quet, May 13 2007
EXTENSIONS
More terms from R. J. Mathar, Jun 07 2007
STATUS
approved