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!)
A031584 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 86. 0

%I #12 Aug 17 2021 23:48:27

%S 7398,7414,7438,7446,7454,7458,7478,7506,7534,7542,7554,7558,7586,

%T 7606,7634,7646,7654,7666,7682,7694,7698,7702,7718,7726,7734,7742,

%U 16644,16653,16671,16689,16743,16773,16782,16788,16809,16833,16869,16917,16941,16953

%N 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 86.

%t cf86Q[n_]:=Module[{s=Sqrt[n],cf,len},cf=If[IntegerQ[s],{1}, ContinuedFraction[ s][[2]]];len=Length[cf];EvenQ[len]&&cf[[len/2]] == 86]; Select[ Range[17000],cf86Q] (* _Harvey P. Dale_, Jan 15 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 November 30 12:38 EST 2023. Contains 367461 sequences. (Running on oeis4.)