OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
MATHEMATICA
b:= Complement[Range[1, 200], Fibonacci[Range[20]]]; Table[Fibonacci[n+1] - b[[n]], {n, 1, 50}] (* G. C. Greubel, Jun 22 2019 *)
PROG
(PARI) /* Functions lgg() and a001690(n) after Joerg Arndt in A001690 */
lgg(x) = log(x)/log((sqrt(5)+1)/2)
a001690(n) = n++; floor(n+lgg(sqrt(5)*(lgg(sqrt(5)*n)+n)-5+3/n)-2)
a(n) = fibonacci(n+1)-a001690(n) \\ Felix Fröhlich, Jun 22 2019
CROSSREFS
KEYWORD
sign
AUTHOR
STATUS
approved