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

%I #12 Jul 10 2021 19:35:54

%S 181,277,394,397,409,433,641,809,953,1217,1277,1489,1637,1861,2089,

%T 2146,2257,2314,2393,2425,2693,2762,2825,3098,3425,3977,3989,4777,

%U 5165,5237,5669,5785,6122,6610,7045,7306,7673,7717,7738,7946,8146,8938,9010,9250

%N Numbers k such that the continued fraction for sqrt(k) has period 21.

%t 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 *)

%K nonn

%O 1,1

%A _David W. Wilson_

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 16 10:29 EDT 2024. Contains 371709 sequences. (Running on oeis4.)