Books about
Magic Squares
at Amazon.Canada


Amazing Math Whiz

products available:

Buttons, Magnets,
t-shirts, Tote bags,
Teddy bears, & more

Books about Magic Squares at Amazon.com

Be sure to visit the
Magic Squares Main Menu
for other topics including Irregular Squares, Algebraic Squares and more.

Other 4N+2 Magic Square Sizes:
Detailed Directions for: 6x6 * 10x10 * 14x14 *
and many more examples
* 18 * 22 * 26 * 30 * 34 * 38 * 42 * 46 * 50 * 54 * 58 *
* 62 * 66 * 70 * 74 * 78 * 82 * 86 * 90 * 94 * 98 *

A 50x50 Magic Square

Scroll down to see a magic square
in which all rows, columns, and both diagonals
add up to the same magic sum (62525)

A Magic Square is a square of numbers in which every row, every column, and both diagonals add up to the same number. This number is often called the magic sum. The 50 by 50 magic square shown below has a magic sum equal to 62525.

Though magic squares can be made with non-consecutive and non-regular sequences, they are usually seen made up of consecutive numbers, possibly because it is harder to be consecutive.

The method described below can be used to create all 4N+2 even-size squares that are at least 10x10 in size, where the size is equal to double any odd number. This is just one method for creating magic squares, there are many other methods, just as there are millions and millions and millions (many millions if not billions or trillions) of these squares to be found.

Read more about Magic Squares

If you'd like to read more about magic squares, click one of these links to look for books about Magic Squares at Amazon.com, at Amazon.canada, and at Amazon.co.UK.

Books about
Magic Squares
at Amazon.co.UK


Support Our Site
by purchasing our
Amazing Math Whiz
products

and other
Amazing Messages



How to Create a 50x50 Magic Square
with a Magic Sum of 62525

The method described on this page can be used to create 14x14, 18x18 and larger 4N+2 magic squares

Steps:

  1. Create an overlay 50x50 Magic Square grid consisting only of the numbers 0, 1, 2 and 3
  2. Create a 25x25 Magic Square (half the size of our final 50x50 square) that starts with the number 1
  3. Double the size of that 25x25 Magic Square, quadrupling every number, to create a 50x50 magic square that has each number in it four times.
  4. Subtract the numbers in the overlay grid from the quadrupled numbers in the doubled square to make your new square.
    Alternate directions: You may create a 25x25 Magic Square that starts with zero in step 2 if you add the two squares together in step 4.

Step One: Create a 50x50 Magic Square overlay grid

Since we are going to create a magic square that contains each number four times, we need to also create a magic square consisting only of the numbers 0, 1, 2 and 3, and we need to make sure that each 2x2 part of this overlay grid contains all four numbers.

When I created my 6x6 Magic Square page, I knew that one method of creating these squares was to simply double the size of the 3x3 magic square, quadrupling its values, then use brute-force to find an overlay pattern that satisfied my requirements (every number from 0 to 3 overlaying each identical number in the quadrupled square, in such a way that every row, column and diagonal added up to 9). Imagine my surprise when I found over a million different overlay squares. You can see information about how I brute-forced that solution at www.mazes.com/magic-squares/magic-06.html.

Obviously, I do not want to brute-force a 10x10 or larger 4N+2 magic square (there must be billions and billions of answers), so I decided to seek out a method of creating an overlay grid that will work with all 4N+2 squares larger than 6x6. I decided to use binary numbers as part of my search for a universal method. Binary (or base two) numbers, as many math students know, use the digits 0 and 1 to represent any number. The binary equivalents for the decimal (or base 10) numbers 0, 1, 2 and 3 are 00, 01, 10, and 11. Since half of each binary number represents whether or not the 1 is present, and half of each number represents whether or not the two is present, I decided to create two temporary overlay grids, one for the value 1, and one for the value 2, so that each square was independently magic.

Also, I wanted to make it easy for you, my visitor, to use the same method with pencil and paper, so I wanted to use basically the same grid twice, just doubling the "one" grid to get the "two" grid, with a simple rotation to make sure that the sum of the values will be different.

Create a 50x50 Magic Square of all 1's and 0's

