Problem:
How many ordered triples of integers (a,b,c) satisfy
β£a+bβ£+c=19 and ab+β£cβ£=97?
Answer Choices:
A. 0
B. 4
C. 6
D. 10
E. 12
Solution:
If cβ₯0, then abββ£a+bβ£=78, so (aβ1)(bβ1)=79 or (a+1)(b+1)=79. Since 79 is prime, {a,b} is {2,80},{β78,0},{0,78}, or {β80,β2}. Hence β£a+bβ£=78 or β£a+bβ£=82, and, from the first cquation in the problem statement, it follows that c<0, a contradiction.
On the other hand, if c<0, then ab+β£a+bβ£=116, so (a+1)(b+1)=117 in the case that a+b>0 and (aβ1)(bβ1)=117 in the case that a+b<0. Since 117=32β
13, we distinguish the following cases:
{a,b}={0,116}{a,b}={2,38}{a,b}={8,12}{a,b}={β116,0}{a,b}={β38,β2}{a,b}={β12,β8}β yields yields yiclds yields yields yields βc=β97;c=β21;c=β1;c=β97;c=β21;c=β1;β
Since a and b are interchangeable, each of these cases leads to two solutions, for a total of 12.