. . . "Notice also that when either n or m is a square, all values are 0 or 1." . .