Explain why the sum of any three consecutive integers is always divisible by 3.
- User
Explain why the sum of any three consecutive integers is always divisible by 3.
- Assistant
Algebraic Proof
Let the three consecutive integers be (n), (n+1), and (n+2), where (n) is any integer.
Their sum is: [ n + (n+1) + (n+2) = 3n + 3 = 3(n + 1) ] This is clearly (3) times the integer ((n+1)), so the sum is always divisible by (3).
Modular Arithmetic Proof (Intuitive Residue Explanation)
Any integer (n) leaves a remainder of (0), (1), or (2) when divided by (3) (i.e., (n \equiv 0, 1,) or (2 \pmod{3})).
- If (n \equiv 0 \pmod{3}), then the numbers are ≡ (0, 1, 2 \pmod{3}). Sum: (0+1+2 = 3 \equiv 0 \pmod{3}).
- If (n \equiv 1 \pmod{3}), then ≡ (1, 2, 0 \pmod{3}). Sum: (1+2+0 = 3 \equiv 0 \pmod{3}).
- If (n \equiv 2 \pmod{3}), then ≡ (2, 0, 1 \pmod{3}). Sum: (2+0+1 = 3 \equiv 0 \pmod{3}).
In every case, the three numbers cover all possible residues modulo 3 (0, 1, and 2, in some order), and their sum is always (3 \equiv 0 \pmod{3}).
Example
Take 5, 6, 7: Sum = 18, and (18 \div 3 = 6).
Take -1, 0, 1: Sum = 0, and (0 \div 3 = 0).
It works for any integers, positive or negative!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.