出場年 (ISEF回)
2016 (67)
開催地
フェニックス, アリゾナ - Phoenix, Arizona
学校
広島大学附属福山高等学校 - Hiroshima University High School
発表者
田中愛登 - Aito Tanaka
カテゴリ
タイトル (英語)
Algorithm for Calculating All Fifth-order Magic Square Arrangements
タイトル (日本語)
5次魔方陣を求める
アブストラクト (英語)
Calculating all fifth-order magic square (5MS) arrangements with a high-performance computer (HPC) was performed in 156 minutes in 2014. My aim in the present research was to develop and implement an algorithm that is able to calculate them more efficiently. An outline of the developed algorithm is as follows. Step 1: We generate 5MS using distinct non-negative integers less than or equal to 24 which fulfill the condition that the 5 integers in each rows and the 5-digit integers of each columns line up in ascending order. Let us define such a 25-digit 25-adic number as M. Step 2: Keeping integers in the top row and replacing integers in each of other row, we make each column sum to 60. Step 3: 5MSs are constructed on the basis of preservation of the sum of each row and column in the replacement of rows and columns. Moreover, we constructed a new 5MS, M’, by taking a known 5MS, M, and replacing each cell value, N, by 24 − N. I defined the pair M and M′ as “twins.” The algorithm adds M (or M’) to its list of found 5MSs if it is not already present in this list. The time required for the optimized parallel calculation on 176 cores is 44 seconds without using twins. Using twins, we calculated all the 5MS arrangements in 28 seconds. Taking advantage of twins, my goal is to calculate all 6MS arrangements that have not yet been calculated.
アブストラクト (日本語)