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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031602 Numbers n such that continued fraction for sqrt(n) has odd period and central term 14. 0
50, 1321, 2549, 2753, 4177, 4570, 6521, 6845, 12106, 15173, 15418, 19961, 23545, 26773, 27754, 28418, 28753, 29429, 31601, 31954, 32309, 32666, 33386, 33749, 34114, 34481, 35221, 36829, 40729, 41645, 42457, 45785, 46637, 47497, 48485, 51137, 53402 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

cfo14Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {}, ContinuedFraction[ s][[2]]]; len=Length[cf]; OddQ[len] && cf[[(len+1)/2]] == 14]; Select[Range[54000], cfo14Q] (* Harvey P. Dale, Dec 10 2013 *)

CROSSREFS

Sequence in context: A162492 A017713 A283311 * A231743 A140520 A114251

Adjacent sequences:  A031599 A031600 A031601 * A031603 A031604 A031605

KEYWORD

nonn

AUTHOR

David W. Wilson

EXTENSIONS

Corrected and definition clarified by Harvey P. Dale, Dec 10 2013

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 April 10 00:05 EDT 2020. Contains 333392 sequences. (Running on oeis4.)