earticle

논문검색

An Efficient Algorithm for Constructing all Magic Squares of Order Four

원문정보

초록

영어

Like the Sudoku puzzle, the magic square involves recreational mathematical contexts and has attracted considerable attention. Although there are many researches available, few of them could provide an efficient solution for constructing all magic squares of order four. In this paper, we firstly formulate constraints of magic squares of order four by a collection of linear equations and provide an intuitive but computationally infeasible solution to these equations. Then, we propose an efficient algorithm for constructing all magic squares of order four. The algorithm transforms solving these equations into finding all possible permutations of seven free variables from sixteen consecutive natural integers based on the Gaussian Elimination method. Furthermore, we show the effectiveness of the proposed algorithm by 48 magic squares in the experimental section.

목차

Abstract
 1. Introduction
 2. Magic Squares of Order Four
 3. An Infeasible Solution
 4. Methodology
  4.1. Gaussian Elimination
  4.2. Optimization Algorithm
 5. Experiment
 6. Conclusion
 References

저자정보

  • Changyu Liu College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China, School of Computer Science and Engineering, South China University of Technology, Guangzhou 510006, China
  • Tiezhu Zhao Computer College, Dongguan University of Technology, Dongguan 523808, China
  • Bin Lu School of Computer Science, Wuyi University, Jiangmen 529020, China

참고문헌

자료제공 : 네이버학술정보

    함께 이용한 논문

      ※ 원문제공기관과의 협약기간이 종료되어 열람이 제한될 수 있습니다.

      0개의 논문이 장바구니에 담겼습니다.