Hello, after reading several documents related to the puzzle n ^ 2-1, I have wondered if it is possible to implement in Mathematica, for I have found for other languages ??but nothing to Mathematica, I hope someone of you can give me an idea, thanks.
The problem is this