OFFSET
0,11
COMMENTS
a(n) is the number of solutions to (k + 1)*(x + y + z) = n in positive integers x, y, z and rational k with x <= y <= z and k >= 1.
There is no pair of integer-sided similar triangles whose perimeters sum up to a prime. Proof: If the integer perimeters u = x1 + y1 + z1 and v = x2 + y2 + z2 sum up to a prime p, they are coprimes and the scale factor is k = v/u. Since positive integer x1 < u, x2 = x1*v/u is not an integer. It follows that a(p) = 0.
LINKS
Felix Huber, Table of n, a(n) for n = 0..10000
Eric Weisstein's World of Mathematics, Similar Triangles
FORMULA
EXAMPLE
The a(12) = 5 pairs of integer-sided similar triangles whose perimeters sum up to 12 are (1, 1, 1) and (3, 3, 3) with k = 3; (1, 1, 2) and (2, 2, 4) with k = 2; (1, 1, 4) and (1, 1, 4) with k = 1; (1, 2, 3) and (1, 2, 3) with k = 1; (2, 2, 2) and (2, 2, 2) with k = 1.
The a(21) = 7 pairs of integer-sided similar triangles whose perimeters sum up to 21 are (1, 1, 1) and (6, 6, 6) with k = 6; (1, 1, 5) and (2, 2, 10) with k = 2; (1, 2, 4) and (2, 4, 8) with k = 2; (1, 3, 3) and (2, 6, 6) with k = 2; (2, 2, 3) and (4, 4, 6) with k = 2; (2, 2, 2) and (5, 5, 5) with k = 5/2; (3, 3, 3) and (4, 4, 4) with k = 4/3.
MAPLE
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Felix Huber, Dec 24 2024
STATUS
approved