To find the number of small cubes with **exactly one red face and exactly one blue face**, we first need to determine which cubes have exactly two painted faces in total.
When a cube is cut into 27 equal smaller cubes, it forms a $3 \times 3 \times 3$ grid. The small cubes can be grouped by how many painted faces they have:
* **Corners:** 3 painted faces (8 cubes)
* **Edges (middle of each edge):** 2 painted faces (12 cubes)
* **Face centers:** 1 painted face (6 cubes)
* **Very center:** 0 painted faces (1 cube)
Since we need cubes with 1 red and 1 blue face (2 painted faces total), we only need to look at the **12 edge cubes**.
Imagine the **top and bottom** faces are painted **red**, and the **four side** faces are painted **blue**:
* **Top edges:** There are 4 edges where the red top face meets the blue side faces. The middle cube on each of these edges has 1 red face and 1 blue face. (**4 cubes**)
* **Bottom edges:** Similarly, there are 4 edges where the red bottom face meets the blue side faces. The middle cube on each of these edges has 1 red face and 1 blue face. (**4 cubes**)
* **Vertical edges:** There are 4 vertical edges where two blue side faces meet. The middle cubes here have 2 blue faces and 0 red faces, so they don't count. (**0 cubes**)
Adding them up ($4 + 4$), there are **8** small cubes that have exactly one red face and exactly one blue face.
Gemini 4 Neon New