Therse
Math puzzle

Count the rectangles

Inspired by the rectangle-counting game from Netflix’s The Devil’s Plan: Dead Again, season 3 episode 1.

Target sum
–
Time
0:00.0no penalties
Streak
0
Score
0

How to play

  1. Count every rectangle on the grid whose numbers add up to the target sum.
  2. Any size counts, from a single cell to the whole grid. Squares are rectangles too.
  3. Rectangles may overlap or sit inside each other. Each different position counts once.
  4. Empty cells are worth 0. Striped cells are cut out, and no rectangle may include them.
  5. A wrong answer adds 15 seconds. You can keep trying or give up to see every rectangle.
2
3
3
Target 3. This grid has 4 matching rectangles, including two with an empty cell.Match 1 of 4: Row 1, column 2

Questions

Is this the game from The Devil’s Plan?

It’s our take on the rectangle-counting game from season 3, episode 1 of The Devil’s Plan: Dead Again on Netflix. Count every rectangle whose numbers add up to the target, against the clock.

We added three difficulty levels, negative numbers, halves, cut-out cells and a solution viewer, so you can play a fresh puzzle every time and check every answer.

Therse isn’t affiliated with or endorsed by Netflix or The Devil’s Plan.

How do I count rectangles quickly?
Work by size. Start with single cells that equal the target, then pairs (1×2 and 2×1), then bigger shapes, and keep a tally for each size so you never count the same rectangle twice. Watch for negative numbers: they cancel out, so a big rectangle can still add up to a small target.
Why do empty cells matter?
An empty cell is worth 0. Add it to a rectangle that already matches and you get another matching rectangle. They’re the ones people miss most often.
How many rectangles are there in a grid?
A 3×4 grid has 60 rectangles, a 4×4 grid has 100 and a 5×5 grid has 225, counting every size from a single cell to the whole grid. Only a few of them add up to the target, and that’s the number you need to find.