Skip to main contentSkip to solution

How many pairs (m,n)(m, n) of positive integers satisfy the equation m2+105=n2m^2 + 105 = n^2?

Entered answer:

Solution

✅ Correct Answer: 4

We need to find how many pairs (m,n)(m, n) of positive integers satisfy m2+105=n2m^2 + 105 = n^2.


Starting with m2+105=n2m^2 + 105 = n^2:

n2−m2=105n^2 - m^2 = 105

The left side is a difference of squares, so we can factor:

(n−m)(n+m)=105(n-m)(n+m) = 105


We need to find the prime factorization of 105:

105=3×5×7105 = 3 \times 5 \times 7

When we have 105=31×51×71105 = 3^1 \times 5^1 \times 7^1, the total number of factors is:

(1+1)(1+1)(1+1)=8(1+1)(1+1)(1+1) = 8 factors

The 8 factors of 105 are: 1, 3, 5, 7, 15, 21, 35, 105


We need all ways to write 105 as a product of two positive integers.

Since mm and nn are positive integers:

n+m>0n + m > 0 (always true for positive integers)

Then, n−m>0n - m > 0 otherwise the product would become negative. (so n>mn > m)

n+m>n−mn + m > n - m (since m>0m > 0)

We need factor pairs (a,b)(a,b) where the product is 105:

(1,105)(1, 105)

(3,35)(3, 35)

(5,21)(5, 21)

(7,15)(7, 15)

Here, a=n−ma = n-m and b=n+mb = n+m


Now, we can find the exact value of nn and mm

a+b=n−m+n+m=2na+b = n-m + n+m = 2n

Therefore, n=a+b2n = \dfrac{a+b}{2}

b−a=n+m−(n−m)=2mb-a = n+m - (n-m) = 2m

Therefore, m=b−a2m = \dfrac{b-a}{2}


Using the above equations, the pairs are: (52,53)(52, 53), (16,19)(16, 19), (8,13)(8, 13), and (4,11)(4, 11).

Hence, there are 4 pairs (m,n)(m, n) of positive integers that satisfy the equation.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question