login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A031790 Period of continued fraction for sqrt(n) contains exactly 22 ones. 0
991, 1021, 1303, 1324, 1357, 1453, 1543, 1569, 1597, 1619, 1689, 1789, 1804, 1822, 1948, 1993, 2053, 2104, 2174, 2203, 2253, 2361, 2381, 2413, 2458, 2503, 2654, 2657, 2729, 2761, 2794, 2803, 2861, 2887, 2893, 2899, 2973, 2979, 2983, 2998, 3085, 3091 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

cf22Q[n_]:=Module[{s=Sqrt[n]}, If[IntegerQ[s], 1, Count[ContinuedFraction[s][[2]], 1]]==22]; Select[Range[3500], cf22Q] (* Harvey P. Dale, Feb 18 2015 *)

CROSSREFS

Sequence in context: A119057 A218401 A053393 * A137703 A255098 A155509

Adjacent sequences:  A031787 A031788 A031789 * A031791 A031792 A031793

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

License Agreements, Terms of Use, Privacy Policy .

Last modified December 5 07:11 EST 2016. Contains 278761 sequences.