Question
Quantitative Aptitude Question on Integers
What is the largest positive integer n such that n2−n−12n2+7n+12 is also a positive integer?
A
8
B
12
C
16
D
6
Answer
12
Explanation
Solution
n2−n−12n2+7n+12=(n−4)(n+3)(n+3)(n+4)
=n−4n+4
⇒n−4n+4=(n−4)(n−4+8)=1+n−48
The expression is positive integer if n−48 is integer.
Or (n−4)must be a multiple of 8.
To maximize n, set (n−4) equal to 8.
Therefore, n = 12.