Re: How many combinations??
case study:
along x axis: yz(x-3) or 0 if x<4
along y axis: xz(y-3) or 0 if y<4
along z axis: xy(z-3) or 0 if z<4
diagonally along xy plane: 2*z(x-3)(y-3) or 0 if x<4 and y<4
diagonally along yz plane: 2*x(z-3)(y-3) or 0 if z<4 and y<4
diagonally along xz plane: 2*y(x-3)(z-3) or 0 if x<4 and z<4
diagonally across space: 4*(y-3)(x-3)(z-3) or 0 if x<4 and z<4 and y<4
then sum them up.
edit: btw there should be 76 ways of having 4 in a row in 4x4x4 space
Re: How many combinations??
Why not 48 + 4 = 52?
There are 16 sets of cells parallel to each of the xyz-axes: 3 * 16 = 48
There are 4 diagonals: 48 + 4 = 52
Re: How many combinations??
there are also 8 diagonals along each plane, adding another 24
Re: How many combinations??