Here are the steps to create the first grid (based on the pattern '11100000000000000000000000001111111111111111111111'):
  • Draw a 50x50 grid on your paper.
  • Put the number 1 into the first column of the first 3 rows of your grid
  • Put the number 0 into the first column of the next 25 rows of your grid
  • Put the number 1 into the remaining spaces of the first column.
  • Double-check your work. You should now have 25 1's and 25 0's in the first column, which I have bolded so you can see it clearly. As a further double-check, you have used the digits in the pattern '11100000000000000000000000001111111111111111111111')
  • For the second column, put the opposite number ... if there is a 1 in the first column, put 0 in the second column, and vice-versa.
  • Double-check. The first column and the second column number should add up to 1.
  • Copy the first column to the third column, and copy the second column to the fourth column.
  • Turn the first two columns upside-down and copy them into the fifth and sixth columns.
  • Copy the fifth and sixth columns to the rest of the square.
  • Double-check. Each row, each column and both diagonals should have exactly 25 1's in it.

Create a 50x50 Magic Square of all 2's and 0's

Here are the steps to create the second grid:

  • Rotate the first grid 90 degrees counter-clockwise and
  • double all the numbers.
  • You can see how the bolded left column has become the bolded bottom row after rotation.

Add Magic Square 1 to Magic Square 2

And, of course, here are the steps to create the third grid, which is your overlay grid:

  • Add the two squares together
  • You should end up with every 2x2 block containing all four digits, 0, 1, 2 and 3.
  • (I have bolded alternating 2x2 blocks so that you can see this more easily.)
  • and, if you have done the work properly, each row, each column, and both diagonals add up to the same magic sum.
  • Lay this grid aside for a few minutes. You won't need it until after you've finished your quadrupled grid

Step Two: Create a 25x25 Magic Square

Next, you need to create a magic square that is half the size as your desired square. Since this half-sized square is odd (25x25), it is easy to create. Just follow the method you see described at the bottom of every odd square page at www.mazes.com/magic-squares. Here is one such square, in which I started with the number 1 in the middle of the top row, then moved one square up one and two squares to the right after each move, except when the next move would be blocked, in which case I dropped down one for the next number.

I deliberately used a different magic square than the one you learned in school, just because I enjoy being different.

Now that you have an odd square, we are ready for the next step

Step Three:  Double the size of the 25x25 magic square
and quadruple all the numbers

Draw a 50x50 grid, then, for each number in the 25x25 magic square:
  • Multiply the number times four (quadruple it), and
  • Write that number four times, into a 2x2 area of the new grid that corresponds to the position of the original number in the 25x25 square. (I have bolded alternating 2x2 blocks so you can see how the 25x25 square has expanded into a 50x50 square.)

Step Four: Put the Quadrupled and the Overlay grids together

This last part should be simple.
  • If the smallest number in the quadrupled grid is 4, use subtraction: Quadrupled minus Overlay = Magic Square
    The lowest number in the new Magic Square will be one, just like in the original 25x25 magic square.
     
  • If the smallest number in the quadrupled grid is 0, use addition: Quadrupled plus Overlay = Magic Square
    The lowest number in the new Magic Square will be zero, just like in the original.
We have many
Amazing Message
stores.

Click each image to see
other amazing product choices

