Uploaded February 2023 | Updated September 2026, 2 weeks ago
A double feature on magic squares featuring Bachet's algorithm embedded in the Korean historical drama series Tree with deep roots and the Lee Sallow's geomagic squares.
00:00 Intro
02:52 Part 1: The king's magic squares
09:40 Proof
18:22 The order 5 and 7 magic squares
19:17 Part 2: Geometric magic square
30:59 Thanks!
The Korean historical drama Tree with deep roots is available here viki.com/tv/1585c-tree-with-deep-roots All the magic square action takes place in episodes 1 and 2.
Episode 1: the king's study with magic squares at 33:17 again at 42:00 (father "simplifies" magic squares)
Episode 2: lunchbox action starts around 46:00 then again at 58:39 (the AHA moment)
Lee Sallows's book: Geometric magic squares, Dover (2013)
His website: leesallows.com
His comprehensive online gallery of stunning geomagic squares: geomagicsquares.com
Nice write-up about the 33x33 magic square in Tree with deep roots: tinyurl.com/mszxrf2w
Wiki page on Claude Gaspar Bachet de Méziriac: en.wikipedia.org/wiki/Claude_Gaspar_Bachet_de_Méziriac
Eduard Lucas 3x3 magic square equation: en.wikipedia.org/wiki/Magic_square#Special_methods_of_construction
An app by Ilm Narayana that demonstrates the king's method for magic squares up to order 33 (thank you very much Ilm for accepting my coding challenge:) editor.p5js.org/ilmnarayana/full/KBhql96F9
Bachet's magic square algorithm write-up humanicus.medium.com/bachets-magic-square-c00c8ae4d56f (this article by Humanicus features the same proof that I present in this video)
Here is a magic square from an old Chinese manuscript en.wikipedia.org/wiki/Magic_square#/media/File:Suanfatongzong-790-790.jpg Among other things they are writing from top to bottom which would also have been done in Korea at the time. In fact, in the drama the tech support ladies can be seen writing from top to bottom. So that's a bit of a blooper when it comes to the writing on the tiles. A few other minor issues are discussed in the comments. What's also interesting here that they went for a 33x33 magic square and 33x33=1089. 1089 is a four-digit number and all the tiles are only labelled with three numerals. How did they write 1089 and still make sense? :) Why not use a 31x31 magic square? 31x31=961.
For the second method for building odd order magic squares check out this link: en.wikipedia.org/wiki/Magic_square#A_method_for_constructing_a_magic_square_of_odd_order
Some bugs:
- at 18:48, there is no green circle on the 2nd row 3rd column square.
- at 23:00, I should have said: take any 3 or more of the numbers that add to 15, then the corresponding pieces combine into the 4x4 with the bite (important because, for example, 7 and 8 don't work).
- at 28:20 one of the pentominoes is a hexomino :)
Today's music: Ardie Son - Counterparts
Today's t-shirt: 31415... Cannot remember where I found this t-shirt.
Enjoy!
Burkard
A double feature on magic squares featuring Bachet's algorithm embedded in the Korean historical drama series Tree with deep roots and the Lee Sallow's geomagic squares.
00:00 Intro
02:52 Part 1: The king's magic squares
09:40 Proof
18:22 The order 5 and 7 magic squares
19:17 Part 2: Geometric magic square
30:59 Thanks!
The Korean historical drama Tree with deep roots is available here viki.com/tv/1585c-tree-with-deep-roots All the magic square action takes place in episodes 1 and 2.
Episode 1: the king's study with magic squares at 33:17 again at 42:00 (father "simplifies" magic squares)
Episode 2: lunchbox action starts around 46:00 then again at 58:39 (the AHA moment)
Lee Sallows's book: Geometric magic squares, Dover (2013)
His website: leesallows.com
His comprehensive online gallery of stunning geomagic squares: geomagicsquares.com
Nice write-up about the 33x33 magic square in Tree with deep roots: tinyurl.com/mszxrf2w
Wiki page on Claude Gaspar Bachet de Méziriac: en.wikipedia.org/wiki/Claude_Gaspar_Bachet_de_Méziriac
Eduard Lucas 3x3 magic square equation: en.wikipedia.org/wiki/Magic_square#Special_methods_of_construction
An app by Ilm Narayana that demonstrates the king's method for magic squares up to order 33 (thank you very much Ilm for accepting my coding challenge:) editor.p5js.org/ilmnarayana/full/KBhql96F9
Bachet's magic square algorithm write-up humanicus.medium.com/bachets-magic-square-c00c8ae4d56f (this article by Humanicus features the same proof that I present in this video)
Here is a magic square from an old Chinese manuscript en.wikipedia.org/wiki/Magic_square#/media/File:Suanfatongzong-790-790.jpg Among other things they are writing from top to bottom which would also have been done in Korea at the time. In fact, in the drama the tech support ladies can be seen writing from top to bottom. So that's a bit of a blooper when it comes to the writing on the tiles. A few other minor issues are discussed in the comments. What's also interesting here that they went for a 33x33 magic square and 33x33=1089. 1089 is a four-digit number and all the tiles are only labelled with three numerals. How did they write 1089 and still make sense? :) Why not use a 31x31 magic square? 31x31=961.
For the second method for building odd order magic squares check out this link: en.wikipedia.org/wiki/Magic_square#A_method_for_constructing_a_magic_square_of_odd_order
Some bugs:
- at 18:48, there is no green circle on the 2nd row 3rd column square.
- at 23:00, I should have said: take any 3 or more of the numbers that add to 15, then the corresponding pieces combine into the 4x4 with the bite (important because, for example, 7 and 8 don't work).
- at 28:20 one of the pentominoes is a hexomino :)
Today's music: Ardie Son - Counterparts
Today's t-shirt: 31415... Cannot remember where I found this t-shirt.
Enjoy!
Burkard



