Live data from Hacker News

Why do prime numbers make these spirals? (2019)

3blue1brown.com

11–20 of 141 posts

Re: Why do prime numbers make these spirals? (2019)

#12
post #2

Bit of a let down when they reveal that plotting integers in general results in the same spiral pattern as primes. So naturally primes as a subset of integers also produce spirals. Seems the title is a bit misleading!

A bit misleading I agree. I suppose since prime numbers DO make these spirals, it's not inaccurate.

We expect patterns from quotidian integers. The seeming chaos of primes, in contrast, brings the intrigue.

Re: Why do prime numbers make these spirals? (2019)

#16
post #2

Bit of a let down when they reveal that plotting integers in general results in the same spiral pattern as primes. So naturally primes as a subset of integers also produce spirals. Seems the title is a bit misleading!

I don't know, for me the fact that this gives you a visualization of a totient is really interesting.

Another really interesting idea is to deliberately change the thing which you are rationally approximating; you don't have to rationally approximate π if you don't want to, that's just if you make steps of 1 radian. Make steps of q radians and you get the denominators for rational approximations of q/π.

This is used in the golden spiral algorithm[1] to evenly-ish distribute points on a sphere, we choose the most irrational number q/π = φ, the golden ratio. Since all of its rational approximations suck, the spirals are as inoffensive as they can be.

1. https://stackoverflow.com/questions/9600801/evenly-distribut...

Post reply on HN