Math Lab
Home/Class VI/Ch 3/Supercells

Supercells

Look at any row or grid of numbers. Some cells stand out because they are the biggest in their tiny neighbourhood. Those cells have a special name: supercells.

Concept

A supercell in a row of numbers is a cell whose number is bigger than the number in every cell directly touching it. In a one-dimensional row, "touching" means the cell to the immediate left and the cell to the immediate right. So a cell is a supercell if it is strictly bigger than both its neighbours (or its only neighbour if it sits at the end).

For example, in the row:

3,8,5,2,9,4,73, 8, 5, 2, 9, 4, 7

  • The first cell (33) has only one neighbour (88). Since 3<83 < 8, this is not a supercell.
  • 88 has neighbours 33 and 55. 8>38 > 3 and 8>58 > 5. Supercell!
  • 55 has neighbours 88 and 22. 5<85 < 8. Not a supercell.
  • 22 has neighbours 55 and 99. Not a supercell.
  • 99 has neighbours 22 and 44. Supercell!
  • 44: neighbour 99 is bigger. Not a supercell.
  • 77 at the end: only neighbour is 44. 7>47 > 4. Supercell!

So the supercells in this row are 88, 99, and 77.

Some observations:

  • Two supercells cannot stand next to each other. If two neighbours were both supercells, each would have to be bigger than the other , impossible.
  • A supercell can appear at the end of a row, because there is only one neighbour to beat.
  • The biggest number in the row is always a supercell (it beats both its neighbours).

In a two-dimensional grid (a table of numbers), a supercell is one that is bigger than all its neighbours , left, right, above, and below (and sometimes diagonals, depending on the rule we set).

Designing a row or grid with a chosen number of supercells is a puzzle. With 77 cells you can have at most 44 supercells (every other cell). With nn cells you can have at most n/2\lceil n/2 \rceil supercells.

Worked examples

Example 1. Identify supercells in the row 4,1,6,3,2,54, 1, 6, 3, 2, 5.

  • 44: only neighbour 11. 4>14 > 1. Supercell.
  • 11: neighbours 4,64, 6. Not a supercell.
  • 66: neighbours 1,31, 3. 6>16 > 1 and 6>36 > 3. Supercell.
  • 33: neighbours 6,26, 2. Not.
  • 22: neighbours 3,53, 5. Not.
  • 55: neighbour 22. 5>25 > 2. Supercell.
  • Supercells: 4,6,54, 6, 5.

Example 2. Place the numbers 1,2,3,4,5,6,71, 2, 3, 4, 5, 6, 7 in a row so that there are exactly 33 supercells.

  • We want supercells at positions 1,3,51, 3, 5 (or any non-adjacent set of 33).
  • Try: 7,1,6,2,5,3,47, 1, 6, 2, 5, 3, 4.
  • Check: 7>17 > 1 supercell; 1<7,61 < 7, 6 not; 6>1,26 > 1, 2 supercell; 2<6,52 < 6, 5 not; 5>2,35 > 2, 3 supercell; 3<5,43 < 5, 4 not; 4>34 > 3 supercell.
  • Oops, that gives 44 supercells. Adjust to get exactly 33.
  • Try: 5,1,6,2,7,3,45, 1, 6, 2, 7, 3, 4. 5>15 > 1 ✓; 1<5,61 < 5, 6 ✗; 6>1,26 > 1, 2 ✓; 2<6,72 < 6, 7 ✗; 7>2,37 > 2, 3 ✓; 3<7,43 < 7, 4 ✗; 4>34 > 3 ✓. That is 44 supercells.
  • For exactly 33, end with a smaller number: 5,1,6,2,7,4,35, 1, 6, 2, 7, 4, 3. Check the last: 3<43 < 4, so 33 is not a supercell, and 4<74 < 7, also not. Supercells: 5,6,75, 6, 7. Done , exactly 33.

Example 3. What is the maximum number of supercells in a row of 1010 cells?

  • Supercells cannot be adjacent, so at most every other cell.
  • 1010 cells \Rightarrow at most 55 supercells.

Example 4. In a 3×33 \times 3 grid (with only horizontal/vertical neighbours), is the centre cell ever a supercell? When?

  • The centre has 44 neighbours: up, down, left, right. To be a supercell, it must be bigger than all 44.
  • This is possible if the centre is the biggest number in the grid (or biggest among those 55 cells).

Try it yourself

  1. List supercells in: 2,9,3,5,8,1,7,42, 9, 3, 5, 8, 1, 7, 4.
  2. Build a row of 66 cells using 1166 with exactly 22 supercells.
  3. Build a row of 77 cells using 1177 with the maximum number of supercells.
  4. Can a row have 00 supercells? Hint: think about the largest number.
  5. In the row 1,2,3,4,51, 2, 3, 4, 5 (already sorted), find all supercells.
  6. In a 2×22 \times 2 grid using 1144, how many supercells can there be?
  7. Challenge: In a row of 100100 random numbers, roughly what fraction would you expect to be supercells?

Activity

Supercell puzzle. On graph paper, draw a 5×55 \times 5 grid. Fill it with the numbers 11 to 2525 in any order you like , each number used once. Now circle every supercell (bigger than each of its four side-neighbours). How many did you get? Can you fill the grid in a way that gives more supercells? Fewer?

Practice quiz

Quick check on this topic.

Quiz
Quick check : Supercells
6 questions · pick the best answer
Q1

In a row of numbers, a supercell is one that is:

Q2

In 3, 8, 5, 9, 2 : supercells are:

Q3

Can the first number be a supercell?

Q4

Number of supercells in 1, 2, 3, 4, 5:

Q5

In 4, 7, 6, 9, 3, 8 : count supercells:

Q6

The largest number in a row is always: