Encyclopedia of fractals · Self-similar set
Sierpiński triangle
Cut the middle quarter out of a triangle, then cut the middle out of each of the three corner triangles, and repeat for ever. The result, also called the Sierpiński gasket, is one of the most widely seen fractals of all.
How it is built
Join the midpoints of the sides of a triangle and remove the middle triangle. Three triangles remain, each half the size; repeat on each. After n steps there are 3n triangles and the area left is (3/4)n of the original, which tends to zero.
Three copies at scale 1/2 give the dimension log 3 / log 2 ≈ 1.585.
Properties
- Its area is zero, yet it contains infinitely many complete triangle boundaries.
- Colour the odd numbers in Pascal’s triangle and the Sierpiński triangle appears.
- The chaos game draws it from random jumps, and the cellular automaton Rule 90 grows it line by line.
- The graph of all positions of the Tower of Hanoi puzzle has the shape of a Sierpiński triangle.
Where you meet it
The pattern decorates thirteenth-century Cosmati marble floors in Italian churches, long before it had a name. Today it is used in multiband antennas, in tests for random-number generators and as a favourite first project in programming classes.



