OFFSET
1,1
REFERENCES
Kenneth H. Rosen, Elementary Number Theory and Its Applications, Addison-Wesley, 1984, page 426 (but beware of errors!).
LINKS
Robert Israel, Table of n, a(n) for n = 1..8300
MAPLE
filter:= n -> not issqr(n) and numboccur(1, numtheory:-cfrac(sqrt(n), periodic, quotients)[2])=2:
select(filter, [$1..500]); # Robert Israel, Nov 01 2018
MATHEMATICA
Select[ Range@ 1900, !IntegerQ[ Sqrt@ #] && Count[ ContinuedFraction[ Sqrt@ #][[2]], 1] == 2 &] (* Robert G. Wilson v, Jul 03 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved