UPSC CSAT 2023 Q18: Inner Cubes of a 125-Cube Block — Solved

125 identical cubes are arranged in the form of a cubical block. How many cubes are surrounded by other cubes from each side?

  1. 27
  2. 25
  3. 21
  4. 18

Answer: (a) 27

Solution

  1. Find the size of the block. 125 identical cubes form one large cube. A cube with n small cubes along each edge has n × n × n = n³ cubes. Since 125 = 5 × 5 × 5, the block is 5 cubes long, 5 cubes wide and 5 cubes high.
  2. Read the condition. "Surrounded by other cubes from each side" means all six faces of the small cube (top, bottom, front, back, left, right) touch another small cube. So none of its faces can be on the outer surface of the block.
  3. Remove the outer layer. Every cube on the surface has at least one face exposed. Along each edge, the first cube and the last cube are on the surface. That leaves 5 − 2 = 3 hidden cubes along each edge.
  4. Count the hidden core. The cubes that are not on the surface form a smaller cube, 3 × 3 × 3 = 27.
  5. Check by counting the surface cubes. Corners (3 faces exposed): 8. Edges without the corners (2 faces exposed): 12 edges × (5 − 2) = 12 × 3 = 36. Face centres (1 face exposed): 6 faces × (5 − 2)² = 6 × 9 = 54. Surface total = 8 + 36 + 54 = 98. Hidden cubes = 125 − 98 = 27. Both methods agree.

Answer: 27 cubes are surrounded by other cubes on every side.

Option-wise explanation

  • a: correct — The block is 5 × 5 × 5. Removing one layer from each side leaves a 3 × 3 × 3 core, so (5 − 2)³ = 27 cubes touch other cubes on all six faces.
  • b: incorrect — 25 = 5 × 5 is the number of cubes in one face or one layer of the block. The trap is mixing up a square count (one layer) with the cubic count of the hidden core.
  • c: incorrect — No standard count for a 5 × 5 × 5 block gives 21. The real counts are 8 corners, 36 edge cubes, 54 face-centre cubes and 27 inner cubes. 21 can only come from an arithmetic slip, such as taking 6 away from 27.
  • d: incorrect — 18 matches only two layers of the core (3 × 3 × 2) or 3 × 6. It means one layer of hidden cubes was left out, or the dimensions were multiplied wrongly.

How to eliminate

Take the cube root: 125 = 5³, so the edge is 5. Hidden cubes = (5 − 2)³ = 3³ = 27. Among the options, only 27 is a perfect cube. The answer has to be the cube of a whole number, so 25, 21 and 18 drop out without any working. About 15–20 seconds. Attempt this one first. It is one of the quickest marks in the paper.

Know more

Painted / cut cube counting

A large cube made of n × n × n small cubes (or painted on the outside and cut into n³ pieces) splits into four groups:

Position Faces exposed Count
Corners 3 8
Edges (no corners) 2 12 × (n − 2)
Face centres 1 6 × (n − 2)²
Inner core (hidden) 0 (n − 2)³

The four counts always add up to n³. Use this as your check.

Why (n − 2)? Along any edge, the first and last cubes are on the surface. Only n − 2 cubes lie inside.

Worked variant. 216 identical cubes form a cube. How many have exactly one face exposed, and how many are hidden?

  • 216 = 6³, so n = 6 and n − 2 = 4.
  • One face exposed: 6 × 4² = 96.
  • Two faces: 12 × 4 = 48. Three faces: 8.
  • Hidden: 4³ = 64.
  • Check: 8 + 48 + 96 + 64 = 216 ✓

Watch the wording. "Surrounded on all sides", "not visible", "no face painted" and "inner cubes" all mean the (n − 2)³ core. "Exactly one face painted" means the face-centre group. If the block is a cuboid a × b × c, the hidden count is (a − 2)(b − 2)(c − 2).