OFFSET
1,1
COMMENTS
Composite terms begin a(33) = 529, a(53) = 851, a(77) = 1357, .... - Charles R Greathouse IV, Mar 11 2014
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
23 is in sequence because continued fractions for 1/23, 2/23, ..., 22/23 each contain a term >= 3.
MATHEMATICA
q[n_] := AllTrue[Range[1, n - 1], Max[ContinuedFraction[#/n]] > 2 &]; Select[Range[2, 1000], q] (* Amiram Eldar, Jun 25 2022 *)
PROG
(PARI) drop(v)=v[2..#v]
is(n)=for(k=1, n-1, if(vecmax(drop(contfrac(k/n)))<3, return(0))); n>1 \\ Charles R Greathouse IV, Mar 11 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
David W. Wilson, Jun 16 2000
STATUS
approved