Magic constant: Difference between revisions

Promote. multiple implementations, no questions
(Added Arturo implementation)
(Promote. multiple implementations, no questions)
Line 1:
{{draft task}}
 
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.
10,327

edits