The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055114 Numbers k such that the continued fraction for m/k contains a term >= 3 for every 1 <= m < k. 3
23, 37, 53, 59, 61, 83, 103, 107, 113, 127, 137, 139, 149, 151, 197, 211, 223, 227, 229, 331, 347, 349, 353, 359, 383, 421, 439, 461, 479, 491, 509, 523, 529, 541, 557, 563, 569, 607, 631, 739, 751, 757, 761, 769, 797, 809, 811, 821, 823, 827, 829, 839, 851 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Composite terms begin a(33) = 529, a(53) = 851, a(77) = 1357, .... - Charles R Greathouse IV, Mar 11 2014
LINKS
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
Cf. A082409.
Sequence in context: A209617 A179780 A153740 * A329262 A268343 A063643
KEYWORD
nonn
AUTHOR
David W. Wilson, Jun 16 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 15 22:47 EDT 2024. Contains 372549 sequences. (Running on oeis4.)