prime factorization trees
@matthen281K followers
186,886 views
28 Comments
Comments from the original post on X (Twitter)

@matthen2
prime trees for 1 up to 160
208 likes

@AlanZucconi
I love the gentle shaking! 🌳
17 likes

@matthen2
Thanks! I just added some random noise to the angles!
9 likes

@AlanZucconi
I was actually wondering if that was intentional, or a by-product of using a force-directed graph!
1 like

@ruuddotorg
Reminds me of:
12 likes

@dodecahedra
Here's another similar thing:
6 likes

@tend0g
This is awesome. Any reason why you went from lowest factor to highest factor? I actually think it might look nicer the other way around
4 likes

@matthen2
no reason, just an arbitrary choice! Here is 60 for both ways:
18 likes

@matthen2
and here is 210
6 likes

@tend0g
Thanks for sharing these!
1 like

@macajo
Math Garden:
3 likes

@MusingsInSilico
This is visually satisfying. Thanks for posting
1 like

@rhapsodybenny
I feel like doing the bigger factors before smaller factors (so 10 has 5 branches of 2, for example) would make the even trees more visually impressive.
1 like

@thewiseturtle
I would absolutely love you to make a base 6 (modulus) diagram animation showing new primes popping up in the 6n±1 location as the factors go around the circle. I've drawn this by hand, but I never found a program that would do it for me easily, and don't have the brain to code.
1 like

@alfcnz
😍😍😍
1 like

@matheser
👍that's awesome!
1 like

@d_e_s_p_i
@idespi

@arslanbrkozgur
Beautiful. May I ask in which language did you write the code?

@rednibia2
I don't understand why primes are broken down into 1s. Shouldn't prime numbers be the leaves?

@svi58670452
That’s a nice wiggle







