login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A020381 Numbers k such that the continued fraction for sqrt(k) has period 42. 0
571, 724, 889, 907, 1081, 1348, 1477, 1576, 1619, 1633, 1636, 1732, 1786, 1841, 2073, 2167, 2253, 2276, 2339, 2344, 2433, 2493, 2518, 2611, 2819, 2821, 2896, 2901, 2939, 3039, 3070, 3142, 3154, 3203, 3284, 3430, 3439, 3467, 3513, 3523, 3546, 3556, 3573 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..43.

MATHEMATICA

cf42Q[n_]:=Module[{s=Sqrt[n]}, If[IntegerQ[s], 1, Length[ ContinuedFraction[ s][[2]]]]==42]; Select[Range[4000], cf42Q] (* Harvey P. Dale, Sep 24 2019 *)

CROSSREFS

Sequence in context: A268248 A246229 A073036 * A142767 A251384 A076465

Adjacent sequences:  A020378 A020379 A020380 * A020382 A020383 A020384

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 7 12:17 EST 2021. Contains 349581 sequences. (Running on oeis4.)