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!)
A020360 Numbers k such that the continued fraction for sqrt(k) has period 21. 0
181, 277, 394, 397, 409, 433, 641, 809, 953, 1217, 1277, 1489, 1637, 1861, 2089, 2146, 2257, 2314, 2393, 2425, 2693, 2762, 2825, 3098, 3425, 3977, 3989, 4777, 5165, 5237, 5669, 5785, 6122, 6610, 7045, 7306, 7673, 7717, 7738, 7946, 8146, 8938, 9010, 9250 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
cf21Q[n_]:=Module[{s=Sqrt[n]}, If[IntegerQ[s], 1, Length[ ContinuedFraction[ s][[2]]]]==21]; Select[Range[10000], cf21Q] (* Harvey P. Dale, Sep 22 2019 *)
CROSSREFS
Sequence in context: A330366 A107694 A142312 * A238670 A168473 A142920
KEYWORD
nonn
AUTHOR
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 April 24 19:06 EDT 2024. Contains 371962 sequences. (Running on oeis4.)