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:
- The first cell () has only one neighbour (). Since , this is not a supercell.
- has neighbours and . and . Supercell!
- has neighbours and . . Not a supercell.
- has neighbours and . Not a supercell.
- has neighbours and . Supercell!
- : neighbour is bigger. Not a supercell.
- at the end: only neighbour is . . Supercell!
So the supercells in this row are , , and .
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 cells you can have at most supercells (every other cell). With cells you can have at most supercells.
Worked examples
Example 1. Identify supercells in the row .
- : only neighbour . . Supercell.
- : neighbours . Not a supercell.
- : neighbours . and . Supercell.
- : neighbours . Not.
- : neighbours . Not.
- : neighbour . . Supercell.
- Supercells: .
Example 2. Place the numbers in a row so that there are exactly supercells.
- We want supercells at positions (or any non-adjacent set of ).
- Try: .
- Check: supercell; not; supercell; not; supercell; not; supercell.
- Oops, that gives supercells. Adjust to get exactly .
- Try: . ✓; ✗; ✓; ✗; ✓; ✗; ✓. That is supercells.
- For exactly , end with a smaller number: . Check the last: , so is not a supercell, and , also not. Supercells: . Done , exactly .
Example 3. What is the maximum number of supercells in a row of cells?
- Supercells cannot be adjacent, so at most every other cell.
- cells at most supercells.
Example 4. In a grid (with only horizontal/vertical neighbours), is the centre cell ever a supercell? When?
- The centre has neighbours: up, down, left, right. To be a supercell, it must be bigger than all .
- This is possible if the centre is the biggest number in the grid (or biggest among those cells).
Try it yourself
- List supercells in: .
- Build a row of cells using – with exactly supercells.
- Build a row of cells using – with the maximum number of supercells.
- Can a row have supercells? Hint: think about the largest number.
- In the row (already sorted), find all supercells.
- In a grid using –, how many supercells can there be?
- Challenge: In a row of random numbers, roughly what fraction would you expect to be supercells?
Activity
Supercell puzzle. On graph paper, draw a grid. Fill it with the numbers to 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?