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!)
A031530 Numbers k such that the continued fraction for sqrt(k) has even period and if the last term of the periodic part is deleted the central term is 32. 0
1026, 1046, 1054, 1058, 1062, 1074, 1094, 1126, 1142, 1154, 2307, 2361, 2382, 2388, 2409, 2433, 2451, 2469, 2481, 2487, 2517, 2526, 2532, 2553, 2559, 2577, 2589, 2598, 4100, 4124, 4132, 4140, 4148, 4156, 4196, 4204, 4236, 4244, 4252, 4268, 4276, 4292 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
cf32Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; EvenQ[len]&&cf[[len/2]]==32]; Select[Range[5000], cf32Q] (* Harvey P. Dale, Sep 11 2022 *)
CROSSREFS
Sequence in context: A103716 A291508 A371982 * A004607 A361811 A221008
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition edited by Harvey P. Dale, Sep 11 2022
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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)