Let n be a positive integer. Let R be the remainder when \(n^2\) is divided by n+4. How many different values can R take on?
(Please explain how you got your answer thoroughly)
n^2 is divisible by n + 4 only for n = 4 and n = 12, so there are two possible values of n.