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!)
A031570 Numbers k such that the continued fraction for sqrt(k) has even period and if the last term of the periodic part is deleted the central term is 72. 0

%I #16 Mar 24 2022 13:36:37

%S 5186,5198,5218,5282,5286,5294,5298,5302,5314,5318,5326,5342,5346,

%T 5366,5374,5378,5398,5414,5422,5438,5442,5462,5474,11667,11721,11733,

%U 11757,11769,11793,11811,11814,11829,11841,11892,11901,11964,11973,11991,12009

%N Numbers k such that the continued fraction for sqrt(k) has even period and if the last term of the periodic part is deleted the central term is 72.

%t cf72Q[n_]:=Module[{s=Sqrt[n],cf,len},cf=If[IntegerQ[s],{1},ContinuedFraction[ s][[2]]];len=Length[cf];EvenQ[len]&&cf[[len/2]] == 72]; Select[Range[12100],cf72Q] (* _Harvey P. Dale_, Mar 24 2022 *)

%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 August 27 12:59 EDT 2024. Contains 375469 sequences. (Running on oeis4.)