Proof by exhaustion checks every possibility. If the domain is finite, list all values and verify the claim for each one. State why nothing has been left out.
Claim: if n is an integer with 1 ≤ n ≤ 5, then n² + n is divisible by 2.
n: 1, 2, 3, 4, 5
n² + n: 2, 6, 12, 20, 30
All five values are even, and these are all the integers in the stated interval. That proves this finite claim. It does not, by itself, prove the statement for every integer.
For every integer n, use a general argument instead: n² + n = n(n + 1), and one of two consecutive integers is even.