Maths WorkshopMaths problems with full solutions
Exercise 749Number theory › Divisibility and gcdHigh schoolAdded 2 Nov 2026

When is $(6n+12)/(2n+1)$ an integer?

#divisibility#fraction#case analysis

Statement

Find all integers nn such that 6n+122n+1\dfrac{6n+12}{2n+1} is an integer.

Hint

The fraction is an integer iff 2n+1∣6n+122n+1\mid 6n+12. Reduce: 6n+12=3(2n+1)+96n+12=3(2n+1)+9.

Show solutionHide solution

Solution

Reduction.
6n+12=3(2n+1)+9.6n+12=3(2n+1)+9.
So 2n+1∣6n+122n+1\mid 6n+12 iff 2n+1∣92n+1\mid 9.

Case analysis. The divisors of 99 are ±1,±3,±9\pm1,\pm3,\pm9. Hence
2n+1∈{−9,−3,−1,1,3,9}.2n+1\in\{-9,-3,-1,1,3,9\}.
Solving for nn:
n∈{−5,−2,−1,0,1,4}.n\in\{-5,-2,-1,0,1,4\}.

Remark. This is a standard exercise from a Terminale Spécialité devoir.