OFFSET
1,2
COMMENTS
a(n)=1 for n in A001653. - Robert Israel, Jul 10 2018
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
f:= n -> nops(numtheory:-cfrac(sqrt(2)*n, 'periodic', 'quotients')[2]):
map(f, [$1..1000]); # Robert Israel, Jul 10 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
R. K. Guy, Oct 26, 2001
STATUS
approved