Number Theory Problem Set III: Problems & Solutions
Number Theory Problem Set III: Problems & Solutions
Number Theory Problem Set III: Problems & Solutions
1
Join us at: https://t.me/Maths_Olympiad_2024
a! + bb = c!.
Note that c > a and c > b since c! > bb > b!. Suppose that p is a prime
divisor of b. Then p must divide b!, bb and c!, so that p must divide a!
and p ≤ . Thus, if a = 1, then b = 1 and we get the solution
Prove that for each prime number p > 2, there is exactly one
positive integer n such that the number n2 + np is a perfect
square.
2n + p + 2k = p2 , 2n + p − 2k = 1.
b2 + c2 + d2
a1 = = kbcd − a,
a
hence it is also a positive integer. Since (a1 , b, c, d) is also a solution,
we must have a1 ≥ a. In particular, a2 ≤ b2 + c2 + d2 (∗). Moreover,
since b is outside of the interval [a, a1 ] between the roots of the quadratic
function f , we have f (b) ≥ 0. On the other hand,
This already shows that k ∈ {1, 2, 3, 4}, and we need to prove that k =
1, 2, 3 do not work. Since also cd ≤ 4, this can be done by considering
the few possible cases by hand:
Case I: If c = d = 1 then from (∗) we have a2 ≤ b2 + 2 < (b + 1)2 =⇒
a = b. Hence, a2 | 2(a2 + 2), which is only possible for a = 1. This gives
the solution a = b = c = d = 1, k = 4.
Case II: If c = d = 2 then k = 1 and we get a2 + b2 + 8 = 4ab. Con-
sidering this modulo 4 we get 2 | a, b which contradicts the assumption
(in fact in this case the unique solution is a = b = 2).
Case III: If c = 2, d = 1 we have k ∈ {1, 2} and a2 + b2 + 5 = 2ab or
a2 + b2 + 5 = 4ab. The first one is clearly impossible. In the second case,
from (∗) we have a2 = b2 + 5 < (b + 2)2 . Since a + b must be odd this
yields a = b + 1, which does not lead to a solution.
Case IV: If c = 3, d = 1 we have k = 1 =⇒ a2 + b2 + 10 = 3ab. Also,
(∗) implies a2 = b2 + 10 < (b + 3)2 . Furthermore a, b must have the same
parity and thus a ∈ {b, b + 2}, both of which can easily be seen not to
work.
Case V: If c = 4, d = 1 then k = 1 =⇒ a2 + b2 + 17 = 4ab. Also, (∗)
implies a2 ≤ b2 + 17 < (b + 2)2 , since b ≥ 4. Hence a = b + 1, which does
not lead to a solution.
This also shows that there are only two minimal solutions: (1, 1, 1, 1)
with k = 4, and (2, 2, 2, 2) with k = 1.
QED.
x4 = y 6 + y 4 + 1.
q
Let x2 = 2 and rewrite the original equation as
q 2 = (2y 3 + y)2 + 4 − y 2 .
Thus
2y 3 + y − 1 < q < 2y 3 + y.
But this is not possible.
Hence y = 1, 2. Checking gives (x, y) = (3, 2).