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!)
A031635 Numbers k such that the continued fraction for sqrt(k) has odd period and if the last term of the periodic part is deleted the two central terms are both 47. 0

%I #14 Aug 18 2021 00:10:32

%S 45877,95033,96269,126961,128389,129106,160289,162698,201065,204665,

%T 206477,250441,294293,300833,303029,346369,347546,349906,351089,

%U 355841,357034,358229,359426,468697,474185,535322,536785,538250,541186,544130

%N Numbers k such that the continued fraction for sqrt(k) has odd period and if the last term of the periodic part is deleted the two central terms are both 47.

%t opct47Q[n_]:=Module[{sqrt=Sqrt[n],cf,len},cf=If[IntegerQ[sqrt],{}, ContinuedFraction[sqrt][[2]]]; len=Length[cf]; OddQ[len] && cf[[Floor[len/2]+1]] == 47] (* _Harvey P. Dale_, Sep 19 2012 *)

%K nonn

%O 1,1

%A _David W. Wilson_

%E Corrected by _Harvey P. Dale_, Sep 19 2012

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 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)