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 82 | #9 87 | #2 80 | ∑ 249 |
#3 81 | #5 83 | #7 85 | ∑ 249 |
#8 86 | #1 79 | #6 84 | ∑ 249 |
| ∑ 249 | ∑ 249 | ∑ 249 | ↘ 249 · ↙ 249 |