Back to projectPublic page

1. A Square And A Cube

This section is still being documented. Clone the project to customize it or keep reading for context.

Part of NCERT 8 Math

6 blocks1 nested pagecreate
Last updated Jan 18, 2026. Clone to remix or explore the blocks below.
381f4775...
prerequisite

Prior Knowledge Check

Essential concepts you should know before starting

0 of 6 completedSyncing saved progress…0%
Before You Start: Do You Know These?
ddb1b88f...
bcdf419a...
visualize

Count in L-shapes, discover squares

Instead of counting row by row, count in L-shaped layers from the corner. Each layer adds an odd number of cells — and the running total is always a perfect square. Look at the top row of the grid. What's special about them!

Layer by layer
1 = 1 = 1²
1 + 3 = 4 = 2²
1 + 3 + 5 = 9 = 3²
1 + 3 + 5 + 7 = 16 = 4²
1 + 3 + 5 + 7 + 9 = 25 = 5²
▶ Start
First row = perfect squares
?
?
?
?
?
Empty grid
f40ca9fc...
story

The Queen's Locker Puzzle

An ancient puzzle about lockers, factors, and perfect squares

df6842b5...
concept

The Secret: Factors

Understanding why perfect squares have odd number of factors

The Secret: Factors and Toggles

Did you notice the pattern?

Key Insight: Locker #N is toggled by Person K only if K is a factor of N.

Locker #6 toggled by: Person 1, 2, 3, 6 Because 1, 2, 3, 6 are factors of 6!

fe31e466...
quiz

Locker Puzzle Check

Test your understanding of the locker problem

0 / 4

In the 100 lockers problem, how many times is Locker #12 toggled?