ExamShortcut
medium importance~0-1 Q in Tier 16 formulas⚡ 7 shortcuts3 subtopics
All subtopics·Subtopic 3 of 3

Painted cube cut into small cubes

🔒 Log in to track
⏱ 5 min read🧩 8 question types🎯 17 practice Q
The idea in one minute

A big cube of side n is painted on the outside and cut into n cubed small cubes. A small cube keeps paint only on the faces that were on the surface. Corners have 3 painted faces, edges have 2, face centres have 1, and the hidden core has none. Always use n minus 2 for edges, faces and the core.

01

The idea

Take a big cube of side nn. Paint all six faces. Cut it into n×n×nn \times n \times n small cubes.

A small cube keeps paint only on faces that were on the outside. Its position decides how many faces are painted.

02

The four counts

Painted facesWhere the cube isHow many
3corner88
2on an edge, not a corner12(n−2)12(n-2)
1middle of a face6(n−2)26(n-2)^2
0inside(n−2)3(n-2)^3

For n=4n = 4: 88, 2424, 2424 and 88. They add to 6464.

Rule: Corners are always 8, whatever the size. Every other count uses (n−2)(n-2).

03

Why n minus 2

Each edge has nn small cubes. Two of them are corners. That leaves n−2n-2.

Each face has n×nn \times n small cubes. Remove the border ring and (n−2)×(n−2)(n-2) \times (n-2) are left.

Peel one layer off every side of the big cube. A core of (n−2)3(n-2)^3 cubes is left.

The four counts must add up to n3n^3. Try n=3n = 3: 8+12+6+1=278 + 12 + 6 + 1 = 27.

Tip: If your counts do not add to n3n^3, one of them is wrong.

04

At least questions

  • At least one face painted: all cubes except the core, n3−(n−2)3n^3 - (n-2)^3.
  • At least two faces painted: corners plus edges, 8+12(n−2)8 + 12(n-2).

A cube of side 6 has 216−64=152216 - 64 = 152 cubes with at least one painted face.

05

Finding n

Sometimes a count is given and nn is asked. Divide, then add 2.

If 24 cubes have exactly two painted faces, then 12(n−2)=2412(n-2) = 24. So n−2=2n - 2 = 2 and n=4n = 4.

A big cube of side 12 cm is cut into small cubes of side 3 cm. Then n=12÷3=4n = 12 \div 3 = 4.

06

Cuboids

For an a×b×ca \times b \times c block, each side keeps its own (side−2)(\text{side} - 2).

  • Corners: 88.
  • Edges: 4[(a−2)+(b−2)+(c−2)]4[(a-2)+(b-2)+(c-2)].
  • Faces: 2[(a−2)(b−2)+(b−2)(c−2)+(c−2)(a−2)]2[(a-2)(b-2)+(b-2)(c-2)+(c-2)(a-2)].
  • Core: (a−2)(b−2)(c−2)(a-2)(b-2)(c-2).

For 5×4×35 \times 4 \times 3: edges 4(3+2+1)=244(3+2+1) = 24 and core 3×2×1=63 \times 2 \times 1 = 6.

07

Worked example

A cube of side 5 is painted and cut into 125 small cubes.

  1. Corners: 88.
  2. Edges: 12×3=3612 \times 3 = 36.
  3. Face centres: 6×32=546 \times 3^2 = 54.
  4. Core: 33=273^3 = 27.

Check: 8+36+54+27=1258 + 36 + 54 + 27 = 125. All counts are right.

08

Only some faces painted

If only some faces are painted, count face by face. Each painted face has n×nn \times n small cubes. A cube on the edge shared by two painted faces is counted twice, so remove it.

Top and front painted, n=4n = 4: 16+16=3216 + 16 = 32. The shared edge has 4 cubes with two painted faces. So exactly one painted face is 32−2×4=2432 - 2 \times 4 = 24.

Watch: Two opposite painted faces share no cubes, so nothing is counted twice.

09

Question types you will see

Each type: how to recognise it, the method step by step, and one question to try.

Type 1very common2 practice Q

