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!)
A031510 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 12. 1
146, 158, 162, 166, 178, 194, 327, 366, 372, 381, 393, 417, 429, 438, 580, 596, 604, 628, 636, 652, 668, 684, 692, 700, 716, 724, 740, 748, 764, 772, 780, 905, 945, 955, 995, 1005, 1030, 1055, 1070, 1195, 1205, 1220, 1302, 1338, 1434, 1578, 1614, 1626, 1758 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
epct12Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; EvenQ[len]&&cf[[len/2]] == 12]; Select[Range[2000], epct12Q] (* Harvey P. Dale, Jan 04 2015 *)
CROSSREFS
Sequence in context: A166071 A124969 A294594 * A145915 A248406 A135666
KEYWORD
nonn
AUTHOR
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 September 2 05:36 EDT 2024. Contains 375604 sequences. (Running on oeis4.)