(each product imprinted
with an actual
solvable maze puzzle



Amazing Teacher



Amazing Student



Amazing Student



Amazing Reader



Amazing Artist

See our choices @
www.mazes.com/cp



Please
Support Our Site



buy
Amazing Math Whiz
products from
our online store



Many other
Amazing Messages
are available


Please visit
www.MAZES.com/cp/
for details

A 50-by-50 Magic Square

(Magic Sum = 62525)

19571956761760206520648698682173217297797622812280108510842389238811931192249724961303130276131113101151141419141822322215271526331330163516344394381743174254754618511848653652
19591958763762206720668718702175217497997822832282108710862391239011951194249924981301130054130913081131121417141622122015251524329328163316324374361741174054554418491850655654
206120608658642169216897397222772276108110802385238411891188249324921297129610110013071306111110141514142192181523152232732616311630435434173917385435421847184665165019551952757756
206220638668672171217097597422792278108310822387238611911190249524941299129810310213051304109108141314122172161521152032532416291628433432173717365415401845184464964819531954759758
2164216596896922732272107710762381238011851184248924881293129297961401140010510414111410215214151915183233221627162643143017351734539538184318426476461951195075575420592056861860
2166216797097122752274107910782383238211871186249124901295129499981403140210710614091408213212151715163213201625162442942817331732537536184118406456441949194875375220572058863862
2268226910721073237723761181118024852484128912889392139713962012001405140420920815151514319318162316224274261731173053553418391838643642194719467517502055205485985821632160965964
2270227110741075237923781183118224872486129112909594139913982032021407140621121015131512317316162116204254241729172853353218371836641640194519447497482053205285785621612162967966
2372237311761177248124801285128489881393139219719615011500205204150915083133121619161842342217271726531530183518346396381943194274774620512050855854215921589639622267226410691068
2374237511781179248324821287128691901395139419919815031502207206151115103153141617161642142017251724529528183318326376361941194074574420492048853852215721569619602265226610711070
2476247712801281858413891388193192149714963013001505150430930816131612417416172317225275261831183063563419391938743742204720468518502155215495995822632262106710662371236811731172
2478247912821283878613911390195194149914983033021507150631131016151614419418172117205255241829182863363219371936741740204520448498482153215295795622612260106510642369237011751174
8081138413851891881493149229729616011600305304160916084134121717171652152018271826631630193519347397382043204284784621512150955954225922581063106223672366117111702475247212771276
8283138613871911901495149429929816031602307306161116104154141719171852352218251824629628193319327377362041204084584421492148953952225722561061106023652364116911682473247412791278
1841851488148929329215971596401400160516044094081713171251751618211820625624193119307357342039203884384221472146951950225522541059105823632362116711662471247012751274797613811380
1861871490149129529415991598403402160716064114101715171451951818231822627626192919287337322037203684184021452144949948225322521057105623612360116511642469246812731272777813831382
2882891592159339739617011700405404170917085135121817181662162019251924729728203520348398382143214294794622512250105510542359235811631162246724661271127075741379137818318014851484
2902911594159539939817031702407406171117105155141819181862362219271926731730203320328378362141214094594422492248105310522357235611611160246524641269126873721377137618118214871486
3923931696169750150017051704509508181318126176161921192072572420292028833832213921389439422247224610511050235523541159115824632462126712667170137513741791781483148228728415891588
3943951698169950350217071706511510181518146196181923192272772620312030835834213721369419402245224410491048235323521157115624612460126512646968137313721771761481148028528615911590
4964971800180150550418091808613612191719167217202025202482982821332132937936224322421047104623512350115511542459245812631262676613711370175174147914782832821587158639138816931692
4984991802180350750618111810615614191919187237222027202683183021352134939938224122401045104423492348115311522457245612611260656413691368173172147714762812801585158438939016951694
6006011804180560860919121913716717202020218248252128212993293322362237104010412346234711501151245424551258125962631366136717017114741475278279158215833863871690169149449317961797
6026031806180761061119141915718719202220238268272130213193493522382239104210432344234511481149245224531256125760611364136516816914721473276277158015813843851688168949249517981799
6046051908190971271320162017820821212421259289292232223310361037234023411144114524502451125412555859136213631661671470147127427515781579382383168616874904911794179559859719001901
6066071910191171471520182019822823212621279309312234223510381039234223431146114724482449125212535657136013611641651468146927227315761577380381168416854884891792179359659919021903
7087092012201381681721202121924925222822291032103323362337114011412444244512481249545513581359162163146614672702711574157537837916821683486487179017915945951898189970270119041905
7107112014201581881921222123926927223022311034103523382339114211432446244712501251525313561357160161146414652682691572157337637716801681484485178817895925931896189770070319061907
8138122117211692092122242225102810292332233311361137244024411244124548491352135315815914621463266267157015713743751678167948248317861787590591189418956986992002200370670520082009
8158142119211892292322262227103010312334233511381139244224431246124750511354135515615714601461264265156815693723731676167748048117841785588589189218936966972000200170470720102011
9179162221222010241025232823291132113324362437124012414445134813491521531456145726226315661567370371167416754784791782178358658718901891694695199819998028032006200781080921122113
9199182223222210261027233023311134113524382439124212434647135013511541551458145926026115641565368369167216734764771780178158458518881889692693199619978008012004200580881121142115
1021102023252324112811292432243312361237404113441345148149145214532562571560156136636716701671474475177817795825831886188769069119941995798799210221038068072110211191491322162217
1023102223272326113011312434243512381239424313461347150151145414552582591562156336436516681669472473177617775805811884188568868919921993796797210021018048052108210991291522182219
1125112424292428123212333637134013411441451448144925225315561557360361166416654704711774177557857918821883686687199019917947952098209990290321062107910911221422151018101723202321
1127112624312430123412353839134213431461471450145125425515581559362363166616674684691772177357657718801881684685198819897927932096209790090121042105908909221222131016101923222323
1229122833321336133714014114441445248249155215533563571660166146446517681769574575187818796826831986198779079120942095898899220222039069072210221110141015231823191122112124242425
1231123035341338133914214314461447250251155415553583591662166346646717701771572573187618776806811984198578878920922093896897220022019049052208220910121013231623171120112324262427
133313321371361440144124424515481549352353165616574604611764176556856918721873678679198219837867872090209189489521982199100210032206220710101011231423151118111924222423122612252829
133513341391381442144324624715501551354355165816594624631766176757057118741875676677198019817847852088208989289321962197100010012204220510081009231223131116111724202421122412273031
1437143624124015441545348349165216534564571760176156456518681869672673197619777827832086208789089121942195998999230223031006100723102311111411152418241912221223262713301329132133
1439143824324215461547350351165416554584591762176356656718701871674675197819797807812084208588888921922193996997230023011004100523082309111211132416241712201221242513281331134135
1541154034534416481649452453175617575605611864186566866919721973776777208020818868872190219199499522982299110211032306230711101111241424151218121922231326132713013114341433236237
1543154234734616501651454455175817595625631866186767067119741975778779208220838848852188218999299322962297110011012304230511081109241224131216121720211324132512812914321435238239
1645164444944817521753556557186018616646651968196977277320762077880881218421859909912294229510981099240224031106110724102411121412151819132213231261271430143123423515381537340341
1647164645145017541755558559186218636666671970197177477520782079882883218621879889892292229310961097240024011104110524082409121212131617132013211241251428142923223315361539342343
1749174855355418581859662663196619677707712074207587887921822183986987229022911094109523982399120212032404240512081209121313161317120121142414252282291532153333633716401641444445
1751175055555218571856661660196519647697682073207287787621812180985984228922881093109223972396120112002407240612111210151413191318123122142714262312301535153433933816431642447446
18531852657658196319627677662071207087587421792178983982228722861091109023952394119911982503250212071206981313131211711614211420225224152915283333321637163644144017451744549548
1855185465965619611960765764206920688738722177217698198022852284108910882393239211971196250125001205120411101315131411911814231422227226153115303353341639163844344217471746551550

This Magic Square was created by John Knoderer, a webmaster and computer programmer who is available to telecommute to your location. (In other words, John would be delighted to create puzzles for your website or do other amazing work for you on a contract basis.)

If you found this page useful, and especially if you printed this page to distribute to students, we invite you to send a suitable donation to John (address below) or PayPal your donation to Donations (at) Mazes.com.

You can find more of John's puzzling materials at www.MAZES.com and at www.GodLovesEveryone.org. You can reach John at Webmaster (at) Mazes.com.

Fine Print: If you print and duplicate these magic squares for classroom use or other multiple copy use, please send a payment of $(however much you think this is worth) to the author. John puts a GREAT DEAL of time into creating and posting materials to the internet for you to use (and enjoy). Your donations will help pay bills and keep new materials coming your way.

Send your donations to:

John Knoderer
www.MAZES.com
P O Box 235
Sulphur Springs, AR 72768 USA

www.MAZES.com
www.GodLovesEveryone.org
www.DriverExam.org

E-mail the webmaster: webmaster (at) mazes.com

The contents of this page are copyright 2005 by the author. However, we recognize that teachers may wish to download and use our materials with their students. We give that permission, as long as the teacher sends what they believe to be a fair donation to the author each time the material is used.