OFFSET
1,1
COMMENTS
MATHEMATICA
f[s_] := f[s] = Append[s, Mod[s[[ -2]] + s[[ -1]], Length[s]]]; k = 435; t = Nest[f, {1, 1}, k]; s = {}; Do[ AppendTo[s, If[t[[n]] + t[[n + 1]] < n + 1, 0, 1]], {n, k}]; Length /@ Select[Split@s, Union@# == {0} &] (* Robert G. Wilson v Sep 02 2006 *)
PROG
(PARI) {m=1000; a=1; b=1; c=0; for(n=2, m, d=divrem(a+b, n); if(d[1]==0, c++, if(c>0, print1(c, ", "); c=0)); a=b; b=d[2])}
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Aug 29 2006
STATUS
approved