Let and be non-zero integers satisfying . Denote as the number of different triplets that satisfy these constraints, and denote as the sum of all possible values of . Find .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If c is a value that satisfies the conditions, then − c also satisfies them. Therefore, the sum of all possible values for c is invariant, is 0 .
Applying Euclid's generating triples formula, 3 7 = k ( m 2 − n 2 ) = k ( m + n ) ( m − n ) , for some integers k , m , n , and as 3 7 is prime, then we have two cases:
Solving for m and n in each case, we have the following pairs ( m , n ) : ( 1 9 , 1 8 ) , ( 1 9 , − 1 8 ) , ( − 1 9 , − 1 8 ) , ( − 1 9 , 1 8 )
Each pair is just a signs permutation. As b = k ( 2 m n ) , therefore the possible values for b are 6 8 4 and − 6 8 4 .
c = 6 8 5 or − 6 8 5 , so, in total, we have 4 triples: ( 3 7 , 6 8 4 , 6 8 5 ) , ( 3 7 , 6 8 4 , − 6 8 5 ) , ( 3 7 , − 6 8 4 , 6 8 5 ) , ( 3 7 , − 6 8 4 , − 6 8 5 ) .
Consequently, A = 4 and B = 0 , hence, A + B = 4 .
Note that 3 7 2 = 1 3 6 9 = 6 8 4 + 6 8 5 . Note that this demonstration works for every prime number.