|
|
A031665
|
|
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 77.
|
|
0
|
|
|
72949, 120490, 121882, 122581, 179897, 252173, 337786, 340114, 341281, 433253, 435889, 438533, 663037, 792629, 796193, 797978, 801554, 927994, 933781, 935714, 943466, 945409, 947354, 949301, 1086493, 1107433, 1250765, 1255241
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
cf77Q[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]] == 77]; Select[Range[1255300], cf77Q] (* Harvey P. Dale, Mar 30 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|