%I #18 Jan 12 2017 01:45:08
%S 3,4,13,14,76,108,459,844
%N Number of ways to fill in an n X n grid such that the digits of each row and each column form a square number.
%C Leading zeros are forbidden in the rows and columns.
%e The 1 X 1 crosssquare-puzzle is easy; the only solutions are 1, 4, and 9.
%e The 4 solutions for n=2 are [16/64], [36/64], [64/49], [81/16].
%e Or, writing them as 2 X 2 matrices,
%e 16 36 64 81
%e 64 64 49 16
%K nonn,base,more
%O 1,1
%A _Matthijs Coster_, Apr 29 2005
%E Corrected and extended by _Luca Petrone_, Jan 08 2017
|