In a standard 3x3 tic-ta-toe there are 8 distinct possibilities to create “three in a row”-
3 horizontal, 3 vertical and 2 diagonal.
How many ways are there in a three-dimensional 5x5x5 tic-tac-toe?
How about 6x6x6 ?
(In reply to General Solution
The formula works for n=9 (that is it matches my computer output for n=9).
Posted by Charlie
on 2014-10-23 10:25:31