Three faces painted (corners)

How to spot it:

A painted cube is cut up. The question asks for cubes with three painted faces.

Method
  1. Recall that only corner cubes have three painted faces.

  2. A cube has 8 corners.

Why it works:

A small cube touches three big faces only at a corner of the big cube.

Try this

A cube of side 7 is painted on all faces and cut into small cubes of side 1. How many small cubes have three painted faces?

Show solution
  1. Only the corner cubes have three painted faces.

  2. A cube has 8 corners.

Answer

8

Type 2very common2 practice Q

Two faces painted (edges)

How to spot it:

The question asks for cubes with exactly two painted faces.

12(n−2)12(n-2)
Method
  1. Find n, the number of small cubes along one edge.

  2. Each edge has n - 2 cubes that are not corners.

  3. Multiply by 12 edges.

Why it works:

Each of the 12 edges has n cubes, and 2 of them are corners.

Try this

A cube of side 5 is painted and cut into 125 small cubes. How many have exactly two painted faces?

Show solution
  1. n=5n = 5, so each edge has 5−2=35 - 2 = 3 such cubes.

  2. 12×3=3612 \times 3 = 36.

Answer

36

Type 3very common2 practice Q

One face painted (face centres)

How to spot it:

The question asks for cubes with exactly one painted face.

6(n−2)26(n-2)^{2}
Method
  1. Find n.

  2. On each face, remove the border ring. A block of (n - 2) by (n - 2) is left.

  3. Multiply by 6 faces.

Why it works:

Cubes in the middle of a face touch no edge, so they have only that one face painted.

Try this

A cube of side 6 is painted and cut into small cubes of side 1. How many have exactly one painted face?

Show solution
  1. n−2=4n - 2 = 4.

  2. One face: 4×4=164 \times 4 = 16.

  3. 6×16=966 \times 16 = 96.

Answer

96

Type 4common2 practice Q

No face painted (core)

How to spot it:

The question asks for cubes with no paint at all.

(n−2)3(n-2)^{3}
Method
  1. Find n.

  2. Peel one layer off every side.

  3. Cube the side that is left: (n - 2) cubed.

Why it works:

The cubes inside never touched the outside, so they stay unpainted.

Try this

A cube of side 5 is painted and cut into small cubes of side 1. How many small cubes have no painted face?

Show solution
  1. n−2=3n - 2 = 3.

  2. 33=273^3 = 27.

Answer

27

Type 5common2 practice Q

At least or combined counts

How to spot it:

The question says at least one, at least two, or asks for two classes added together.

n3−(n−2)3n^{3} - (n-2)^{3}
Method
  1. At least one painted: all cubes minus the core.

  2. At least two painted: corners plus edges.

  3. For any other mix, add the classes you need.

Why it works:

Every class is already counted, so a combined count is a sum of classes.

Try this

A cube of side 4 is painted and cut into small cubes of side 1. How many have at least two painted faces?

Show solution
  1. Corners: 88.

  2. Edges: 12×2=2412 \times 2 = 24.

  3. 8+24=328 + 24 = 32.

Answer

32

Type 6occasional2 practice Q

Painted cuboid

How to spot it:

The block is a by b by c, not a cube.

Method
  1. Write a - 2, b - 2 and c - 2.

  2. Corners: 8.

  3. Edges: 4 times the sum of the three (side - 2) values.

  4. Faces and core use products of the (side - 2) values.

Why it works:

Each side of a cuboid has its own length, so each keeps its own (side - 2).

Try this

A cuboid measuring 5 by 4 by 3 is painted and cut into small cubes of side 1. How many have exactly two painted faces?

Show solution
  1. (5−2)+(4−2)+(3−2)=3+2+1=6(5-2)+(4-2)+(3-2) = 3+2+1 = 6.

  2. 4×6=244 \times 6 = 24.

Answer

24

Type 7occasional2 practice Q

Find n from a count or a size

How to spot it:

A count of painted cubes, or the edge lengths of the big and small cubes, is given. Another count is asked.

