OFFSET
1,1
COMMENTS
The "central term" is the term that appears at 1/2 the length of the period of the continued fraction. - Harvey P. Dale, Feb 25 2012
MATHEMATICA
cf2Q[n_]:=Module[{cf=ContinuedFraction[Sqrt[n]], len}, If[Length[cf]==1, len=1, len=Length[cf[[2]]]]; EvenQ[len]&&cf[[2, len/2]]==23]; Select[ Range[10000], cf2Q](* Harvey P. Dale, Feb 26 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition edited by Harvey P. Dale, Jun 08 2023
STATUS
approved