![Why did we forget this simple visual solution? (Lills method)
Todays video is about Lills method, an unexpectedly simple and highly visual way of finding solutions of polynomial equations (using turtles and lasers). After introducing the method I focus on a couple of stunning applications: pretty ways to solve quadratic equations with ruler and compass and cubic equations with origami, Horners form, synthetic division and a newly discovered incarnation of Pascals famous triangle.
00:00 Intro
04:14 Lills method
07:31 Free meal
09:51 Square turtles
11:39 Origami turtles
14:16 Iterative turtles
17:32 QED
24:00 Pascals turtle animation
Here is the page with an implementation of Lills method for cubic polynomials that I show in the video.
http://www.qedcat.com/misc/lill_method/
Its an adaptation of this webpage
http://heim.ifi.uio.no/magho/lill/
(I have not been able to find out who put this together originally).
The article that inspired this video is this:
Thomas C. Hull, Solving Cubics With Creases: The Work of Beloch and Lill, The American Mathematical Monthly , Vol. 118, No. 4 (April 2011), pp. 307-315. Here is a link to this article on Thomas Hulls webpage: http://mars.wne.edu/~thull/papers/amer.math.monthly.118.04.307-hull.pdf
Lills original paper:
http://www.numdam.org/article/NAM_1867_2_6 359_0.pdf
Other good references include:
Polynomials as polygons by Serge Tabachnikov
https://www.math.psu.edu/tabachni/prints/Polynomials.pdf
Dan Kalmans book Uncommon Mathematical Excursions: Polynomia and Related Realms (the first chapter is about the Horner form and Lills method)
https://books.google.com.au/books?id=JPq0pS3wrx4C&pg=PA7&source=gbs_toc_r&cad=3#v=onepage&q&f=false
Thank you very much to Marty, Karl and Danil for their help with this video.
One version of todays math t-shirt (Zombie addition): https://www.redbubble.com/people/manikx/works/8929883-zombie-math?p=t-shirt
The piece of music at the end is called Fresh fallen snow by Chris Haugen from the free YouTube music library.
Really neat 1-line Mathematica code for the generation of the Pascal turtle which appeared on Reddit after the video was posted there:
Graphics[Table[Line[ReIm[Accumulate[Table[2^(-n/2)Binomial[n,k]Exp[I(4+2k-n)Pi/4],{k,-1,n}]]]],{n,0,7}]]
and another nice implementation in Python (with a real turtle graphics turtle) by Alex Hall https://repl.it/repls/DeepskyblueFractalPoint
Enjoy :)
Mathologer Patreon: https://www.patreon.com/mathologer
Mathologer PayPal: paypal.me/mathologer
(see the Patreon page for details) Why did we forget this simple visual solution? (Lills method)](https://i.ytimg.com/vi/IUC-8P0zXe8/mqdefault.jpg)






