Question

Difficulty: HardProperties of Integers and Divisibility

When the positive integer nn is divided by 1212, the remainder is 77. Which of the following could be the remainder when n2+5n+2n^2 + 5n + 2 is divided by 2424?

  1. A
    1
  2. 2Answer
  3. C
    5
  4. D
    7
  5. E
    11

Answer

2
Because n7(mod12)n \equiv 7 \pmod{12}, nn can be expressed as 12k+712k + 7. Testing the two cases for the integer kk (even vs. odd) shows that n7(mod24)n \equiv 7 \pmod{24} or n19(mod24)n \equiv 19 \pmod{24}. Substituting n=19n = 19 into n2+5n+2n^2 + 5n + 2 yields 458458, and 458=19×24+2458 = 19 \times 24 + 2, which leaves a remainder of 22. Therefore, the value 22 is a valid possible remainder.

Step-by-Step Solution

1
Express nn algebraically based on the given remainder condition.
Since nn leaves a remainder of 77 when divided by 1212, nn can be written as n=12k+7n = 12k + 7 for some non-negative integer kk.
By the division algorithm, any integer leaving remainder rr when divided by mm is of the form mk+rmk + r.
2
Analyze nn modulo 2424 by considering the parity of kk.
If kk is even (k=2mk = 2m), then n=24m+77(mod24)n = 24m + 7 \equiv 7 \pmod{24}. If kk is odd (k=2m+1k = 2m + 1), then n=24m+1919(mod24)n = 24m + 19 \equiv 19 \pmod{24}.
To evaluate an expression modulo 2424 when given information modulo 1212, split the integer into even and odd multiplier cases.
3
Evaluate n2+5n+2(mod24)n^2 + 5n + 2 \pmod{24} for both possible residue classes of n(mod24)n \pmod{24}.
Case 1 (n7(mod24)n \equiv 7 \pmod{24}): 72+5(7)+2=49+35+2=867^2 + 5(7) + 2 = 49 + 35 + 2 = 86. Since 86=3×24+1486 = 3 \times 24 + 14, the remainder is 1414. Case 2 (n19(mod24)n \equiv 19 \pmod{24}): 192+5(19)+2=361+95+2=45819^2 + 5(19) + 2 = 361 + 95 + 2 = 458. Since 458=19×24+2458 = 19 \times 24 + 2, the remainder is 22.
Substituting representative values of nn into n2+5n+2n^2 + 5n + 2 determines all possible remainder outputs modulo 2424.
4
Identify which of the options matches a valid remainder.
The only possible remainders are 1414 and 22. Among the given choices, 22 is present.
Matching the derived valid remainder set {2,14}\{2, 14\} against the options identifies the correct answer.

Key Concept

Modular Arithmetic and Remainder Properties under Quadratic Transformations
Estimated Time:2m 0s
Rate this question