OFFSET
1,1
COMMENTS
The study of these integer triangles that have two perpendicular medians was proposed in the problem of Concours Général in 2007 in France (see link).
If medians drawn from A and B are perpendicular in centroid G, then a^2 + b^2 = 5 * c^2 (see Maths Challenge picture in link).
All terms are even because each triple is composed of one even side and two odd sides.
For the corresponding primitive triples and miscellaneous properties, see A335034.
LINKS
Annales Concours Général, Sujet Concours Général 2007
Maths Challenge, Perpendicular medians, Problem with picture.
EXAMPLE
a(1) = 13 + 19 + 22 = 54 with 19^2 + 22^2 = 5 * 13^2 = 845.
PROG
(PARI) lista(nn) = {my(vm = List(), vt); for (u=1, nn, for (v=1, nn, if (gcd(u, v) == 1, vt = 0; if ((u/v > 3) && ((u-3*v) % 5), vt = [2*(u^2-u*v-v^2), u^2+4*u*v-v^2, u^2+v^2]); if ((u/v > 1) && (u/v < 2) && ((u-2*v) % 5), vt = [2*(u^2+u*v-v^2), -u^2+4*u*v+v^2, u^2+v^2]); if ((gcd(vt) == 1), listput(vm, vecsum(vt))); ); ); ); vecsort(vm); } \\ Michel Marcus, May 27 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Bernard Schott, May 27 2020
STATUS
approved