OFFSET
1,2
COMMENTS
LINKS
Eric Weisstein's World of Mathematics, Pythagorean Triple
FORMULA
a(n) = A101930(n) - n. - Robert G. Wilson v, Mar 20 2014
PROG
(PARI) a(n)=my(t, lim=10^n-1); for(m=2, sqrtint(lim-1), forstep(n=1+m%2, min(sqrtint(lim-m^2), m-1), 2, if(gcd(m, n)==1, t+=lim\(m^2+n^2)))); t \\ Charles R Greathouse IV, Sep 15 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Dec 21 2004
EXTENSIONS
More terms from Jan Feitsma and Bart Dopheide (dopheide(AT)fmf.nl), Mar 10 2005
a(10)-a(11) from Charles R Greathouse IV, Sep 15 2012
a(12)-a(17) from Hiroaki Yamanouchi, Jul 14 2014
a(18) from Matan M. Atzmoni, Feb 04 2023
STATUS
approved