Vismo · Create · Library · Topics · Guides · Pricing

Euclid's algorithm as squares in a rectangle

A 48 by 18 rectangle is filled with the largest possible squares in stages: two 18-squares leave a 12 by 18 strip, one 12-square leaves a 12 by 6 strip, and two 6-squares complete the tiling exactly. Each tiling stage corresponds to one division step in Euclid's algorithm, and the final square size, 6, is the greatest common divisor. Useful for students learning why the algorithm works geometrically, not just as arithmetic steps.

Narrated · 16:9 · every frame verified for overlaps, spacing and edges before rendering

The prompt that made it

To find gcd(48, 18), tile a 48 by 18 rectangle with the largest squares possible. Two 18-squares leave a 12 by 18 strip; one 12-square leaves a 12 by 6 strip; two 6-squares finish it exactly. Each step is one line of Euclid's algorithm, and the last square, 6, is the gcd.

Make your own version

Make the next one in this series

Related animations

Finding LCM and HCF with Number Blocks
Finding LCM and HCF with Number Blocks

This animation visualizes how to find the Highest Common Factor and Lowest Common Multiple of two numbers usin…

Fibonacci Spiral And The Golden Ratio
Fibonacci Spiral And The Golden Ratio

This animation builds the Fibonacci sequence term by term, then draws matching squares that tile together into…