Prime Spirals - Numberphile

  Рет қаралды 1,511,319

Numberphile

Numberphile

Күн бұрын

Пікірлер: 1 800
@MatGuich
@MatGuich 10 жыл бұрын
I love his smile while talking about mathematics. That's a person who's loving the thing he's doing.
@coreyaudet8574
@coreyaudet8574 5 жыл бұрын
And so proper. Makes what he does interesting.(even though I feel like a prime idiot after ) lol
@willarn1
@willarn1 5 жыл бұрын
James is the best.
@cube2fox
@cube2fox 5 жыл бұрын
He is very fortunate. Most people can't do their hobby as a job.
@rewrose2838
@rewrose2838 4 жыл бұрын
@@cube2fox Yeah, some of us are born in the wrong set of square kilometres to be doing math
@genericusername4206
@genericusername4206 4 жыл бұрын
“NOOMBAHS”
@NotAJollyPotato
@NotAJollyPotato 8 жыл бұрын
New primes, bigger primes, optimus primes
@bendover8738
@bendover8738 8 жыл бұрын
+Dylan Le Lerre One day we'll find one. One day...
@U014B
@U014B 8 жыл бұрын
To find infinitely many numbers divisible only by themselves and 1 is the right of ALL sentient beings!
@NotAJollyPotato
@NotAJollyPotato 8 жыл бұрын
It isn't ment like that
@gcxs
@gcxs 8 жыл бұрын
James Grimes.
@DrChliin
@DrChliin 8 жыл бұрын
James Grime Smiles
@McJaews
@McJaews 11 жыл бұрын
Every once in a while, I come back to these numberphile videos to just listen to James Grime talk about his numbers. It just makes me feel so happy that he exists and that he's doing something he absolutely loves. I could never do what he does, but his enthusiasm and passion is inspiring:)
@pepegasadge2977
@pepegasadge2977 8 жыл бұрын
Sad that he's name isn't James Prime.
@U014B
@U014B 8 жыл бұрын
Let's start a petition to make him change his name.
@juliuszkocinski7478
@juliuszkocinski7478 8 жыл бұрын
Magnus Seidenfaden Well, rather "Pierwszy"
@ffggddss
@ffggddss 8 жыл бұрын
+ Noel G. No, all we have to do is define some special kind of prime and call it a "grime." Like, maybe if it's gritty enough . . .
@typo691
@typo691 8 жыл бұрын
his*
@Sausagesaucey
@Sausagesaucey 7 жыл бұрын
he's number one
@314rft
@314rft 9 жыл бұрын
1:18 Ulam was bored by a lecture and was doodling. I like him.
@314rft
@314rft 6 жыл бұрын
Three years later, I still like him.
@marios1861
@marios1861 5 жыл бұрын
@@314rft 3 weeks later, I agree.
@terner1234
@terner1234 5 жыл бұрын
@@marios1861 3 weeks later (again), I also agree
@vgamerul4617
@vgamerul4617 5 жыл бұрын
@@terner1234 1 week later, I (doesnt do anything)
@terner1234
@terner1234 5 жыл бұрын
@@vgamerul4617 9 minutes later, I also do nothing
@MrHyde-fu5sr
@MrHyde-fu5sr 9 жыл бұрын
We've dug too deep The matrix is being unveiled
@Sassymui8
@Sassymui8 9 жыл бұрын
+Felipe Palma You don't want to meet the Architect.
@SJ23982398
@SJ23982398 9 жыл бұрын
+Sassymui8 Rumor is, he is a smelly neckbeard
@TheGreatSteve
@TheGreatSteve 8 жыл бұрын
+Sassymui8 You mean The Oracle.
@niceprofile-k6i
@niceprofile-k6i 8 жыл бұрын
+Curran Hyde we delved too greedily and too deep
@hedgehog1965uk
@hedgehog1965uk 8 жыл бұрын
Which pill will you take?
@krishaangkohli2163
@krishaangkohli2163 6 жыл бұрын
James showing his true 'attraction' for primes "Look at these curves."
@machineman8920
@machineman8920 4 жыл бұрын
lol
@genericusername4206
@genericusername4206 4 жыл бұрын
the 26th lol
@proloycodes
@proloycodes 4 жыл бұрын
@@genericusername4206 lol
@subzeroelectronics3022
@subzeroelectronics3022 3 жыл бұрын
That’s why the channel’s called numberphile
@createyourownfuture3840
@createyourownfuture3840 2 жыл бұрын
@@subzeroelectronics3022 I don't think you get the joke...
@dfunited1
@dfunited1 11 жыл бұрын
Like Ulam I was bored in my Math class a while ago and eventually wrote a Java program to generate his spiral. I found it really interesting to add color based on the relationships between the primes, like twin primes, primes that are 4 apart, 6 apart, and so on.
@ThiagoDouradodeAndrade
@ThiagoDouradodeAndrade 11 жыл бұрын
What I most like about numberphile is that they put subtitles in every single video. I really appreciate that ;D
@numberphile
@numberphile 11 жыл бұрын
thank you
@kylestanfield4903
@kylestanfield4903 3 жыл бұрын
You’re very welcome
@numberphile
@numberphile 11 жыл бұрын
keep an eye out for brown papers on ebay... I'll put this one up some time... best thing is to follow numberphile on twitter and facebook! :)
@vishusharma8566
@vishusharma8566 7 жыл бұрын
You guys never cease to amaze me. You make even the most complex concepts in mathematics seems really easy. Keep up the great work guys :)
@matthewa6881
@matthewa6881 7 жыл бұрын
This is amazing. I thought they were all randomly spread out. I knew you can use find out the density of primes but not find patterns such as this. Beautiful.
@Sirmrmeowmeow
@Sirmrmeowmeow 5 жыл бұрын
Writing a number line in a hexagonal style produces some pretty interesting spirals as well. All primes fall on one of two axes, either the 1st, or 5th axis, and you can see where the multiples of inner numbers will "block" because of the patterns of every multiple of every number crossing on to either axis. -Where any multiple of any number crosses the 1st or 5 axis, there will be no prime. Also it's pretty to stare at lol. ((1-6 for the first ring, then 7-12 for the 2nd ring 13-18 for the 3rd ring. -with 7 above 1, 8 above the 2nd side, 9 above the 3rd, 10 above the 4rth side, 11 above 5, 12 over 6, 13 above 7 in the 1st column, 14 above 8 in the 2nd column .... ect.....)) You can see clearly where n mod 6 = 1, and also when n mod 6 = 5. :)
@robertschlesinger1342
@robertschlesinger1342 5 жыл бұрын
Very interesting video. Many years ago, when taking a Number Theory course in graduate school, I mapped the integers onto a spiraling lattice and noticed that the twin primes tended to be found at the edges of the lattice. [This property of twin primes being at the edges only worked for the first few dozen twins.] I developed a crude recursive formula, but didn't have time to pursue the study. Years later, I noted that Stanislaw Ulam had discovered this and developed it at least a decade earlier. During the mid-60s, Scientific American had an article on Ulam's remarkable work.
@blacxthornE
@blacxthornE Жыл бұрын
sometimes i go back to videos on this channel because it's always fun, and... wow. i didn't remember vihart getting a mention here 10 years ago.
@BainesMkII
@BainesMkII 7 жыл бұрын
Ulam's Square produces the appearance of diagonal runs of primes because primes (other than 2) have to be odd and the odd numbers are restricted to a checkerboard pattern. If you run a random number comparison with that same checkerboard restriction in place (which Numberphile didn't do), then the randomized square will produce a similar appearance of diagonal runs. This is likely true for the spiral in the latter half as well, where I'd bet the "curves" come from the layout of even and odd numbers, and the "prime curves" are just artifacts of the even/odd curves. Note: While the whole even/odd checkerboard for the square is pretty obvious, I actually did bother to run some tests just to confirm it. I ran multiple tests on increasing size squares. Every test where the hits were restricted to a checkerboard resulted in the appearance of "diagonal runs" of hits.
@ThreeXcore
@ThreeXcore 10 жыл бұрын
Thank you Dr. Grime and Brady for bringing us these videos. By the way, Dr. Grime you are my favorite.
@lunafoxfire
@lunafoxfire 11 жыл бұрын
This and your other video inspired me to break out my TI-83 and do some programming! Unfortunately I can only plot a 94x94 spiral and it takes about 10 minutes for my poor calculator to do, but it's still pretty fun. I plan to see if the odd-only primes idea really does completely account for the diagonals.
@ragnkja
@ragnkja 11 жыл бұрын
Half the diagonals have only even numbers, so only the diagonals with odd numbers have any prime numbers at all, with the exception of those that go through the number 2.
@SanketPatole
@SanketPatole 5 жыл бұрын
Pause the video at 4:10 You would notice that the length of sides of all the spirals are odd. Therefore almost all of the corner numbers are odd, making them most likely to be prime numbers. Also note that every alternate vertical and horizontal number is even, making it almost impossible to form any vertical/horizontal prime line.
@TanookiOshawott64
@TanookiOshawott64 10 жыл бұрын
You've got to love that ViHart reference😜
@JoesephGaming
@JoesephGaming 9 жыл бұрын
ViHart FTW
@firefish111
@firefish111 5 жыл бұрын
KZbin *DID NOT EXIST* back then. LOL
@ditzfough
@ditzfough 5 жыл бұрын
Was great reference
@quinn5109
@quinn5109 5 жыл бұрын
oh yeah. I heard "Ulam" and was like, "now where have I heard of him before"
@msDanielp369
@msDanielp369 5 жыл бұрын
@@firefish111 LOL
@maxmouse3
@maxmouse3 8 жыл бұрын
I like this guy, he's really excited about the primes
@vivavaldez87
@vivavaldez87 10 жыл бұрын
I don't even see the code, all I see is blonde, brunette, redhead...
@aoife4187
@aoife4187 9 жыл бұрын
What a reference. What a film.
@MrRodrigorama
@MrRodrigorama 9 жыл бұрын
lol
@AndrewPRoberts
@AndrewPRoberts 7 жыл бұрын
I mean....props for this
@SanketPatole
@SanketPatole 5 жыл бұрын
If you Pause the video at 4:10 You would notice that the length of sides of all the spirals are odd. Therefore almost all of the corner numbers are odd, making them most likely to be prime numbers. Also note that every alternate vertical and horizontal number is even, making it almost impossible to form any vertical/horizontal prime line. Also, you cannot predict any prime number using this pattern, because we do not know when the diagonal line is going to start and end. They are just trying to force a pattern on prime numbers by arranging them in some way, but since primes themselves do not follow any pattern they break diagonals in between. Because, not only just EVEN numbers are non-primes, other ODD numbers such as multiples of 3 after 3, multiples of 5 after 5, Multiples of 7 after 7 (and so on...) are also non-primes, which breaks the diagonals in between.
@Bryan-qd4fk
@Bryan-qd4fk 5 жыл бұрын
Nice thinking!
@frozenunicorn2381
@frozenunicorn2381 7 жыл бұрын
"Look at these cuuuurves" :D I love how this is used for once in a nonsexual way
@TaliaOutwrong
@TaliaOutwrong 11 жыл бұрын
Seriously Brady, thank you so much for this channel. I love it.
@Ratstail91
@Ratstail91 9 жыл бұрын
I'd like to see the positions of the twin primes on those diagrams. Edit: Oh, and I wonder if there's a way to arrange the numbers in another dimension to create similar patterns.
@jamescgardner1269
@jamescgardner1269 5 жыл бұрын
Yea.. I was thinking the fibonacci spiral...
@francoischarpentier5914
@francoischarpentier5914 7 жыл бұрын
The story of the Ulams spiral is written in my book of maths of high school, so I get interested, I knew I would find a video of Numberphile, and you guys told exactly the same story, but even better ! props for that my dudes
@MsLilichi
@MsLilichi 10 жыл бұрын
would using a different base reveal a pattern to? perhaps even clearer?
@The85thSomething
@The85thSomething 5 жыл бұрын
Would a different base change the design? Primes come in the same order in all bases, or so I believe.
@proloycodes
@proloycodes 2 жыл бұрын
bases dont matter? primes are number that are defined using other numbers, none of which has anything to do with bases
@DarkMoonDroid
@DarkMoonDroid 11 жыл бұрын
Great question. I suspect that when we're looking for one thing, we often find other stuff that is useful, even if we never find the thing we set out looking for in the first place. This is also why it's important to day-dream and doodle.
@Cassandra_Johnson
@Cassandra_Johnson 9 жыл бұрын
Of course it is concentrated into diagonals, the even values would prevent any other pattern from obviously showing up well at anything other than 45 degree angle.
@dsteere2303
@dsteere2303 9 жыл бұрын
Clinton Johnson but some diagonals have more primes than others all diagonals only contain odd numbers but not all have as many primes as each other
@RedHairdo
@RedHairdo 9 жыл бұрын
David Steere Exactly. It's not that they're concentrated into diagonals. They are concentrated at CERTAIN diagonals, which is the point to begin with.
@eglerian
@eglerian 11 жыл бұрын
Prime numbers are located on equations all over Ulam's Spiral with this form 4x² + ax (a is a whole number). A lot of these equations are 45 degrees diagonals on Ulam's Spiral while others have other angles (at least at some parts). It is obvious that all non prime numbers are placed on these diagonals. Therefore prime numbers on Ulam's Spiral are just the holes left by the drawing of all those equations.
@secularmonk5176
@secularmonk5176 9 жыл бұрын
Do "rich veins" of primes on the diagonals ever peter out? Do new ones pop into existence farther from the origin? As I mentioned in my last post, the skeleton of this pattern is a very regular network of diagonal lines, so the number of "golden lines" is quite sparse in comparison. Could these be "coincidence eruptions", like the rogue waves that sailors fear on the open ocean?
@lionofjudea4146
@lionofjudea4146 9 жыл бұрын
+Len Arends Thats a really interesting question. thanks.
@coopergates9680
@coopergates9680 8 жыл бұрын
+Len Arends One quadratic that always has a high prime density (but doesn't form one of those lines) is x^2+x+41.
@coopergates9680
@coopergates9680 8 жыл бұрын
Correction: Euler's formula that I mentioned does eventually get on such a line.
@Travis-larsen
@Travis-larsen 6 жыл бұрын
You would really love this book. I did. Peter Plichta illustrates how the prime numbers are ordered on concentric circles numbered 1 to 24 and then 25 to 48 and so on; expanding outward like cross shaped rays of sunlight radiating outward. The guy was a genius!
@TheMattyBoy00
@TheMattyBoy00 7 жыл бұрын
After seeing this I was curious about other spirally shapes, so I wrote a quick java program to generate a 1001x1001 grid of a rhombus shape like this: 7 ... 6 2 8 13 5 1 3 9 12 4 10 11 ...and the result is rather astounding! You can see clear horizontal lines of prime numbers (but not many vertical), some of which seem to carry on for very long without much interference. Link to picture in first reply (I think some people block comments with links in them so it's best to have it separate)
@nO_d3N1AL
@nO_d3N1AL 11 жыл бұрын
Always amazes me when many new things are discovered at unusual times in unusual circumstances. Some of the most productive work happens not through a tight academic schedule, but through simply playing, exploring, letting the mind wander etc.
@GuiltyGearRockYou
@GuiltyGearRockYou 9 жыл бұрын
3:14 (PI!!!) are those random odd integers with natural log variance?? or just random pick of all pos. integers?
@bengtbengt3850
@bengtbengt3850 8 жыл бұрын
I would guess probably the same variance as the average gap between the primes which as you Said is approximately log n
@GuiltyGearRockYou
@GuiltyGearRockYou 8 жыл бұрын
Bengt Bengt we guess but we dont know what he did :(
@bengtbengt3850
@bengtbengt3850 8 жыл бұрын
nope :)
@MPoslon5
@MPoslon5 10 жыл бұрын
Brady, you are a legend
@piynubbunyip
@piynubbunyip 9 жыл бұрын
What happens when you make an Ulam Spiral in 3d rather than 2d?
@wojtek9395
@wojtek9395 7 жыл бұрын
piynubbunyip 2 yrs but anyway imagine in what direction should it go.
@UnorthodoxSoundwave.
@UnorthodoxSoundwave. 5 жыл бұрын
wo997 +1 more yrs, there is no way to make a spiral in 3d with counting numbers being next to each other in a formatted pattern.
@msDanielp369
@msDanielp369 5 жыл бұрын
There's then another dimension of posibilities of patterns when doing so
@jannikberger7898
@jannikberger7898 5 жыл бұрын
Well you could make an helix
@not2tired
@not2tired 5 жыл бұрын
You get an Ulam Meatball
@DKboy001
@DKboy001 11 жыл бұрын
I literally watched this video at the same time the follow up vid was posted. It was a rather pleasant surprise.
@dobeeeeval
@dobeeeeval 8 жыл бұрын
The Sacks Spiral looks like iron filings on paper over a magnet.
@jerryiuliano871
@jerryiuliano871 4 жыл бұрын
The dense line in the prime spiral graph from your video, is 23 bits from the center on the x axis leading to this prime dense formula: x = all even numbers.... .75*(x^2)+1.5*x + 23 = 48% prime numbers, 78% product of two prime numbers, out to 10^9 integers.
@mattv2099
@mattv2099 11 жыл бұрын
very cool.
@georgesracingcar7701
@georgesracingcar7701 3 жыл бұрын
very cool comment. very cool reply. very cool minds of math we all have...
@Boslandschap1
@Boslandschap1 11 жыл бұрын
In case you are serious: they will look identical; prime numbers are the same in any base. Division operations don't change when changing the base so when a number is only divisible by 1 and itself in base 10, it remains so in any other base as well. Therefore, if you place numbers in another base on the spirals, the primes will remain on the same spot.
@AvielMenter
@AvielMenter 10 жыл бұрын
What happens if you do an ulam spiral, but instead of circling primes, you circle random odd numbers with logarithmic spacing?
@AugustoDeNardin
@AugustoDeNardin 9 жыл бұрын
+TheFizzyKerbal That was my first thought: oddity would be enough to explain that pattern?
@jmich7
@jmich7 9 жыл бұрын
+Aviel Menter ok
@jmich7
@jmich7 9 жыл бұрын
+Augusto De Nardin ok
@secularmonk5176
@secularmonk5176 9 жыл бұрын
+Aviel Menter This is additional information about the patterns seen: The diagonal lines in the Ulam Spiral are the result of the pattern you get when you plot out the position of all numbers in the set "6n +/- 1". All prime numbers except for 2 and 3 are in this set ... it's the set of all odd numbers that aren't a multiple of "3". The "6n +/- 1" set makes an especially elegant pattern of diamond tiles when you seed the number spiral with "0" instead of "1". Seeding with "1" results in the same field of tiles, but with an ugly seam near the diagonal line containing the squares of all odd numbers. I'm not sure what effect seeding with "0" would have on the "rich veins" of diagonal lines.
@AvielMenter
@AvielMenter 9 жыл бұрын
Christopher Night Thank you!
@AsBi1
@AsBi1 3 жыл бұрын
i love this channel, amazingly simple and pleasant to watch.
@legofreak5769
@legofreak5769 8 жыл бұрын
what if you just visualize random odd numbers on the spiral instead of all numbers for the random pattern? numbers in a spiral like this show up as a checker pattern of even and odd.
@divss1222
@divss1222 8 жыл бұрын
so?
@LucasArtCommunity
@LucasArtCommunity 8 жыл бұрын
yeah and what about making a spiral from only odd numbers to see if the primes still arrive at any such patterns... well spotted guy
@HiArashi13
@HiArashi13 8 жыл бұрын
That's exactly what I thought
@InverseAgonist
@InverseAgonist 8 жыл бұрын
That does leave you with the awkward question of what to do with your initial prime number of 2
@LucasArtCommunity
@LucasArtCommunity 8 жыл бұрын
well yes you would see some rough patterns like in the video still, but you know why, because the primes end in 3's 7's and 9's! christ the more you think about the above video the more it looks like an april fools prank gone subtle
@lucromel
@lucromel 4 жыл бұрын
Whoa, that 4x^2 - 2x + 1 works for x = -1 as well, you start getting the other end of the diagonal. I wasn't expecting that.
@ishkibable
@ishkibable 5 жыл бұрын
Curious if there are any other types of spirals that show other interesting patterns when filled in with primes
@shoujahatsumetsu
@shoujahatsumetsu 11 жыл бұрын
I see some comments on applying this to 3-dimensional or higher-dimensional spaces. What I really need to know then is how the sequenced numbers would be arranged in order along the additional axes. Drawing a spiralled sequence in 2 dimensions is straightforward enough, but I'm not certain how this would be done in higher dimensions.
@gl1500ctv
@gl1500ctv 8 жыл бұрын
1:24 ViHart reference!!! "Triangle!"
@Zeturic
@Zeturic 11 жыл бұрын
If you start with some other configuration, you also get lines of prime numbers like in the ulam spiral. For example, if you make the Ulam spiral, but start with 0 instead of one, you will get diagonals of primes., which is especially interesting because the graph itself (in terms of what numbers surrounds other numbers) can be very different than the Ulam spiral, especially as you go farther out.
@acediamond5399
@acediamond5399 10 жыл бұрын
Amazing! And 7:00 looks like a basketball!
@Sam40276
@Sam40276 9 жыл бұрын
Ace Diamond lol. I initially thought that it looked like the Death Star
@siremax2
@siremax2 11 жыл бұрын
I think numberphile did a video about this, but i could be wrong. They are used in encryption. It is also for fun and testing processing power, same with calculating PI.
@Robi2009
@Robi2009 6 жыл бұрын
0:58 - Kudos for pronouncing Stanisław right, with "ł" not "l".
@Corita93
@Corita93 4 жыл бұрын
@᪶ ᪶ Polish "ł" is very close to English "w" in "we" or "wet". Polish "w" sounds like English "v".
@arthurmac5939
@arthurmac5939 11 жыл бұрын
That narrows it down a little bit, but not enough to close the book on the Ulam spiral. The interesting part of the pattern is that some odd diagonals have few primes, while others have many.
@VigoHornblower
@VigoHornblower 8 жыл бұрын
Is there a pattern of primes by doing the same thing for Fibonacci numbers (1,1,2,3...) instead of counting numbers (1,2,3,4...)?
@corinth6402
@corinth6402 7 жыл бұрын
No 8 is not prime but in fibanachi
@isabelle5547
@isabelle5547 7 жыл бұрын
Fibonacci is literally spelled correctly in the comment. couldn't you look and see how it's spelled? also, that's not what they meant. it doesn't matter if it's prime or not, you're just going to circle it if it is.
@brendanmccabe8373
@brendanmccabe8373 6 жыл бұрын
Vigo Hornblower the Fibonacci sequence is the most overrated sequence ever
@GMPranav
@GMPranav 5 жыл бұрын
@@corinth6402 Your reply is math version of r/whoosh
@medexamtoolscom
@medexamtoolscom 5 жыл бұрын
I don't know how many fibonacci numbers are actually prime. Don't forget they blow up in size quickly, on average becoming larger by a factor of the golden ratio with every term. It would be VERY sparse very quickly as the size of the numbers grows exponentially as you get away from the origin. There may actually only be finitely many fibonacci numbers that are prime, this would not surprise me.
@DocFrobnitz
@DocFrobnitz 11 жыл бұрын
1. "the prime numbers seem to be lining up on diagonal lines" 2. "there's something more than just being random" 3. "some quadratic equations have more prime numbers on them" 1. the prime numbers are lining up on the odd numbers. 2. the prime numbers are lining up on the odd numbers. 3. the prime numbers are lining up on the odd numbers. Conjecture: since all prime numbers (but 2) are odd, any wonky arrangement of digits that groups odd numbers together will also group prime numbers together.
@cityunseen
@cityunseen 9 жыл бұрын
***** shoutout @1:23;) Well done.
@HowNowCentaur
@HowNowCentaur 11 жыл бұрын
I don't know if you noticed (you probably did!), but there's also horizontal lines where there are very few prime numbers along Ulam's spiral! Crazy stuff!
@justarandomcatwithmoustache
@justarandomcatwithmoustache 5 жыл бұрын
Watching this after seeing the 3b1b s' new upload
@petemurphy7164
@petemurphy7164 5 жыл бұрын
Yep, me too
@catapillie
@catapillie 5 жыл бұрын
🙃
@MrFlyingPanda
@MrFlyingPanda 10 жыл бұрын
Brady can you ask them if the
@petersunny4481
@petersunny4481 9 жыл бұрын
great explanation by James.. I hope I'm not wrong with his name.... Even a tiny matter ll be explained.... Great teacher.... his students ll be more benefited.... thanku for ur struggle to create a topic and study it and explain in very simple manner....
@Rutoks
@Rutoks 11 жыл бұрын
7:06 This is how Death Star was invented.
@MrYerak5
@MrYerak5 11 жыл бұрын
i thought it was a basketball
@JackassJimbo
@JackassJimbo 11 жыл бұрын
That movie would've sucked then LOL :p
@jezaraknid314
@jezaraknid314 11 жыл бұрын
Oh thank god I thought I was gonna have to say it
@Pumbear
@Pumbear 7 жыл бұрын
@3:18 I'd like to see that picture of random numbers, but with the added rule that all even numbers other than 2 are excluded. This because the picture is now also filled with horizontal and vertical stripes while in the Ulam's spiral it is by definition only possible to form stripes that are diagonal.
@Phlebas
@Phlebas 8 жыл бұрын
Kind of frustrating! Seems like there's a pattern in how prime numbers are spaced but nobody's figured out a formula to predict them yet, and I'm sure that really clever people have been trying since Euclid's day. Then again, calculus came over 2000 years after Euclid and that opened up a whole new world of mathematical possibilities (and it's something that a high school student can grasp). Maybe, in time, we'll have a whole new way of thinking about math that will make this prime number mystery seem trivial.
@marios1861
@marios1861 5 жыл бұрын
maybe calculus is taught in high school because of it's myriad of uses and not because it is easy to grasp. It's one of those subject that comes straight out of philosophy so I can see why it took so long to develop properly...
@DiaStarvy
@DiaStarvy 11 жыл бұрын
To say that the composite numbers are more dense is an understatement. From the prime number theorem, the density of prime numbers is 0 and therefore composite numbers have density 1.
@zyh627627
@zyh627627 9 жыл бұрын
Hi, there, is there anyone who tried to arrange numbers into a three dimensional cube, instead of a two-dimensional square?
@themichaelconnor42
@themichaelconnor42 3 жыл бұрын
How exactly would you do that?
@Rudxain
@Rudxain 3 жыл бұрын
There are only 2 alternatives: a conical spiral and a cylindrical one, because it's very hard to make a 1D line move like a spiral that touches all numbers inside a cube and progressively does the same thing with larger cubes using the 1st cube as the center. That's why the trivial alternatives are either a cylinder or a vortex wrapping a finite sized cube, instead of an infinite sized cube
@unoduetre12345
@unoduetre12345 5 жыл бұрын
Huge respect for the correct pronunciation of his name.
@acompletelyawesomenameyay2587
@acompletelyawesomenameyay2587 5 жыл бұрын
what if you use a hexagonal spiral, or not a spiral at all, what if you add in negative numbers?
@chrisg3030
@chrisg3030 5 жыл бұрын
I got an almost completely awesome result when I started with 43 on a square grid and spiraled in the same direction as the vid but numerically downwards as I moved outwards, getting to 0 then -1 -2 and so on. I ended up with a long unbroken prime diagonal starting with -229 in the southwest and -607 in the northeast. Though I guess this implies accepting 1 as a prime (or at least non-composite), and 13 and -13 as distinct primes. Watch this space for hex spirals.
@SquirrelASMR
@SquirrelASMR 2 жыл бұрын
Omg primes are like busses, I like that a lot.
@someonesmart7871
@someonesmart7871 8 жыл бұрын
How to make a great mathematical discovery: doodle in math class
@jgintaras
@jgintaras 11 жыл бұрын
Well, you can try circling all odd numbers in spiral and see your diagonals. Also try using Sieve of Eratosthenes and even after 4 steps you can see how those spirals are similar to Ulam's
@TVDaJa
@TVDaJa 8 жыл бұрын
Quick question: When we would make this spiral with the number base of 12 instead of our base 10 system, would there be patterns and when yes how woud they look?
@TVDaJa
@TVDaJa 8 жыл бұрын
I'm really interested if those patterns are connected to the way the universe is or only to the way our base 10 counting system is
@georgelubomirov8931
@georgelubomirov8931 8 жыл бұрын
Magnus exactly what I thought.
@TVDaJa
@TVDaJa 8 жыл бұрын
George Lubomirov When I get time I'm going to make a base 12 spiral and post it here for you
@arcuesfanatic
@arcuesfanatic 8 жыл бұрын
It's not going to make a difference. The only thing writing a number in a different base does is change how it is written. The values are still the same, regardless of how you right it, so there will be no difference in the pattern.
@georgelubomirov8931
@georgelubomirov8931 8 жыл бұрын
Yeah, after a bit of googling I understood that :)
@DarkMoonDroid
@DarkMoonDroid 11 жыл бұрын
Absolutely! I just have a hunch that there is a shape that would hold the lines constant, but that we don't know what that is yet.
@leloykun
@leloykun 5 жыл бұрын
Who came here after 3Blue1Brown's video?
@petemurphy7164
@petemurphy7164 5 жыл бұрын
Franz Louis Cesista yeah, just watched it
@catapillie
@catapillie 5 жыл бұрын
🖐
@LvYou214
@LvYou214 5 жыл бұрын
+1
@kalengray4073
@kalengray4073 Жыл бұрын
Me
@Zenovarse
@Zenovarse Жыл бұрын
Not me... I searched on KZbin for ulam spiral and this came up
@TheDrag0nPotat0
@TheDrag0nPotat0 8 жыл бұрын
i just absolutely adore this guy
@ereklo
@ereklo 11 жыл бұрын
7:06 OMG It's a death star
@adamleonard9958
@adamleonard9958 3 жыл бұрын
7 years late, but I was looking for this comment!
@DunkleVollNuss
@DunkleVollNuss 8 жыл бұрын
I always enjoy your videos, and have done so for quite a while now. But every time you talk about primes, I can't help but wonder what would happen in other number systems, like base 12 for example. Would there be a completely different set of primes? Would they also form these patterns? I'd love a video about this stuff!
@ldstalker9462
@ldstalker9462 8 жыл бұрын
actually there exist other number-systems with other prime-numbers. but "base 12" is not related at all. instead the idea is to introduce another "number" usually substituted by a letter, with the rule that squaring it will produce some negative number. i.e. in addition to 0,1,2,3,4,5,6,... you also have 0+i,0+2i,0+3i,0+4i,... and whatever other natural number instead of 0. (here the i denotes the square-root of a negative number in the set {-1,-2} or the half of 1 plus the square-root of a number in the set {-3,-7,-11,-19,-43,-67,-163}.) that's a 2-dimensional number-line. now find some way to wrap a 2-dimensional plane into a spiral, and we'll talk of patterns on that. :-)
@Brightsmooth
@Brightsmooth 10 жыл бұрын
Let's build Prime Maps!
@mihrant
@mihrant 11 жыл бұрын
Another way to look at the square spiral is that there are diagonals on which NO primes appear. These are quadratic expressions that can be factored, like (2x+3)*(x-4), for instance. Obviously there are no primes on this diagonal because every number on this line is the product of two numbers. So If one printed the photographic negative of the spiral, solid lines would appear, all at angles of 45 degrees . Sometimes is easier to solve this inverse problem, especially in probability problems.
@Smittel
@Smittel 10 жыл бұрын
7:08 Pacman ^^
@JatinSanghvi1
@JatinSanghvi1 7 жыл бұрын
Ulam spiral and Sack's spiral are same. Both have a line starting from center that contains all square numbers. Stretch Sack's spiral in four directions, rotate the page and you get Ulam spiral.
@sanderd17
@sanderd17 8 жыл бұрын
Still not convinced by the pattern in this video. The comparison is made to random numbers, but primes are certainly odd (except 2), and all odd numbers are on diagonals. So isn't it normal we see diagonals when the picture is part of a picture with only diagonals? I'm not saying this is all false btw, but it would have been nicer to show the difference between the prime numbers and random odd numbers, instead of random numbers without any restriction.
@Houshalter
@Houshalter 8 жыл бұрын
+Sander Deryckere I saw someone do that. The same patterns don't emerge. There is something special about prime numbers. A lot of mathematicians have thought about the Ulam Spiral. If it was something as simple as it being odd numbers, it would have been discovered.
@sanderd17
@sanderd17 8 жыл бұрын
+Houshalter As I said, I didn't claim this video to be wrong, I just claim this video to be not convincing enough as it was presented here.
@Monsolido
@Monsolido 8 жыл бұрын
+Sander Deryckere That's a slippery road if you ask me. When you graph random odd numbers, it isn't completely random anymore : you have introduced a bias. Then why stop at eliminating numbers divisible by 2 ? Why not eliminate the numbers divisible by 3 ? Primes are never divisible by 3 so that would be a better comparison. Then why not add the numbers divisible by 5 ? And 7 ? And so on.. By eliminating more and more divisors, you'll end up with the graph of prime numbers, with the same pattern shown in this video (or at least a subset of it, keeping in mind we pick inside it at random). Surely the pattern will start to emerge somewhere along the way between complete randomness and your elimination by divisors process. Therefore some faint properties of the pattern should be visible in earlier iterations, like the graph of random odd numbers. So I think comparing to completely random numbers is more relevant.
@sanderd17
@sanderd17 8 жыл бұрын
+mens sana but it's easy to show that there's a relation between diagonals and oddness of a number. It's not the case for multiples of 3. And if you see the same pattern for whatever multiples you leave out, did you really find a pattern for prime numbers then? There are more patterns I could find for prime numbers. Like patterns in the final digit of a number (which almost never even or 5). But would you classify that as a pattern for prime numbers, or as a pattern for multiples of 2 and 5? Again, I'm not saying this video is false, and there are probably statistical methods to see if there's a pattern there or not. But as it is, it's not very convincing to me.
@okktok
@okktok 5 жыл бұрын
mens sana Randomness doesn’t implies equality distribution nor lack of any pattern , you know nothing about basic statistics.
@InstantGiblets
@InstantGiblets 4 жыл бұрын
1:17 I love how happy he is while saying “very boring lecture”.
@owenpeter3
@owenpeter3 10 жыл бұрын
The plural of formala is formulAE and not formulAS!
@-danR
@-danR 7 жыл бұрын
formala is the plural of formalin.
@everlast282
@everlast282 5 жыл бұрын
You are gAE
@Xormac2
@Xormac2 5 жыл бұрын
Not if the world "formula" gas been absorbed in english
@DrSpoon99
@DrSpoon99 9 жыл бұрын
The opening of this was beautifully edited. It was cut off perfectly.
@MCHiddenNinja
@MCHiddenNinja 10 жыл бұрын
I think its obvious that these spirals occur.... every prime is represented as 6k+(or-)1 so primes can't be everywhere unlike his "random" example..
@VikeingBlade
@VikeingBlade 5 жыл бұрын
2=6k+-1 ?
@proloycodes
@proloycodes 2 жыл бұрын
@@VikeingBlade excluding 2 and 3
@michamarciszewski9045
@michamarciszewski9045 5 жыл бұрын
Have you read Douglas Adams books? Try making Ulam spiral starting with 42 (which is "the meaning of life")...
@chrisg3030
@chrisg3030 5 жыл бұрын
I tried starting with 43 spiralling in the same direction as James numerically downwards, 43 42 41 ... 0 -1 -2 ... eventually getting an unbroken prime diagonal consisting of 22 primes with -229 at one end and -607 at the other. This implies accepting the idea of negative primes, that 13 and -13 are distinct primes, and that 1 is a prime (or at least a non-composite). If you start with 41 and go numerically upwards you get another famously long diagonal. 42 occupies a central position between the two.
@MrPeterClements
@MrPeterClements 11 жыл бұрын
ive ventured into the deep and dark world of intense boredom
@JorgetePanete
@JorgetePanete 7 жыл бұрын
Massive Balloonknot 1.49 AM
@aleksapetrovic7088
@aleksapetrovic7088 6 жыл бұрын
How are prime numbers boring
@suit1337
@suit1337 11 жыл бұрын
Well, the triangular pattern is already done, it is called a "Klauber Triangle" :) and there are tons of programs out there that will generate "any" pattern - even with different numbers market out for example the ulam spiral with all numbers divisible by 7 marked out is very interesting :)
@notahandle965
@notahandle965 11 жыл бұрын
Am I the only one who thinks this is hiding a depth so complex that we can't comprehend it and finding it creepy as hell? Yeah? Okay...
@Xivilay1
@Xivilay1 11 жыл бұрын
What is interrestig is, that there are not only diagonal lines for primes, there are also vertical and horizontal line were no primes are located!
@walexander8378
@walexander8378 8 жыл бұрын
mommy im scared
@teleny2
@teleny2 4 жыл бұрын
I first heard of this when I was 12. I said "but they look like a garden"! And yes, a lot of French garden designs look just like that.
@zeekjones1
@zeekjones1 6 жыл бұрын
A similar concept I came up with while doodling in school too... Get grid paper, and do rows, draw lines through primes; they line up at various different angles
@huckbeduck
@huckbeduck 6 жыл бұрын
I found an equation to find the next number, going diagonally or horizontally or vertically. (This is for all the numbers to create an ulam spiral without writing every digit). Just add 8 to the difference between two of the previous consectutive numbers of the direction you want to go. 2,10,26,50 is a diagonal for example; (50-26=24, 24+8=32, 32+50=82. "82" is the next number in the sequence.
@numberphile
@numberphile 11 жыл бұрын
thanks
@RemnantMusicOfficial
@RemnantMusicOfficial 11 жыл бұрын
-in contrast to the ever bland and ironic reply given to the comment xP But seriously, one of my favorite channels on KZbin
@aboudbarghouthi
@aboudbarghouthi 5 жыл бұрын
Well, i think it's intuitive that they're appearing on diagonals since the spiral you made has all the odd numbers on the corners of each square as the squares spiral larger.
The Prime Number Race (with 3Blue1Brown) - Numberphile
20:29
Numberphile
Рет қаралды 397 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Fibonacci Mystery - Numberphile
9:48
Numberphile
Рет қаралды 2,6 МЛН
abc Conjecture - Numberphile
6:44
Numberphile
Рет қаралды 1,6 МЛН
What's so special about the Mandelbrot Set? - Numberphile
16:53
Numberphile
Рет қаралды 2,4 МЛН
Zeno's Paradox - Numberphile
12:05
Numberphile
Рет қаралды 3,4 МЛН
Euler Squares - Numberphile
15:27
Numberphile
Рет қаралды 541 М.
Gaps between Primes - Numberphile
8:59
Numberphile
Рет қаралды 996 М.
Twin Prime Conjecture - Numberphile
17:42
Numberphile
Рет қаралды 798 М.
Witness Numbers (and the truthful 1,662,803) - Numberphile
16:46
Numberphile
Рет қаралды 451 М.
5040 and other Anti-Prime Numbers - Numberphile
13:38
Numberphile
Рет қаралды 2,3 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН