Reblogged from The Math Less Traveled:
In an idle moment a while ago I wrote a program to generate "factorization diagrams". Here's 700:
It's easy to see (I hope), just by looking at the arrangement of dots, that there are $latex 7 \times 5 \times 5 \times 2 \times 2$ in total.
Here's how I did it. First, a few imports: a function to do factorization of integers, and a…