OFFSET
1,2
EXAMPLE
The 12th Fibonacci number is 144. So a(12) is the smallest positive integer greater than a(11) (a(11)=13) which is coprime to 144. So a(12) = 17.
MATHEMATICA
a={1}; For[n=2, n<90, n++, k=a[[ -1]]+1; While[ !GCD[Fibonacci[n], k]==1, k++ ]; AppendTo[a, k]]; a (* Stefan Steinerberger, Jun 16 2007 *)
cpf[n_, a_]:=Module[{f=Fibonacci[n+1], k=a+1}, While[!CoprimeQ[f, k], k++]; k]; nxt[{n_, a_}] := {n + 1, cpf[n, a]}; Transpose[NestList[nxt, {1, 1}, 70]][[2]] (* Harvey P. Dale, Feb 06 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 14 2007
EXTENSIONS
More terms from Stefan Steinerberger, Jun 16 2007
STATUS
approved