A staircase-brick with 3 steps of width 2 is made of 12 unit cubes. Determine all integers
![n](/media/m/a/e/5/ae594d7d1e46f4b979494cf8a815232b.png)
for which it is possible to build a cube of side
![n](/media/m/a/e/5/ae594d7d1e46f4b979494cf8a815232b.png)
using such bricks.
%V0
A staircase-brick with 3 steps of width 2 is made of 12 unit cubes. Determine all integers $n$ for which it is possible to build a cube of side $n$ using such bricks.