Equations in Exponents
: dividing by leaves , forcing ; so the solutions are exactly . In general, comparing -adic valuations of both sides is the first move.
An exponential equation is a statement about valuations: the side with the smaller valuation must be matched exactly. After dividing out, one side is a unit modulo and the other is a power of — usually a contradiction unless an exponent is . The same reflex settles , (mod small numbers), and most "find all positive integers" equations of contest size.
splits as with both factors powers of of the same parity; becomes , two powers of differing by , so ; needs even (mod ) and then gives besides .
Factoring is the second reflex. The pattern "two powers of whose difference is small" has finitely many solutions, all tiny — that is the elementary heart of Catalan's equation (Mihăilescu proved the general case; the powers-of- and cases are exercises). Always finish with the small cases you excluded along the way (here ).
with has the unique solution : increases on and decreases after, so one of the two is .
Taking logarithms, says : two points at the same height on the graph of . Since , increases on and decreases on , so a horizontal chord with has , i.e. . gives , impossible; gives , which fails at () and holds at , and for (induction: ). The general lesson: when modular arithmetic and factoring both fail, compare growth rates, state the monotonicity precisely (with the derivative), then check the finitely many small cases by hand — the proof is incomplete without both halves.
Every "find all positive integer solutions" problem is solved by some mix of: valuations/parity, a modulus that kills a residue class (mod ), factoring into coprime pieces, size comparison (squeezing between consecutive squares or powers), and descent. Write which one you are using at each step; graders award partial credit per correctly justified reduction.
Show that is never a perfect square for .
Show the answerHide the answer
Since for , it lies strictly between consecutive squares.
Exponential Equations: Choosing the Modulus
In an equation such as , reduce modulo an for which the powers involved have short periods — the period of is . Useful facts:
- mod : , , ; mod : , ; mod : odd has or ;
- a modulus that divides a power of (or , ...) kills that term — but only once its exponent is large enough;
- the usual goal is a parity of an exponent, which makes a difference of squares factor.
Modulo , each power is periodic in with period , so the equation becomes a finite table of residues. When the orders are small the table is tiny and either contradicts itself or pins an exponent's residue — most usefully its parity. An even exponent turns into , and a product of two factors equal to a prime power forces both to be powers of that prime, which is usually the end. Every reduction "mod " or "mod " assumes the corresponding exponent is at least ; the smaller exponents are separate cases to check by hand.
Find all nonnegative integers with . (folklore)
Step 1 — small first: gives , impossible; gives , so ; gives , impossible.
Step 2 — for , reduce mod : . But powers of mod alternate , never . So the only solution is .
How to find it. A power of disappears modulo a power of , leaving a condition on alone; mod is the smallest modulus where has only two residues. The price of the reduction is the list of small , which must be checked separately.
Find all positive integers such that is a perfect square. (USAJMO 2011/1)
Step 1 — : .
Step 2 — even : modulo , , and , so the sum is ; squares are or .
Step 3 — odd : modulo , , and , so the sum is ; squares are or . So is the only answer.
How to find it. Test small cases — works and does not — then look for a modulus in which the parity of changes the residue: mod sees , mod sees . One modulus per parity class finishes it.
Find all positive integers with . (classic)
Step 1 — mod : , so is even; write .
Step 2 — now the equation factors: . Both factors are powers of , and their difference is not divisible by , so the smaller one is : and .
Step 3 — mod on : . The right side is or , and the left side is , so and : is even and is odd.
Step 4 — if , then mod : , which needs even — a contradiction. So and is even: , , , , and gives . The only solution is : .
How to find it. The answer is a Pythagorean triple, which suggests even exponents; mod produces the one parity you need to factor. After factoring, "two powers of whose difference is prime to " leaves no room, and mods and finish the remaining equation .
A write-up of : "Mod , , so , which is impossible since . Hence no solutions."
But is a solution: . The step "" holds only for ; for the power of is , not . Every reduction that makes a term vanish carries a hidden lower bound on an exponent, and the cases below that bound must be checked by hand — here they contain the whole answer.
Find all positive integers with .
Show the answerHide the answer
If , is impossible. So , and mod : . Powers of mod cycle with period , so . Then mod (where has order and ): , so . Powers of mod cycle , so ; in particular and are both even. Now , so and : , . The only solution is : .
Lifting the Exponent in Equations
Let be an odd prime with and . Then for every
and for odd with : . For and odd : if is odd, and if is even.
Two lemmas give it; write . If , then because : the valuation does not grow. If , put with ; then , so , using that is odd. So a factor in the exponent adds exactly one to the valuation. Writing with and applying the second lemma times and the first once gives the formula. For the step is , which adds rather than — the source of the extra term. The figure shows the case for : at odd and at even .
Find all positive integers such that . (folklore)
Step 1 — odd : , so only works.
Step 2 — even : . We need .
Step 3 — , and for (: , and the left side grows more slowly afterwards). So ; among even , () and () work. The answer is .
How to find it. " divides something to the -th power" is a valuation question, and LTE turns the valuation into plus a constant. Logarithmic against linear growth leaves only small cases.
Find all integers such that divides . (IMO 1990/3)
Step 1 — is odd, so is odd. Let be the least prime factor of . From we get , so divides . Every prime factor of is at least , so and . Hence : .
Step 2 — LTE with and odd: . The condition needs , so : with .
Step 3 — suppose and let be the least prime factor of , so . As before divides ; the only prime factor of below is , and it appears once, so and , i.e. .
Step 4 — but for every : the powers of mod are , never (the figure). So and ; indeed .
How to find it. " divides " is attacked through the least prime factor of , whose order is squeezed by . After the smallest prime is identified, LTE decides its exact power, and the next-smallest prime is squeezed the same way.
Let be an odd prime. Find all positive integers with and . (folklore)
Step 1 — odd gives , so with (as ). Then : otherwise too, against .
Step 2 — LTE for sums (, exponent odd): . So .
Step 3 — size: by the power-mean inequality , so , i.e. . With this gives . That holds for () and fails for () and, since , for every larger prime.
Step 4 — so and ; is a power of at least , so : , and . The solutions are with and .
How to find it. A sum of -th powers equal to a power of : the factor is forced to be a power of , LTE says the full sum has only one more factor of , and then the sum is far too small compared with its -th powers. Valuations give an exact equation; size finishes it.
Two tempting computations. "" — but has . "" — but has .
The first applies the odd-prime formula at ; for and even the correct formula has the extra term , here , giving . The second ignores the hypothesis : . The repair is to first pass to a power where the hypothesis holds: , so . Before quoting LTE, write down , , and check , and the parity of .
Find all positive integers with .
Show the answerHide the answer
The equation says with quotient . By the worked example this forces , and then : gives , gives , gives . The solutions are , , .