{"id":78,"date":"2022-05-24T15:45:11","date_gmt":"2022-05-24T15:45:11","guid":{"rendered":"https:\/\/deepwrites.com\/?page_id=78"},"modified":"2022-05-24T15:45:11","modified_gmt":"2022-05-24T15:45:11","slug":"magic-square-formula","status":"publish","type":"page","link":"https:\/\/deepwrites.com\/?page_id=78","title":{"rendered":"Magic Square Formula"},"content":{"rendered":"\n<p>This is a formula I discovered around 3 or 4 years back on how to make a 3&#215;3 magic square such that all numbers in the square are different from each other. The formula goes \u2013<\/p>\n\n\n\n<p>Let the column numbers be c1, c2, c3, and rows are r1, r2, and r3. Let us take a base number as n. then the numbers we need to input to get the magic square is \u2013<\/p>\n\n\n\n<p>(Note:- the column numbers go from left to right and row numbers go from up to down.)<\/p>\n\n\n\n<ol type=\"1\"><li>R1 c1 = n<\/li><li>R2 c2 = 2n<\/li><li>R1 c3 = 3n<\/li><li>R1 c1 = 2n-1<\/li><li>R3 c3 = 2n+1<\/li><li>R1 c2 = n+1<\/li><li>R2 c1 = 3n+1<\/li><li>R3 c2 = 3n-1<\/li><li>R2 c3 = n-1<br>It must be noted that we need to take base n &gt;= 3 otherwise numbers will be repeated.<\/li><\/ol>\n\n\n\n<p>Also, columns and rows can be shifted to make the square look more complicated.<\/p>\n\n\n\n<p>R1 c1 and r3 c3 can be interchanged and the changes in the others can be made accordingly.&nbsp;&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a formula I discovered around 3 or 4 years back on how to make a 3&#215;3<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/deepwrites.com\/index.php?rest_route=\/wp\/v2\/pages\/78"}],"collection":[{"href":"https:\/\/deepwrites.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/deepwrites.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/deepwrites.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deepwrites.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":0,"href":"https:\/\/deepwrites.com\/index.php?rest_route=\/wp\/v2\/pages\/78\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepwrites.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}