Maths WorkshopMaths problems with full solutions
Exercise 1142Number theory › PrimesL1Added 3 Nov 2026

Prime powers and divisibility

#prime powers#divisibility#exponents

Statement

Let pp be prime and a,ba,b integers with pk∣abp^k\mid ab. Show that p⌈k/2⌉p^{\lceil k/2\rceil} divides aa or bb (weaker version), and more precisely that the sum of exponents of pp in aa and bb is at least kk.

Hint

Use the pp-adic valuation: vp(ab)=vp(a)+vp(b)≥kv_p(ab)=v_p(a)+v_p(b)\ge k.

Show solutionHide solution

Solution

Valuation. vp(ab)=vp(a)+vp(b)≥kv_p(ab)=v_p(a)+v_p(b)\ge k.

Consequence. At least one of vp(a),vp(b)v_p(a),v_p(b) is ≥⌈k/2⌉\ge\lceil k/2\rceil, so p⌈k/2⌉∣ap^{\lceil k/2\rceil}\mid a or p⌈k/2⌉∣bp^{\lceil k/2\rceil}\mid b.

Conclusion. The pp-adic valuation gives the precise statement.