Skip to content

Find the product of all integer values of n such that

n2−24n+147

is a square number.

Hint

Assume that m,n∈Z and

n2−24n+147=m2

Complete the square on the left-hand side.

Hint

Aim to get your equation in the form

a2−b2=c

and factorise the left-hand side into two brackets.

What can you conclude from the possible factorisations of c into two integers?

Solution

Assume that m,n∈Z and

n2−24n+147=m2(n−12)2+3=m2m2−(n−12)2=3(m−n+12)(m+n−12)=3

Notice that 3 has been factored into two integers. There are four possible cases:

Case 1

m−n+12=1m+n−12=3

In this case, m=2,n=13.

Case 2

m−n+12=3m+n−12=1

In this case, m=2,n=11.

Case 3

m−n+12=−1m+n−12=−3

In this case, m=−2,n=11.

Case 4

m−n+12=−3m+n−12=−1

In this case, m=−2,n=13.