See also: History of China

... such a way that the sum of the numbers in any row or column gives the same result. Magic squares have a long history; the oldest known example dates back to 2800 B.C. ...