N×N grid filled with distinct values 1..N² so that every row, column, and main diagonal sums to the magic constant N(N²+1)/2. Substrate-native distinct + line-sum projection.
size N
magic constant = 15
Note: N=4 takes longer (~10s+) and N=5 is at the edge of brute-force feasibility for this solver.