It is a slow afternoon in maths class, and Sushila has drawn a big circle in her copy. She puts two dots on its edge and joins them with a ruler: the line cuts the circle into 2 pieces. She adds a third dot and joins every pair of dots: 4 pieces. A fourth dot, every pair joined again: 8 pieces. A fifth: 16.
1, 2, 4, 8, 16. Each time she adds a dot, the pieces double. She shows her friend Ramesh, and he agrees at once: “Six dots will make 32. Anyone can see that.”
Can they? Make your guess, then draw it and count.
Guess first. Six dots on the circle, and every pair joined by a straight line (keep the dots uneven, so that no three lines meet at one point). How many pieces?
Pick an answer to see why.
Count the pieces
The pattern breaks
If you counted carefully, your results read 1, 2, 4, 8, 16 and then 31. One piece short. Try 7 points and the gap grows: doubling says 64, the circle gives 57. With 8 points it is 99 pieces, not 128. The pattern didn’t just slip by one; it was never the rule at all.
| Points | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Pieces | 1 | 2 | 4 | 8 | 16 | 31 | 57 | 99 |
| Doubling | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 |
Five correct cases in a row felt like proof. They weren’t. This is the whole topic in one picture: a pattern that works many times can still be false, and the only way to be sure is to find out why it works.
Ramesh says: “The doubling worked five times. So it must be true, and you counted 6 points wrong.” What is the best reply?
Pick an answer to see why.
The meeting point
There is a catch in the puzzle, and the widget shows it. Press Spread evenly and try 6 points again. Now there are only 30 pieces: the three longest lines all pass through the very center, and where three lines meet at one point, a little piece that would have been there is squeezed away to nothing. Try to picture it: nudge one dot a tiny bit, and the three lines no longer meet at one point; a tiny triangle opens up in the middle.
So the question needs care. The most pieces you can get with 6 points is 31, and you get it whenever no three lines meet at one point. That is the question mathematicians ask, and it is the one we answer below. Spread evenly, 8 points make 88, not 99.
What’s going on
Guess, test, prove
Sushila and Ramesh did what every mathematician does. They looked at some cases and made a guess: “the pieces double”. A guess like that, believed but not yet shown to be true, is a conjecture. Then they tested it, and the test found a case where it fails, a counterexample. One counterexample is enough to kill a conjecture, however many cases fit.
To make a conjecture into a fact you need a proof: an argument that shows why it is true, so that it must hold in every case, including the ones nobody has drawn. So let’s find out why the circle gives the numbers it does. Then we will also see why it pretended to double.
Each line adds 1, and 1 more for every crossing
Draw the lines one at a time and watch the pieces grow. Before any line, the circle is 1 piece.
Now draw a new line. It runs from one edge of the circle to the other, and on the way it crosses some of the lines already there. In Figure 16.1 the blue line crosses 2 of them, and the 2 crossings cut it into 3 bits. Each bit runs straight across one piece and splits it in two. So the blue line adds 3 pieces: one more than the number of lines it crosses.
That is true for every line. A line that crosses nothing (the first one, say) adds 1 piece. A line that crosses 4 others is cut into 5 bits and adds 5. So when every line is drawn:
pieces = 1 + (the number of lines) + (the number of crossings inside the circle)
because each line gives its 1, and each crossing gives 1 more, once, when the second of its two lines is drawn. (This is where “no three lines through one point” matters. Three lines through one point make three pairs crossing at the same spot, but only one point there to cut at, so you lose pieces. That is the 30.)
Counting lines and crossings
The lines. Every pair of points is joined by one line, just as every pair of guests at a party shakes hands once. In How Many Handshakes at a Party of 30? you found that n people make handshakes, which is half of n × (n − 1). So 6 points make 6 × 5 ÷ 2 = 15 lines.
The crossings. Here is the clever part. Take any 4 of the points, like A, B, C and D in Figure 16.2, and draw all six lines between them. The four lines around the outside never cross each other inside the circle. Only the two lines that join opposite points, A to C and B to D, cross, and they cross exactly once. So every group of 4 points gives exactly one crossing, and every crossing comes from exactly one group of 4 points: the ends of its two lines.
So the number of crossings is the number of ways to choose 4 of the points, . For 6 points there is a neat way to count them: choosing 4 of the 6 to keep is the same as choosing 2 of the 6 to leave out, and that is 15 again. For any number of points, pick the 4 one at a time and divide by the 4 × 3 × 2 × 1 = 24 orders the same group can be picked in, as in How Many Ways Can You Walk to School?: 6 points give 6 × 5 × 4 × 3 ÷ 24 = 15.
Now the 6 points add up: 1 + 15 lines + 15 crossings = 31. Proved, not guessed, and it works for any number of points:
| Points | Lines | Crossings | Pieces = 1 + lines + crossings |
|---|---|---|---|
| 4 | 6 | 1 | 8 |
| 5 | 10 | 5 | 16 |
| 6 | 15 | 15 | 31 |
| 7 | 21 | 35 | 57 |
| 8 | 28 | 70 | 99 |
Why it looked like doubling
So why did 1, 2, 4, 8, 16 come out so neatly? The answer is hiding in Pascal’s triangle, which you can meet in How Many Ways Can You Walk to School?. Each row of the triangle adds up to double the row before: 1, 2, 4, 8, 16, 32… That is where doubling lives.
Now look at Figure 16.3. For each number of points, take its row (for 6 points, 1, 5, 10, 10, 5, 1) and add up only its first five numbers. You get exactly the circle’s pieces, every time: 1 + 5 + 10 + 10 + 5 = 31.
It works for every row, and the triangle’s own rule, each number the sum of the two above it, shows why. The 15 lines and 15 crossings of 6 points are the two 15s in the row 1, 6, 15, 20, 15, 6, 1; from the row above, the first is 5 + 10 and the second 10 + 5. So 1 + 15 + 15 = 1 + 5 + 10 + 10 + 5, the first five numbers of 1, 5, 10, 10, 5, 1, and the same happens in every row. (John Conway and Richard Guy found another proof, matching each piece with a group of at most four of the points.)
Up to 5 points, the rows are short: they have five numbers or fewer, so “the first five” is the whole row, and the pieces really do double. At 6 points the row has six numbers, and the last one, 1, is left out: 32 − 1 = 31. After that, more and more is left out each time: 64 − 7 = 57, 128 − 29 = 99. So the doubling was never the rule. It is what the real rule happens to give while the rows are short, and the first five cases were all too small to show the difference.
With 10 points the circle has 256 pieces, and 256 is a power of 2 (2 × 2 × 2 × 2 × 2 × 2 × 2 × 2). Is the doubling back?
Pick an answer to see why.
More patterns that fool you
The circle is not the only pattern that fools people. The widget has three more that did, and one that never breaks. Test each one yourself before you read on.
Forty primes in a row
You met the first in Is There a Biggest Prime Number?: Leonhard Euler’s formula n² + n + 41 (n × n + n + 41), noticed in 1772. It gives a prime for every n from 0 to 39, forty in a row, and then at n = 40 it gives 1,681 = 41 × 41. Asking why it might fail finds a counterexample without any testing: at n = 41 every part has 41 in it, 41 × 41 + 41 + 41 = 41 × 43.
31, 331, 3331…
31 is prime. So is 331. And 3,331, and 33,331, and 333,331, and 3,333,331, and 33,333,331: seven primes in a row, made by the same rule (put another 3 in front). It is very hard to believe that the eighth won’t be prime too. But 333,333,331 = 17 × 19,607,843. The puzzle writer Martin Gardner called it “a remarkable pattern that is entirely accidental and leads nowhere”. Unlike Euler’s formula, there is no reason it should have held even seven times: it just did.
Goldbach’s other guess
The third one fooled a great mathematician. Christian Goldbach, in a letter to Euler, guessed that every odd number that isn’t prime is a prime plus twice a square number: 9 = 7 + 2 × 1², 15 = 13 + 2 × 1², 27 = 19 + 2 × 2², 33 = 31 + 2 × 1².
Test it in the widget. It works for 9, for 15, for 21, for 25… for 2,131 odd numbers in a row (every odd number from 9 to 5,775 that isn’t prime). Then comes 5,777 = 53 × 109. Subtract twice every square smaller than it, 2, 8, 18, 32, … up to 2 × 53², and not one of the answers is a prime. The guess is false. Odd numbers that can’t be made this way are named after the German mathematician Moritz Stern, who studied them. Only two of them aren’t prime: 5,777 and 5,993 = 13 × 461. Nobody has found a third, and computers have checked every odd number up to 2 × 10¹³.
The one that never breaks
The fourth pattern in the widget is different: 1 = 1², 1 + 3 = 4 = 2², 1 + 3 + 5 = 9 = 3², 1 + 3 + 5 + 7 = 16 = 4². Adding up odd numbers from 1 always gives a square. Press Keep testing as often as you like: it never fails. But by now you know that passing 10,000 tests, or a million, proves nothing. So is it true? Here is a proof.
Look at Figure 16.4. Start with 1 tile: a 1 × 1 square. Wrap an L of 3 tiles around it and you have a 2 × 2 square. Wrap an L of 5 around that: a 3 × 3 square. An L of 7, then 9: 4 × 4, then 5 × 5.
Why does it go on forever? Take any square of tiles, say 10 × 10. To wrap an L around it you need a row of 10 along the bottom, a column of 10 up the side, and 1 tile for the corner: 10 + 10 + 1 = 21 tiles, the next odd number after 19. And 10 × 10 with an L of 21 is 11 × 11. That works for any size, not only 10: the next L is always the next odd number, and it always makes the next square.
So the pattern is true for 1 tile, and whenever it is true for one square, it is true for the next. Like a row of dominoes where the first one falls and each one knocks over the next, it must be true for every square, all the way up. This way of proving is called proof by induction, and it is how mathematicians prove that a pattern holds for every whole number. It needs two things: a first case that is true, and a step that carries the truth from each case to the next. Testing gives you the first; only a reason gives you the step.
Where the rule breaks
Checked a billion billion times, still not proved
Some patterns are tested by computers far beyond anything a person could check, and still nobody knows whether they are true. The most famous is another of Goldbach’s guesses, from his letters with Euler in 1742: every even number bigger than 2 is the sum of two primes (4 = 2 + 2, 10 = 3 + 7, 100 = 47 + 53). It has been checked for every even number up to 4 × 10¹⁸, four billion billion, by a computer search led by Tomás Oliveira e Silva (published in 2014). Nobody has found a counterexample. Nobody has found a proof either. It is still a conjecture, called Goldbach’s conjecture, and as of 2026 it is one of the most famous unsolved problems in mathematics.
After everything above, you can see why mathematicians won’t call it a fact. A counterexample could be bigger than any number checked so far.
When the counterexample is enormous
How big? Here is one that waited a long time. Write a number as primes multiplied together, counting repeats: 18 = 2 × 3 × 3 has 3 primes, 60 = 2 × 2 × 3 × 5 has 4. In 1919 the Hungarian mathematician George Pólya guessed that, from 1 up to any number you like beyond 1, at least half of the numbers have an odd number of primes (1 itself counts as having none). It holds up to 10, up to 1,000, up to a million, up to a hundred million. The first number where it fails is 906,150,257, found by Minoru Tanaka in 1980.
Stories from maths
Where this is used
Questions
How many counterexamples do you need to show that “every prime number is odd” is false?
Pick an answer to see why.
Find a counterexample to each claim.
- i.“If you double a number, the answer is bigger.”
- ii.“Every number ending in 3 is prime.”
- iii.“Every month has 30 or 31 days.”
Answer
Test the formula n² − n + 11 for n = 1, 2, 3, … Is the answer always prime? Find the first counterexample, and explain why that one had to fail.
Hint
Answer
2² − 1 = 3, 2³ − 1 = 7, 2⁵ − 1 = 31 and 2⁷ − 1 = 127 are all prime. The powers 2, 3, 5, 7 are the first four primes. Is 2 to the power of a prime, minus 1, always prime? Test the next prime.
Answer
Use the rule pieces = 1 + lines + crossings to find the most pieces for 9 points on a circle.
Hint
Answer
Bina tested a rule on 100 numbers and it worked every time. Kamal tested it on one number and it failed. What can we say?
Pick an answer to see why.
Primes that leave 3 when divided by 4 (3, 7, 11, 19…) race those that leave 1 (5, 13, 17, 29…). Up to 100 the “leave 3” primes lead, 13 to 11, and a friend concludes they are always ahead. In fact they stay ahead (or level) all the way to 26,860; at 26,861 the “leave 1” primes go ahead. What does this tell you about checking patterns by hand?
Answer
Use the tiles of the odd-number proof to show that 1 + 3 + 5 + … + 99 = 2,500 without adding them up.
Hint
Answer
Aryabhata’s rule says 1³ + 2³ + … + n³ = (1 + 2 + … + n)².
- i.Check it for n = 1 to 5.
- ii.Does that prove it?
- iii.Here is a hint of why it is true: write the odd numbers in groups, 1 | 3 + 5 | 7 + 9 + 11 | 13 + 15 + 17 + 19 | … Add up each group. What do you get, and how does the odd-number proof finish the argument?
Answer
Prove by the domino idea that 1 + 2 + 4 + 8 + … + (the n-th number in the doubling) is always one less than the next doubling number. For example 1 + 2 + 4 + 8 = 15, one less than 16.
Hint
Answer
In the circle with 6 evenly spaced points, three lines meet at the center. Explain, with the rule “each new line adds 1 more piece than the crossing points on it”, why there are 30 pieces, not 31.
Hint
Answer
Where to go next
- Where Did the Missing Square Go? A picture that seems to prove something impossible, and the flaw hiding in it: a proof can fool you as well as a pattern.
- Who Is Telling the Truth? Proof by cases and proof by contradiction, the other two ways of being sure, on an island of truth-tellers and liars.
- Can You Prove √2 Is Not a Fraction? (Grades 9–12) A famous proof by contradiction.
- How Many Moves to Move 64 Disks? (Computing, Going Further) The Tower of Hanoi: its fewest moves follow a pattern you can prove by the domino idea, and program.
- Will This Simple Rule Ever Stop? (Computing, Going Further, Grades 9–12) Halve it if it’s even, triple it and add one if it’s odd: a pattern checked by computers for huge numbers, and still not proved. (Coming soon.)
- Grade 10, Sequence and Series: patterns of numbers with rules you can prove, and their sums.
Where these facts come from
- Moser’s circle problem: the greatest number of pieces is 1 + + , the sequence 1, 2, 4, 8, 16, 31, 57, 99, 163, 256; Leo Moser noting in 1949 the risk of generalizing from few cases; no three lines through one point for the most pieces; six evenly spaced points give 30 and eight give 88; Conway and Guy’s proof matching the pieces with groups of at most four points (one left out), the formula as the first five numbers of a row of Pascal’s triangle: Wikipedia, “Dividing a circle into areas”, and the sequence: OEIS A000127, read October 2026.
- Richard Guy’s “strong law of small numbers”, its two laws in his words, its examples (the circle; 2ᵖ − 1 failing at 11; the race of primes leaving 3 or 1 when divided by 4, which first changes leader at 26,861), the 1988 paper and its 1989 Lester R. Ford Award: Wikipedia, “Strong law of small numbers”, read October 2026.
- Richard Guy’s life (born 1916 in Nuneaton, England; IIT Delhi; mountaineering in the Himalayan foothills with Louise; University of Calgary; working past 100; died 2020 aged 103): Wikipedia, “Richard K. Guy”, read October 2026.
- Euler noticing n² + n + 41 in 1772, prime for n = 0 to 39, and 40² + 40 + 41 = 41 × 41: Wikipedia, “Formula for primes” and “Lucky numbers of Euler”, read October 2026.
- 31, 331, … 33,333,331 prime, 333,333,331 not, and Martin Gardner’s words on the first eight: OEIS A051200 and A123568, read October 2026.
- Goldbach’s guess about odd numbers (in a letter to Euler), Moritz Stern, 5,777 and 5,993 the only known exceptions: Wikipedia, “Stern prime”; no other exception below 2 × 10¹³ (Benjamin Chaffin, 2008): OEIS A060003, read October 2026.
- Goldbach’s conjecture checked for every even number up to 4 × 10¹⁸ by Tomás Oliveira e Silva’s search (published 2014), still unproved: Wikipedia, “Goldbach’s conjecture”, read October 2026. Goldbach’s and Euler’s letters of June 1742 from the same article.
- The Pólya conjecture (1919; the numbers from 1 to any n > 1), its smallest counterexample 906,150,257 found by Minoru Tanaka in 1980: Wikipedia, “Pólya conjecture”, read October 2026.
- Fermat a lawyer at the parlement of Toulouse (1601–1665): Wikipedia, “Pierre de Fermat”, read October 2026.
- Fermat’s belief that 2^(2ᵏ) + 1 is always prime, the first five prime, Euler’s 641 in 1732, no other known as of 2026: Wikipedia, “Fermat number”, read October 2026.
- 2¹¹ − 1 = 2,047 = 23 × 89: Wikipedia, “Mersenne prime”, read October 2026.
- Ramanujan and Hardy: Hardy’s letter of 8 February 1913 and its words; nearly five years in Cambridge; Ramanujan’s intuition and Hardy’s insistence on proof; nearly 3,900 results, most since proved; the parts on the primes that were wrong, and Hardy’s comment on them; G. S. Carr’s collection of 5,000 theorems, stated without proofs; Ramanujan an accounting clerk at the Madras Port Trust from 1912; National Mathematics Day on 22 December: Wikipedia, “Srinivasa Ramanujan”, read October 2026.
- Proof by induction and the falling dominoes; al-Karaji’s argument around 1000 with its two parts, for the sums of cubes “already known to Aryabhata” (after Katz’s history); Maurolico’s 1575 proof that the first n odd numbers add up to n²: Wikipedia, “Mathematical induction”, read October 2026.
- Aryabhata’s Aryabhatiya (499 CE) and its sums of squares and cubes: Wikipedia, “Aryabhata”; the sum of the cubes as a square, and Nicomachus’s groups of odd numbers: Wikipedia, “Squared triangular number”, read October 2026.
- Counterexamples (2 for “all primes are odd”): Wikipedia, “Counterexample”, read October 2026.
- Formal verification, proving a system correct (digital circuits, software, the CompCert compiler and seL4 kernel as examples): Wikipedia, “Formal verification”, read October 2026.
- Dijkstra’s “Testing shows the presence, not the absence of bugs”, NATO Software Engineering Techniques conference, Rome, 27–31 October 1969: Wikiquote, “Edsger W. Dijkstra”, read October 2026.
- The Pentium FDIV bug: Thomas Nicely of Lynchburg College, counting primes and twin primes, 1994; missing values in a table; Byte’s estimate of 1 in 9 billion; Intel’s $475 million charge: Wikipedia, “Pentium FDIV bug”, read October 2026.
- Black swans seen by Willem de Vlamingh’s Dutch expedition in Western Australia in 1697, and the black swan as a disproof: Wikipedia, “Black swan theory”, read October 2026.
- Every number, count and answer in this topic (the circle’s pieces for 1 to 12 points, by formula and by cutting the widget’s own points and evenly spaced points; the Pascal rows; the powers of 2 among the pieces up to 100,000 points; Euler’s 41; the 3…31 numbers; Goldbach’s odd numbers up to 100,000; Fermat’s and 2ᵖ − 1 numbers; n² − n + 11; the prime race; the odd squares, the cubes and the doubling sums up to 2,000; the figures’ counts) computed in
checks/textbooks/math-further-6-8/16/tmp/puzzles.py.
