OFFSET
1,1
COMMENTS
Conjecture. lim a(n+1)/a(n)=phi as n goes to infinity (phi=golden ratio).
LINKS
Peter J. C. Moses, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = g(A216275(n+2)).
MATHEMATICA
a[1] = 5; a[2] = 7; g[n_] := Module[{tmp, k=1}, While[!PrimeQ[n-(tmp=NextPrime[n, -k])], k++]; tmp]; a[n_] := a[n] = g[a[n-1] + a[n-2]]; Table[a[n], {n, 1, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Mar 16 2013
STATUS
approved