OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
MATHEMATICA
Join[{2, 3}, Table[Fibonacci[n+2] - Floor[n-2 + Log[GoldenRatio, Sqrt[5]*(Log[GoldenRatio, Sqrt[5]*(n-2)] + n-2) -5 +3/(n-2)] -2], {n, 4, 50}]] (* G. C. Greubel, Jun 18 2019 *)
PROG
(PARI) lgg(x)=log(x)/log((sqrt(5)+1)/2);
c(n)=floor(n+lgg(sqrt(5)*(lgg(sqrt(5)*n)+n)-5+3/n)-2);
for(n=2, 50, print1(if(n==2, 2, if(n==3, 3, fibonacci(n+2) - c(n-2))), ", ")) \\ G. C. Greubel, Jun 18 2019
(Magma) phi:= (1+Sqrt(5))/2; [2, 3] cat [Fibonacci(n+2) -Floor(n-2 + Log(phi, Sqrt(5)*(Log(phi, Sqrt(5)*(n-2)) + n-2) - 5 + 3/(n-2)) - 2): n in [4..50]]; // G. C. Greubel, Jun 18 2019
(Sage) [2, 3]+[fibonacci(n+2) -floor(n-2+ log( sqrt(5)*(log(sqrt(5)*(n-2), golden_ratio) +n-2) -5 +3/(n-2), golden_ratio) -2 ) for n in (4..50)] # G. C. Greubel, Jun 18 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms a(33) onward added by G. C. Greubel, Jun 18 2019
STATUS
approved