← All challenges
Advanced · Patterns and proof

The hundred-door corridor

One hundred closed doors are numbered 1 to 100. On pass k you toggle every door whose number is a multiple of k. Open becomes closed and vice versa. Complete passes 1 through 100. Enter ALL door numbers that remain open and explain the rule you used.

The reference

Classical problem discussed by Plus, Cambridge’s mathematics outreach project. Plus · Jail break ↗

Loading the workspace…

Accessibility and appearance

Voice availability depends on your device. These settings stay here and can be changed at any time.

HECHO CON CALMA · MADE WITH CARE

Enjoying your little break?

This collection is free. If you would like to support the project and future games, you can buy me a coffee.

☕ Buy me a coffee ↗