About this lesson
What students discover
A hundred closed lockers, a hundred students, one rule: student k changes every k-th locker, open to shut or shut to open. How many end open? Students guess (about 50? exactly 10? none?), then play a 10-locker version on a dot table and spot the pattern. Locker 12 is changed once for each of its six factors, so it ends shut. Locker 16 has five factors (1, 2, 4, 8, 16), so it ends open.
Rectangles drawn to scale show why. Factors come in pairs (12 = 1 × 12 = 2 × 6 = 3 × 4), except in a square, where one factor pairs with itself (4 × 4). So exactly 10 lockers stay open: the squares from 1 to 100. Priya’s ‘locker 50 ends open’ is the spot-the-mistake. Square roots then count the open lockers for any number: with 1,000 lockers, 31² = 961 fits and 32² = 1,024 doesn’t, so 31 stay open. Bonus patterns follow: the gaps between open lockers are the odd numbers (1 + 3 + 5 + 7 + 9 = 25), lockers changed exactly three times are squares of primes, and 64 is both a square and a cube.
Inside the deck
27 slides on the Blueprint template: a guess-first hook, a primer on factors, a diagram walk, eight your-turn tasks with answers, two checkpoints, a myth slide (‘it’s random, so about half end open’) and a real-world slide on square floors of tiles. An eight-question quiz has explained answers. The full puzzle was checked by simulation.
How to teach it
About 60 minutes. The coin version (20 coins, all tails up, 20 rounds of flipping) works on any desk and should leave heads on 1, 4, 9 and 16. Speaker notes sit on every slide.
Who it’s for
Learners aged 13–14 working on factors, squares and square roots, and maths clubs that like a puzzle with a proof at the end.








