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!)
A031612 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 24. 0
145, 7274, 11962, 18077, 18617, 26413, 32986, 33349, 34081, 35194, 42314, 44389, 45233, 54185, 55117, 65977, 68041, 69085, 77258, 77813, 78929, 81754, 91226, 91829, 94261, 94874, 95489, 123341, 140837, 141586, 143090, 145361, 146122, 147650 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
cf24Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1, 1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; OddQ[len] && cf[[(len+1)/2]] == 24]; Select[Range[150000], cf24Q] (* Harvey P. Dale, Mar 17 2016 *)
CROSSREFS
Sequence in context: A018232 A192842 A012813 * A226849 A097730 A283520
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms and definition corrected by Harvey P. Dale, Mar 17 2016
STATUS
approved

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 March 28 08:22 EDT 2024. Contains 371236 sequences. (Running on oeis4.)