Awfāq Magic Square & Exact Bayt al-Kasr Solver
Constructs orthogonal 3×3, 4×4, and 5×5 magic squares for any target constant using exact Euclidean division and Bayt al-Kasr remainder placement.
#4 21 | #9 26 | #2 19 | ∑ 66 |
#3 20 | #5 22 | #7 24 | ∑ 66 |
#8 25 | #1 18 | #6 23 | ∑ 66 |
| ∑ 66 | ∑ 66 | ∑ 66 | ↘ 66 · ↙ 66 |