OFFSET
1,2
COMMENTS
Except for 2, all Fibonacci numbers are in the sequence.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..250
MATHEMATICA
q[n_] := Count[len = Length[ContinuedFraction[n/#]] & /@ Range[n], Max[len]] == 1; Select[Range[1000], q] (* Amiram Eldar, Jun 14 2022 *)
PROG
(PARI) for(n=1, 330, if(sum(s=1, n, if(length(contfrac(n/s))-vecmax(vector(n, i, length(contfrac(n/i)))), 0, 1))==1, print1(n, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jan 01 2004
EXTENSIONS
More terms from Jinyuan Wang, Apr 06 2020
STATUS
approved