you ve get nnn cube split unit cube your task number unit cube cube positive integer 1 n3 number cubes number exactly 1in3 unit cubes number i1 neighbouring share 1 in different subcube size iii unit cube number consecutive number that number x y unit cube subcube number number x x1 xi31 unit cube second subcube number number y y1 yi31 Find print require numeration unit cube cube