DR.WANG Mathematics中文

2020 AIME I · Question 10

Number theory · prime factorization · divisibility · bounding to limit cases · problem-solving

Problem outline

Positive integers m,nm,n satisfy gcd⁡(m+n,210)=1\gcd(m+n,210)=1, nn∣mmn^n\mid m^m, and n∤mn\nmid m. Find the least possible value of m+nm+n.

Show answer and methods 1 methods

Answer

407

Method 1 Compare deficient prime exponents

Every prime dividing nn must divide mm and hence m+nm+n. Coprimality with 210210 means every prime factor of nn is at least 1111. Since n∤mn\nmid m, choose pp with a=vp(n)>b=vp(m)≥1a=v_p(n)>b=v_p(m)\ge1.

From nn∣mmn^n\mid m^m, an≤bman\le bm, so a≥2a\ge2 and m≥(a/b)nm\ge(a/b)n. Thus n≥112=121n\ge11^2=121. Taking n=121n=121 forces m≥242m\ge242 and 11∣m11\mid m but 121∤m121\nmid m.

Below m=286m=286, the possible multiples 253,264,275253,264,275 make m+nm+n divisible by 2,5,2,5, or 77, while 242242 is a multiple of 121121. The choice m=286m=286 works and gives m+n=407m+n=407.

For minimality, if m+n<407m+n<407, then a≥3a\ge3 would make n≥113>407n\ge11^3>407. Hence a=2,b=1a=2,b=1, so m≥2nm\ge2n and n≤135n\le135. The only allowable nn in this range containing a square of a prime at least 1111 is 121121, already exhausted.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)