- Pascal’s triangle and the chaos game
Today we will learn to:
- build Pascal’s triangle and find the Sierpiński pattern in it
- play the chaos game with a dice
- explain why random jumps produce the same fractal every time
- Building Pascal’s triangle
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1Each number is the sum of the two numbers above it.
- Colour the odd numbers
Shade every odd number and leave the even numbers white.
What shape do you see?
- Only odd and even matter
- odd + odd = even
- odd + even = odd
- even + even = even
1
1 1
1 0 1
1 1 1 1
1 0 0 0 1
1 1 0 0 1 1
1 0 1 0 1 0 1
1 1 1 1 1 1 1 1
- Zoom out: Sierpiński appears
With 64 rows the odd numbers form the Sierpiński triangle.
The first 8 rows contain 27 odd numbers: 27 = 3³.
- Other moduli
Now colour the multiples of 3, 4, 5 …
Is the pattern still a fractal?
- The chaos game
- Mark three corners A, B, C and a starting dot.
- Roll a dice: 1–2 → A, 3–4 → B, 5–6 → C.
- Draw a new dot halfway to that corner.
- Repeat from the new dot.
- Play the chaos game
Same rule, thousands of times.
- Why the same triangle?
- Jumping halfway to A shrinks the whole triangle to the half-size copy at A.
- So a dot can never land in the middle hole.
- Each jump halves any error: after 10 jumps it is less than 1/1000.
- Probability and the chaos game
Each corner is chosen with probability 1/3.
So about 1/3 of the dots land in each corner triangle.
- Other polygons
- Square, jump ratio 0.5: the square fills up evenly.
- Pentagon: try a jump ratio of about 0.62.
- Hexagon: try about 0.67.
- Summary
- Odd numbers in Pascal’s triangle form the Sierpiński triangle.
- The chaos game: random jumps halfway to a corner.
- The order of the dots is random, the picture is not.
- Each jump maps the triangle onto one of its three half-size copies.
- Exit question
Play the chaos game with the four corners of a square, always jumping halfway.
What picture appears, and why?