Hi everyone,
I'm stuck on this question and it's driving me crazy!!
Basically you have to add numbers in a line of a triangle that will add up to a square number.
e.g. a
b c
a&b have to add up to a square, as well as a&c and b&c.
Any help would be appreciated.
Can anyone help?
such thatCode:a b c
Subtracting the first two equations gives me
Adding this equation to the third equation give me
Thus
You can pick any numbers x, y, z that you like.
For example, letting x = 1, y = 2, and z = 3 gives
-DanCode:-2 3 6
EDIT: I can show that at least one of a, b, and c must be negative.