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!)
A031608 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 20. 0
2729, 5233, 8362, 8917, 24874, 29873, 31973, 37997, 38777, 46237, 54818, 56698, 57173, 58129, 64129, 64634, 65141, 66161, 66674, 67189, 67706, 68746, 74713, 87277, 88457, 89645, 90841, 100186, 101450, 104002, 104645, 115333, 116689, 126541 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
cf20Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1, 1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; OddQ[len]&&cf[[Floor[len/2]]] == cf[[Ceiling[len/2]]] ==20]; Select[ Range[ 130000], cf20Q] (* Harvey P. Dale, Sep 18 2021 *)
CROSSREFS
Subsequence of A003814.
Sequence in context: A290644 A231289 A212725 * A350047 A043579 A166780
KEYWORD
nonn
AUTHOR
EXTENSIONS
First term 401 removed by Georg Fischer, Jun 16 2019
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 March 28 10:31 EDT 2024. Contains 371240 sequences. (Running on oeis4.)