OFFSET
1,1
EXAMPLE
sqrt(19) = [4;2,1,3,1,2,8,...], for which a1 = 2 > 1 = a2.
MATHEMATICA
Select[Range@300, Quiet[#[[1]]>#[[2]]&[Last@ContinuedFraction[Sqrt@#]]]&] (* Giorgos Kalogeropoulos, Jul 04 2021 *)
PROG
(PARI) for(k=2, 300, my(c=contfrac(sqrt(k))); if(#c>=3&&c[2]>c[3], print1(k, ", "))) \\ Hugo Pfoertner, Jul 04 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 10 2004
STATUS
approved