OFFSET
2,10
EXAMPLE
s(11)=144 = A000045(12); the numbers s(j) for j<11 are 143,142,141,139,136,131,110,89,55,
of which three are multiples of 3, so that a(11)=3.
MATHEMATICA
s[k_] := Fibonacci[k + 1];
f[n_, k_] := If[Mod[s[n] - s[k], n] == 0, 1, 0];
t[n_] := Flatten[Table[f[n, k], {k, 1, n - 1}]]
a[n_] := Count[Flatten[t[n]], 1]
Table[a[n], {n, 2, 120}] (* A206713 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Feb 11 2012
STATUS
approved