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!)
A117045 Integers k (not perfect squares) such that the continued fraction expansion of the square root of k has period at most 2. 0
2, 3, 5, 6, 8, 10, 11, 15, 17, 18, 20, 24, 26, 27, 30, 35, 37, 38, 39, 40, 42, 48, 50, 51, 56, 63, 65, 66, 68, 72, 80, 82, 83, 84, 87, 90 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
In a recent paper, Justin Thomas, Julian Rosen, and I show that this is equivalent to the following criterion: let d be the integer part of the square root. Then sqrt(k) has period at most 2 if and only if 2d/(k - d^2) is an integer.
REFERENCES
Justin Thomas, Krishnan Shankar, Julian Rosen, "Continued Fractions, Square Roots and the orbit of 1/0 on the boundary of the hyperbolic plane", preprint.
LINKS
EXAMPLE
The first term is 2 because sqrt(2) is irrational and for k=2, d=1, 2d/(k - d^2) = 1 is an integer.
CROSSREFS
Sequence in context: A179180 A085921 A005243 * A324793 A244053 A275833
KEYWORD
nonn
AUTHOR
Krishnan Shankar (shankar(AT)math.ou.edu), Apr 17 2006
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 21 00:01 EDT 2024. Contains 372720 sequences. (Running on oeis4.)