login
A031650
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 62.
0
48449, 78481, 80170, 117085, 118457, 217381, 218314, 223009, 279073, 281189, 284378, 286514, 348461, 350825, 357965, 425545, 511754, 514618, 516053, 518929, 521813, 602801, 605909, 607466, 612149, 618421, 619994, 709693, 719833, 723229
OFFSET
1,1
MATHEMATICA
cf62Q[n_]:=Module[{s=Sqrt[n], cf, len}, cf=If[IntegerQ[s], {1, 1}, ContinuedFraction[ s][[2]]]; len=Length[cf]; OddQ[len]&&cf[[(len+1)/2]] == 62]; Select[Range[724000], cf62Q] (* Harvey P. Dale, Jun 21 2020 *)
CROSSREFS
Sequence in context: A151839 A151876 A083627 * A223935 A278020 A237105
KEYWORD
nonn
EXTENSIONS
First term 3845 removed by Georg Fischer, Jun 16 2019
STATUS
approved