Find all triples of nonnegative integers , , such that .
Solutions — 2
Solution 1
.
We rewrite the equation in the form . Note that for the left-hand side of the equation is an even integer while the right-hand side is an odd integer. So, .
Consider three cases: , and .
1) . In this case we have
If , then ; if , then . Thus, it remains to consider the case , . In this case . Consider the residues of modulo 27:
It follows that . Note that , so . Thus, and then
Hence .
On the other hand, considering the residues of modulo 37, we have
We see that for all . Therefore, there are no solutions of (1) for , .
2) . We have , a contradiction.
3) . Then , whence and . Let , . Now the initial equation can be rewritten in the form
So, it follows that
and, since , we have . Summing (2) and (3), we obtain . Hence . Then (2) can be rewritten as , or , which coincides with (1). Therefore, we have , and is equal to 2 and 4 respectively.
Finally, in this case we have .
Solution 2
Answer: .
We rewrite the equation in the form . Note that for the left-hand side of the equation is an even integer while the right-hand side is an odd integer. So, .
Consider three cases: , and .
1)
. In this case we have
If , then ; if , then . Thus, it remains to consider the case , . In this case . Consider the residues of modulo :
It follows that . Note that , so . Thus, and then
Hence .
On the other hand, considering the residues of modulo , we have
We see that for all . Therefore, there are no solutions of (1) for , .
2) . We have , a contradiction.
3) . Then , whence and . Let , . Now the initial equation can be rewritten in the form
So, it follows that
and, since , we have . Summing (2) and (3), we obtain . Hence . Then (2) can be rewritten as , or , which coincides with (1). Therefore, we have , and is equal to and respectively.
Finally, in this case we have .