A staircase-brick with 3 steps of width 2 is made of 12 unit cubes. Determine all integers

for which it is possible to build a cube of side

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.