A wooden cube with edge length ‘n’ (>2) units is painted red all over. By cutting parallel to faces, the cube is cut into n3 smaller cubes each of unit edge length. If the number of smaller cubes with just one face painted Red is equal to the number of smaller cubes completely un painted, then n=
8
Number of cubes obtained from one face which are painted on only one side = (n−2)2
No. of cubes which are unpainted = (n−2)3
(n−2)2×6=(n−2)3
⇒n−2=6⇒n=8