login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A020366
Numbers k such that the continued fraction for sqrt(k) has period 27.
0
949, 1109, 1261, 1354, 1361, 1402, 1721, 1889, 1921, 2221, 2561, 2957, 3229, 3821, 4021, 4373, 4481, 4973, 4985, 5473, 5545, 5729, 5765, 5825, 6065, 6322, 6458, 6617, 6730, 6869, 6925, 6938, 7109, 7913, 7985, 8077, 9034, 9146, 9178, 9509, 10061, 10930
OFFSET
1,1
MATHEMATICA
cf27Q[n_]:=Module[{s=Sqrt[n]}, If[IntegerQ[s], 1, Length[ ContinuedFraction[ s][[2]]]] == 27]; Select[Range[11000], cf27Q] (* Harvey P. Dale, Jan 21 2019 *)
CROSSREFS
Sequence in context: A192770 A187627 A170830 * A217936 A013532 A108896
KEYWORD
nonn
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 07:30 EDT 2024. Contains 376097 sequences. (Running on oeis4.)