Proofs · Chapter 1

Pattern Tester

A pattern that held five times can still break on the sixth. Type a pattern, test it case after case, and see the first case where it fails.

Home › Calculators › Proofs › Pattern Tester

Opens on Chapter 1’s example: the circle pieces: points on a circle, every pair joined, pieces counted for 1 to 10 points against doubling.

The pattern
Tax on each line or on the total
A date’s weekday
Enter your own case, then press Work it out.

How it works

Type the pattern as a claim about n and choose a range. The tool works out both sides exactly for every n (no rounding, however big numbers get), shows the first case that breaks, and counts how many broke. A single break proves an “always” false. Any number of passes is only evidence; a proof needs a reason that covers every n. Two more tests from the chapter: tax on each line against tax on the total, and a date’s weekday year after year.

From the book, Chapter 1. The pieces go 1, 2, 4, 8, 16, and then 31, not 32. n² + n + 41 is prime for n = 0 to 39 and at 40 gives 1,681 = 41 × 41; 211 − 1 = 2,047 = 23 × 89. Three $0.10 bookmarks taxed line by line come to $0.03, on the total $0.02: of 1,353,400 three-item carts up to $2, 454,578 disagree. March 10 was a Wednesday in 2027 and is a Friday in 2028. 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.