Why do prime numbers make these spirals? | Dirichlet’s theorem and pi approximations

preview_player
Показать описание
A curious pattern, approximations for pi, and prime distributions.
An equally valuable form of support is to simply share some of the videos.

Based on this Math Stack Exchange post:

Want to learn more about rational approximations? See this Mathologer video.

Also, if you haven't heard of Ulam Spirals, you may enjoy this Numberphile video:

Dirichlet's paper:

Timestamps:
0:00 - The spiral mystery
3:35 - Non-prime spirals
6:10 - Residue classes
7:20 - Why the galactic spirals
9:30 - Euler’s totient function
10:28 - The larger scale
14:45 - Dirichlet’s theorem
20:26 - Why care?

Corrections:
18:30: In the video, I say that Dirichlet showed that the primes are equally distributed among allowable residue classes, but this is not historically accurate. (By "allowable", here, I mean a residue class whose elements are coprime to the modulus, as described in the video). What he actually showed is that the sum of the reciprocals of all primes in a given allowable residue class diverges, which proves that there are infinitely many primes in such a sequence.

Dirichlet observed this equal distribution numerically and noted this in his paper, but it wasn't until decades later that this fact was properly proved, as it required building on some of the work of Riemann in his famous 1859 paper. If I'm not mistaken, I think it wasn't until Vallée Poussin in (1899), with a version of the prime number theorem for residue classes like this, but I could be wrong there.

In many ways, this was a very silly error for me to have let through. It is true that this result was proven with heavy use of complex analysis, and in fact, it's in a complex analysis lecture that I remember first learning about it. But of course, this would have to have happened after Dirichlet because it would have to have happened after Riemann!

My apologies for the mistake. If you notice factual errors in videos that are not already mentioned in the video's description or pinned comment, don't hesitate to let me know.

Thanks to these viewers for their contributions to translations
Hebrew: Omer Tuchfeld

------------------

If you want to check it out, I feel compelled to warn you that it's not the most well-documented tool, and it has many other quirks you might expect in a library someone wrote with only their own use in mind.

Music by Vincent Rubinetti.
Download the music on Bandcamp:

Stream the music on Spotify:

If you want to contribute translated subtitles or to help review those that have already been made by others and need approval, you can click the gear icon in the video and go to subtitles/cc, then "add subtitles/cc". I really appreciate those who do this, as it helps make the lessons accessible to more people.

------------------

Various social media stuffs:
Рекомендации по теме
Комментарии
Автор

At this point, the word “beautiful” isn’t even enough to describe the sheer elegance and clarity of these videos. Amazing as always.

ktu
Автор

It's clearly not pointless, I mean, look at all of those dots!

Supertimegamingify
Автор

As a maths lover, proving a theorem before you knew it existed is undeniably the best feeling I would ever experience

bendahou
Автор

3:22 "If you patiently went through each ray"

I can hear it in your voice, thank you 3Blue1Brown for your meticulous work in counting each ray

DelandaBaudLacanian
Автор

"I had never heard this before but I find it too delightful not to tell." This dude's love for teaching is *SO OBVIOUS* and deep and genuine. Every video is made with special care and I won't be surprised if he edits each lesson about 20 times before uploading to get it just right. The *delight* is *ours, * Sensei.

avimohan
Автор

Hello! I'm currently taking a Mathematics course in college, and I'm kind of questioning myself why did I even enter this course. This video made me realize why I love math, and why I entered a Math course in the first place. Thank you very much for these super high quality videos!

rayahdesu
Автор

OMG, mankind is so lucky to have these two things: someone who can clearly explain some of the most complex subjects in math; and a simple means of making that knowledge accessible (Youtube). I don't mean to imply that producing these videos is "simple".... no, it takes A LOT of time and effort to produce a video this wonderfully clear. Who ever thought that when Youtube started, we would get to this point... we are so lucky.

EngRMP
Автор

Hey guys, god here. I’m calling it. You’re digging too far into the source code and my gpu (godly processing unit) is struggling to keep up. I know this stuff is pretty and all, but it’s really just disguised spaghetti code (the Italians have yet to thank me for that). Another few million years of this and I’m going to get a 111 (angel numbers are just exit codes btw, don’t mess with that shit) error

Kalliopa
Автор

My favorite approximation for pi is 977/311 because both numbers are themselves prime and have analogous locations when typed out on a standard number pad.

ralphengland
Автор

3Blue1Brown: Zooming out
Youtube Compression: Dies

arpandhatt
Автор

Hands down one of the best "math-y" videos I've seen. One of the best concept breakdowns as well. Everything is clearly described in an easy-to-understand way, yet you don't shy from all the "overly pretentious" (lol) jargon. Finally, the call to study and understand interesting concepts ("be playful") where you may connect the dots later down the road is the best. Thank you

SechristCircus
Автор

Whenever I feel discouraged by humanity, I come to this channel and get courage from knowing this video still can amass millions of views

MrHailstorm
Автор

"Euler's totient function." I swear, Euler had a hand in everything.

John_Snowbird
Автор

I don't even LIKE math, but this was amazing.... and I wasn't completely lost for most of the video! You're a brilliant communicator.

GetIntoItDuhh
Автор

What you said toward the end about accidentally rediscovering things people learned in the past bringing an intrinsic value to them that simply being taught lacks was...completely true.
It reminds me of this time once in which I tried to use multidimensional arrays to represent the possible results of a series of coinflips and accidentally discovered that the number of heads has pascal's triangle embedded into it.

nunyabidness
Автор

i just thought to myself: "wow this is fascinating. i cant believe i didnt know"
but then saw that i actually already liked this video. it fucking sucks to be stupid

aeiouaeiouaeiou
Автор

I wasn't ready for how beautiful the "zoom out" was going to be

aubreystewart
Автор

If there was ever a vote for best YouTube channel of the year, I would vote for you over the 500+ channels I'm subscribed to.

chaoticmind-z
Автор

I am not a mathematical phenom or engineer, but ai do find immense beauty in the visualizations of mathematical concepts! Like this, visualizing Fourier transform, visualizing how to turn a circle inside out, mathematical proofs, etc!

wailingalen
Автор

It’s always been amazing to me that early mathematicians could find the time to focus so deeply (without computers) on these abstract topics in number theory. Life then was generally shorter and rougher so they must have been incredibly dedicated.

richardcarnegie