OFFSET
1,1
COMMENTS
Previous name was : This is the perimeter (n) of square triangles with integer sides and that have only a single solution.
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 5000 terms from Hugo Pfoertner)
Project Euler, Problem 75: Singular integer right triangles.
FORMULA
n = a + b + c; c^2=a^2+b^2; a, b, c (sides) and n (perimeter) are integers; for a given "n" there is only a single triple of a, b and c.
PROG
(PARI) forstep(p=12, 444, 2, d=0; for(k=1, p-3, for(j=k+1, p-k-1, if(j*j+k*k==(p-j-k)^2, d++))); if(d==1, print1(p, ", "))) \\ Hugo Pfoertner, Mar 29 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Marcus Rezende (marcus(AT)anp.gov.br), Sep 29 2004
EXTENSIONS
More terms from Hugo Pfoertner and Ray Chandler, Oct 27 2004
New name from Hugo Pfoertner, Mar 29 2018
STATUS
approved