Method
  1. Turn the given count into n: divide by 12 (edges) or by 6 and take the square root (faces).

  2. Add 2 to get n. If edges are in cm, n = big edge divided by small edge.

  3. Now find the count that is asked.

Why it works:

The formulas run both ways, so a count fixes n.

Try this

36 small cubes have exactly two painted faces. How many small cubes have exactly one painted face?

Show solution
  1. 12(n−2)=3612(n-2) = 36, so n−2=3n - 2 = 3 and n=5n = 5.

  2. One face: 6×32=546 \times 3^2 = 54.

Answer

54

Type 8occasional

Only some faces painted

How to spot it:

The question says which faces are painted, such as the top and one side, or two opposite faces.

Method
  1. Count the small cubes on each painted face: n times n.

  2. If two painted faces touch, they share an edge of n cubes.

  3. Exactly one painted face = sum of faces minus twice the shared cubes.

Why it works:

The cubes on a shared edge have two painted faces, so they must leave the exactly-one count.

Try this

A cube of side 4 is painted on its top face and on its front face only. It is cut into 64 small cubes. How many have exactly one painted face?

Show solution
  1. Top face: 4×4=164 \times 4 = 16. Front face: 1616.

  2. The shared edge has 4 cubes with two painted faces.

  3. 16+16−2×4=2416 + 16 - 2 \times 4 = 24.

Answer

24

10

Formula sheet

Two faces painted
12(n−2)12(n-2)

Cubes on the edges, not the corners.

One face painted
6(n−2)26(n-2)^2

Cubes in the middle of each face.

No face painted
(n−2)3(n-2)^3

The hidden inner block.

Total check
8+12(n−2)+6(n−2)2+(n−2)3=n38 + 12(n-2) + 6(n-2)^2 + (n-2)^3 = n^3

The four counts add up to all the small cubes.

11

Shortcuts that save time

⚡ Check the total

The four counts must add up to n cubed. Use it to catch mistakes.

Example

For a cube of side 5, check the four counts.

Show solution
  1. Corners 88; edges 12×3=3612 \times 3 = 36; faces 6×9=546 \times 9 = 54; core 2727.

  2. 8+36+54+27=125=538 + 36 + 54 + 27 = 125 = 5^3.

Answer

125, so the counts are right

⚡ At least one painted

Take all the small cubes and remove the core.

Example

A cube of side 6 is painted and cut. How many small cubes have at least one painted face?

Show solution
  1. Total: 63=2166^3 = 216.

  2. Core: 43=644^3 = 64.

  3. 216−64=152216 - 64 = 152.

Answer

152

12

Mistakes to avoid

Where most students lose marks on this subtopic.

Mistake 01

Using n instead of (n - 2) in the formulas.

Edges, faces and the core all use (n - 2). Subtract 2 before you square or cube.

Mistake 02

Thinking the number of corner cubes changes with n.

A cube always has 8 corners, so 3 painted faces always means 8 cubes.

Mistake 03

Counting corners again inside the edge cubes.

Edge cubes are only the n - 2 cubes between the corners.

Mistake 04

Using the cube formulas for a cuboid.

Use each side's own (side - 2): a - 2, b - 2 and c - 2.

Mistake 05

Forgetting to subtract the shared edge when only some faces are painted.

Two painted faces that touch share one edge. Remove those cubes from the exactly-one count.

13

Quick revision

Read this the night before the exam.

  • 3 painted faces: 8 corners, for any n.

  • 2 painted faces: 12(n−2)12(n-2).

  • 1 painted face: 6(n−2)26(n-2)^2.

  • 0 painted faces: (n−2)3(n-2)^3.

  • The four counts add to n3n^3.

  • At least one: n3−(n−2)3n^3 - (n-2)^3. At least two: 8+12(n−2)8 + 12(n-2).

  • Given a count? Divide, then add 2 to get n.

14

Practice: 17 questions

Sets of 10, mixed across the question types above. Every answer has a step-by-step explanation.

Topic test · 10 questions

Suggested time 5 min · wrong answers go to your mistake notebook automatically.