OFFSET
1,1
COMMENTS
Corresponding Fibonacci indices are given by A084909.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1323
FORMULA
EXAMPLE
(sqrt(5)-1)/2 = 1/F(2) + 1/F(6) + 1/F(8) + 1/F(10) + 1/F(17) + 1/F(21) + ... = 1/2 + 1/13 + 1/34 + 1/89 + 1/2584 + 1/17711 + 1/75025 +...
MATHEMATICA
seq = {}; s = GoldenRatio - 1; m = 3; Do[AppendTo[seq, Fibonacci[m]]; s -= (1/Fibonacci[m]); While[Fibonacci[m] <= 1/s, m++], {21}]; seq (* Amiram Eldar, Nov 01 2019 *)
PROG
(PARI) x=(sqrt(5)-1)/2; a=2; S=0; for(n=1, 100, b=a+1; while(abs(S+1/fibonacci(b))>x, b++); S=S+1/fibonacci(b); a=b; print1(fibonacci(b), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 10 2003
STATUS
approved