Enter max number:64 i= 0 x= 0 y= 0 z= 0 i= 1 x= 0 y= 0 z= 0 i= 2 x= 0 y= 0 z= 0 i= 3 x= 0 y= 1 z= 0 i= 4 x= 1 y= 1 z= 0 i= 5 x= 2 y= 1 z= 0 i= 6 x= 3 y= 1 z= 0 i= 7 x= 4 y= 2 z= 1 i= 8 x= 6 y= 2 z= 1 i= 9 x= 8 y= 2 z= 1 i= 10 x= 10 y= 2 z= 1 i= 11 x= 12 y= 3 z= 3 i= 12 x= 15 y= 3 z= 3 i= 13 x= 18 y= 3 z= 3 i= 14 x= 21 y= 3 z= 3 i= 15 x= 24 y= 4 z= 6 i= 16 x= 28 y= 4 ..