OFFSET
1,1
COMMENTS
Corresponding Fibonacci numbers are given by A084910.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
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, m - 1]; s -= (1/Fibonacci[m]); While[Fibonacci[m] <= 1/s, m++], {60}]; 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(b-1, ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jun 10 2003
STATUS
approved