The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A031522 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 24. 0
 578, 594, 614, 622, 642, 662, 674, 1299, 1317, 1329, 1374, 1389, 1401, 1407, 1437, 1461, 1473, 1497, 1509, 1518, 2308, 2348, 2364, 2372, 2380, 2396, 2404, 2412, 2428, 2444, 2452, 2460, 2468, 2476, 2492, 2508, 2516, 2524, 2540, 2564, 2572, 2588, 2612 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Table of n, a(n) for n=1..43. MATHEMATICA cf24Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1}, ContinuedFraction[ s] [[2]]]; len=Length[cf]; EvenQ[len]&&cf[[len/2]]==24]; Select[Range[2700], cf24Q] (* Harvey P. Dale, Feb 09 2023 *) CROSSREFS Sequence in context: A097770 A252377 A252376 * A234500 A252384 A252385 Adjacent sequences: A031519 A031520 A031521 * A031523 A031524 A031525 KEYWORD nonn AUTHOR David W. Wilson 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.

Last modified September 29 19:17 EDT 2023. Contains 365776 sequences. (Running on oeis4.)