Magic constant: Difference between revisions
Promote. multiple implementations, no questions
Drkameleon (talk | contribs) (Added Arturo implementation) |
Thundergnat (talk | contribs) (Promote. multiple implementations, no questions) |
||
Line 1:
{{
A magic square is a square grid containing consecutive integers from 1 to N², arranged so that every row, column and diagonal adds up to the same number. That number is a constant. There is no way to create a valid N x N magic square that does not sum to the associated constant.
|