Find all integer values of nn for which the expression 7n122n+3\frac{7n-12}{2n+3} results in a perfect square.

Answer: n=3n = 3 and n=24n = -24

Step-by-step solution

Step 1: Set Expression Equal to a Square and Clear Fraction

Let kk be a non-negative integer such that the given fraction equals k2k^2. Multiplying both sides by the denominator 2n+32n + 3, we obtain 7n12=2k2n+3k27n - 12 = 2k^2n + 3k^2, assuming 2n+302n + 3 \neq 0.

Step 2: Rearrange and Express n in Terms of k

Collecting all terms involving nn on one side gives n(72k2)=3k2+12n(7 - 2k^2) = 3k^2 + 12. Since kk is an integer, 2k22k^2 cannot equal 77, so 72k207 - 2k^2 \neq 0. Thus, nn can be expressed as a rational function of k2k^2.

Step 3: Perform Polynomial Division

To eliminate k2k^2 from the numerator, multiply nn by 22: 2n=6k2+2472k22n = \frac{6k^2 + 24}{7 - 2k^2}. Rewriting the numerator as 3(72k2)+45-3(7 - 2k^2) + 45, we find that 2n=3+4572k22n = -3 + \frac{45}{7 - 2k^2}. For nn to be an integer, 72k27 - 2k^2 must be a divisor of 4545.

Step 4: Analyze Divisors of 45

We test integer values of k0k \ge 0. Since k20k^2 \ge 0, 72k277 - 2k^2 \le 7. Checking small non-negative integers kk: for k=0k = 0, 72(0)=77 - 2(0) = 7 (not a divisor of 4545); for k=1k = 1, 72(1)=57 - 2(1) = 5 (divides 4545); for k=2k = 2, 72(4)=17 - 2(4) = -1 (divides 4545); for k=3k = 3, 72(9)=117 - 2(9) = -11 (does not divide 4545); for k=4k = 4, 72(16)=257 - 2(16) = -25 (does not divide 4545); for k=5k = 5, 72(25)=437 - 2(25) = -43; for k=6k = 6, 72(36)=657 - 2(36) = -65. As kk increases, 72k27 - 2k^2 becomes strictly less than 45-45, so no further divisors are possible.

Step 5: Solve for n and Verify

When k=1k = 1, n=3n = 3. Substituting n=3n = 3 back into the original expression: 7(3)122(3)+3=99=1=12\frac{7(3) - 12}{2(3) + 3} = \frac{9}{9} = 1 = 1^2, which is a perfect square. When k=2k = 2, n=24n = -24. Substituting n=24n = -24: 7(24)122(24)+3=18045=4=22\frac{7(-24) - 12}{2(-24) + 3} = \frac{-180}{-45} = 4 = 2^2, which is also a perfect square. Thus, the valid integer values are n=3n = 3 and n=24n = -24.

Solve your own maths question free →