OFFSET
1,1
COMMENTS
The smallest terms corresponding to 2, 3, and 4 triangles are a(32) = 1716, a(1325) = 81510, and a(5027) = 317460, respectively. - Giovanni Resta, May 11 2020
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000
Wikipedia, Integer Triangle
EXAMPLE
a(1) = 12; There is one Pythagorean triangle, [3,4,5], with perimeter 12 whose area 3*4/2 = 6 (squarefree).
MATHEMATICA
Reap[ Do[s = Solve[ x^2 + y^2 == (p-x-y)^2 && 0<x<y && p-x-y > 0, {x, y}, Integers]; If[s != {} && AnyTrue[x y/2 /. s, SquareFreeQ], Print@ Sow@ p], {p, 12, 1000, 2}]][[2, 1]] (* Giovanni Resta, May 11 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 10 2020
EXTENSIONS
Terms a(39) and beyond from Giovanni Resta, May 11 2020
STATUS
approved