Proofs · Chapter 7

Remainder Cases

Every integer leaves a remainder of 0 or 1 on division by 2. Split any expression into cases like that and see the result in each, with the algebra.

Home › Calculators › Proofs › Remainder Cases

Opens on Chapter 7’s example: n(n + 1), split into n even and n odd.

Friday the 13ths (optional)
Rounding then adding (optional)
Two moves along a street (optional)
Enter your own case, then press Work it out.

How it works

Write n = dq + r for each remainder r; the cases cover every integer. The tool expands your expression in q for each case and writes it as m × (something) + a remainder. When every case gives a fixed remainder, that is a complete proof by cases, and the tool also checks it against every n from −1,000 to 1,000.

From the book, Chapter 7. n(n + 1) is even in both cases; for n = 6 it is 42 = 2 × 21. A square leaves 0, 1 on division by 4, and ends in 0, 1, 4, 5, 6, 9 (46² = 2,116). 2028 has one Friday the 13th, Friday, October 13, 2028; across the 14 possible calendars every year has from 1 to 3. $15 + $25 rounded first comes to 50, not 40. The book and every chapter’s tool →

Tests and proofs. When a tool tries cases, it tells you how many: a test of a million cases is still evidence, not a proof, because it says nothing about the cases it didn’t try. When an answer is proved (a count, a check digit, a complete list of every case, an algebra step that holds for every value), the page says so and why. Numbers can be typed as 1,200, −7, 3/4 or 0.05; formulas as 2^n − 1, n(n + 1)/2, n², C(n, 4) (choices of 4 from n), n! or sum(2k − 1) (the terms for k = 1 to n). Everything stays in your browser: no sign-up, nothing stored or sent.