No.of pieces | Formula | Answrs for 6×7×8 cube |
3-face painted (Corner pieces) |
23 | 8 |
2-face painted piece |
4[(nx−2)+(ny−2)+(nz−2)] | 4[(8−2)+(7−2)+(6−2)]=60 |
Only one face painted pieces |
2[(nx−2)(ny−2)+(ny−2)(nz−2)+(nz−2)(nx−2)] | 2[(8−2)(7−2)+(7−2)(6−2)+(8−2)(6−2)] |
Pieces no face Painted |
(nx−2)(ny−2)(nz−2) | (8−2)(7−2)(6−2)=120 |