Path Across the Square….



I found some pleasure in looking at the patterns produced when I restrained the values in the square to –1,0,1  but retaining the constraints that all rows, columns and diagonals still had to have the same sum.


Then I use the individual values in the rows to plot the path in different colors across the square ….

















To see additional patterns from this motif … run the executable file .