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!)
A031685 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 97. 0
59561, 191050, 193681, 530209, 537514, 680914, 685873, 692513, 857837, 865261, 1248218, 1250453, 1259413, 1471994, 1474421, 1479281, 1481714, 1484149, 1486586, 1491466, 1496354, 1498801, 1722073, 1737853, 1748413, 1988941, 1994585 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
cfop97Q[n_]:=Module[{s=Sqrt[n], cf, len}, If[IntegerQ[s], cf={1, 1}, cf = ContinuedFraction[s][[2]]]; len=Length[cf]; OddQ[len]&&cf[[ (len+1)/2]] ==97]; Select[Range[2*10^6], cfop97Q] (* Harvey P. Dale, Dec 16 2014 *)
CROSSREFS
Sequence in context: A224972 A104919 A135325 * A238077 A344358 A344359
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by Harvey P. Dale, Dec 16 2014
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 April 23 13:41 EDT 2024. Contains 371914 sequences. (Running on oeis4.)