Plotting Pi and Searching for Mona Lisa - Numberphile

  Рет қаралды 273,590

Numberphile

Numberphile

2 жыл бұрын

Matt Henderson lets his plotter loose on Pi. This plotting extravaganza follows on from this earlier video: • The Plotting of Beauti...
More links & stuff in full description below ↓↓↓
Matt Henderson on Twitter (he posts lovely animations there): / matthen2
Matt Henderson Numberphile Playlist: bit.ly/MattHendersonPlaylist
36-degree Mona Merch: numberphile.creator-spring.co...
(*) The Mona Lisa is just an artistic creation - we have not yet found it in the real Pi Plot!
7 x 17 = 119
Numberphile is supported by the Mathematical Sciences Research Institute (MSRI): bit.ly/MSRINumberphile
We are also supported by Science Sandbox, a Simons Foundation initiative dedicated to engaging everyone with the process of science. www.simonsfoundation.org/outr...
And support from The Akamai Foundation - dedicated to encouraging the next generation of technology innovators and equitable access to STEM education - www.akamai.com/company/corpor...
NUMBERPHILE
Website: www.numberphile.com/
Numberphile on Facebook: / numberphile
Numberphile tweets: / numberphile
Subscribe: bit.ly/Numberphile_Sub
Videos by Brady Haran
Patreon: / numberphile
Numberphile T-Shirts and Merch: teespring.com/stores/numberphile
Brady's videos subreddit: / bradyharan
Brady's latest videos across all channels: www.bradyharanblog.com/
Sign up for (occasional) emails: eepurl.com/YdjL9

Пікірлер: 815
@numberphile
@numberphile 2 жыл бұрын
Check out a little bit of "Mona Merch" from this video: numberphile.creator-spring.com/listing/36-degree-mona-numberphile
@user-dy9tf1ch1n
@user-dy9tf1ch1n 2 жыл бұрын
He's boring
@jaredmiller1268
@jaredmiller1268 2 жыл бұрын
Is this programn available? I think this is amazingly beautiful and would love to be able to make some decorative pieces with this.
@scottanderson8167
@scottanderson8167 2 жыл бұрын
My question is, how many digits of pi do you need to make the whole gorilla picture?
@nigglewiggle4214
@nigglewiggle4214 2 жыл бұрын
wow so you CAN find the number to draw some particular image 🤔🤔
@robertr7923
@robertr7923 2 жыл бұрын
@@jaredmiller1268 The code is visible in the screenshot. If you have mathematica you can run the code. Just copy paste: plot[x_, base_: 10, num_: 10000] := Graphics[Line[ AnglePath[ 2 Pi Select[RealDigits[x, base, num][[1]], NumericQ]/base]], ImageSize -> Large] If you hit enter, nothing will happen but then you can run 'plot[Pi,10,1000] and if you run that, it will create a graph. I dont know how to make an animation or a slider or anything. I just copied it from the video and luckily it worked
@m1a4abrams50
@m1a4abrams50 2 жыл бұрын
I think it would be really cool to see this with a heat map to visualize how much it overlaps.
@GuGus963
@GuGus963 2 жыл бұрын
Yes someone please do this !
@78Mathius
@78Mathius 2 жыл бұрын
Also, slowly change the color of the line.
@rhoddryice5412
@rhoddryice5412 2 жыл бұрын
My first thought as well. Another cool thing would be base 3 with 0 as blue, 1 as green and 2 red.
@castaway9642
@castaway9642 2 жыл бұрын
I was thinking this would be a great way to make fantasy maps, and the heat map idea would be an awesome visual for elevation.
@namelastname4077
@namelastname4077 2 жыл бұрын
@@rhoddryice5412 I like this one better but in the end both would just be a dark brown-ish gray-ish color
@MarioDiNicola
@MarioDiNicola 2 жыл бұрын
I'd like to see progressively better rational approximations of π, since they presumably would start like pi but build patterns.
@beneze3286
@beneze3286 2 жыл бұрын
yess, that’d be so cool
@HasekuraIsuna
@HasekuraIsuna 2 жыл бұрын
That sounds like it should and would be very cool to see comparisons!
@RobotProctor
@RobotProctor 2 жыл бұрын
and have each approximation be in a different color (perhaps scaled from light to dark as it gets to a closer and closer approximation.
@ZandarKoad
@ZandarKoad 2 жыл бұрын
Great idea. Numberphile 2 maybe?
@zetacrucis681
@zetacrucis681 2 жыл бұрын
or ratios of consecutive Fibonacci numbers... perhaps one could find a geometric update rule to go from one to the next
@nathanbrader7591
@nathanbrader7591 2 жыл бұрын
4:34 "If I gave you this picture, could you have worked out the digits of pi". Not if a line looks the same no matter how often it's drawn over. You said it yourself at 1:54: "If I see two 5s, it basically doesn't do anything". This means that any number with two consecutive 5s somewhere in it's digits draws the same picture as a number without those two 5s. As a result you can subtract from pi (or add to pi!) as many pairs of 5s as you like and you'll get a number that draws the same picture as pi. If all you have is a picture drawn from pi, you won't know how many 5s to include. There are also infinitely many other ways to return to a spot without drawing anything new. In short, the function from number to picture is not invertible. EDIT: Technically, since he coded the turtle to rotate before the first step forward, a number with a pair of 5s at the very start doesn't necessarily draw the same picture as the number with those 5s removed. Even more technically, you can add as many zeroes to the start or end (if it has one) of your number and this won't change the number but will change it's picture: It would be more correct to say this function maps from sequences of digits to pictures. Finally, if you want to be INCREDIBLY technical, the interpretation of the picture as digits requires contextual information such as where the turtle started drawing from and what direction it started pointing in. In fact, unless you mark where the turtle stops after each step or know the length it travels each step, you can't even tell whether any line segment isn't several lines with 0 rotation between each: This would mean every sequence of digits draws the same picture as the sequence you get from inserting a 0 between every digit.
@johncorrell514
@johncorrell514 2 жыл бұрын
The picture needs to be graphed in 3D with time as the Z-axis to be traceable. Or just use the golden ratio as the constant instead of time and see what pretty squiggles pop up.
@YawnGod
@YawnGod 2 жыл бұрын
But if you had an arrow between each vertex....
@PeterBarnes2
@PeterBarnes2 2 жыл бұрын
If we, like in the first part of this short series, altered the size of a degree by a very small amount, and if that new angle, in radians, was now relatively irrational to pi, the picture should have a subtle deviation everywhere. The picture now should never have any overlap except for isolated points. Now any finite picture should be invertible. There would be the possibility that you could trace over the image backwards, except that an alteration to the size of a degree is asymmetric, so it'll deviate a great deal, and give a distinct answer.
@Jivvi
@Jivvi 2 жыл бұрын
@@YawnGod that would still leave something like 125534 indistinguishable from 12555534 or 1255555534.
@robertlewis6915
@robertlewis6915 2 жыл бұрын
It would be if you used some depth-measurement possibility- like if going over the same spot twice made it 2x as deep.
@DennisDavisEdu
@DennisDavisEdu 2 жыл бұрын
0:37 "Wow, you know that many by heart?" As a high school sophomore in 1978 I had memorized pi to 26 decimal places. I wrote them out and a classmate saw them (we thus became friends) and we had a contest to see who could memorize the most digits of pi. I don't remember the details of the arrangement, but it was a relatively few number of days. I memorized 100 digits and was pretty confident in a victory. My friend (who I hope will see and respond to this post) memorized 250. There's always a bigger fish! When Matt said "You always need to know one more" I laughed because I now know 108 digits. The 100th digit is "9". After reciting 100 digits for whatever audience, they'd ask "what comes next?" Well, from studying whatever list you had at the time, you can't help but notice the next digit, which I did know was "8". So I guess I knew 101 digits. And over the years the "just one more" creep has reached 108. The last 8 digits I know are "8214808".
@xnoelxtuneothday
@xnoelxtuneothday 2 жыл бұрын
...but that's only 7 digits. Don't leave us hanging like that.
@DennisDavisEdu
@DennisDavisEdu 2 жыл бұрын
@@xnoelxtuneothday Funny! If my recollection of pi's digits is clear, my recollection of the details of the memorization process are not. My recitation today ends with "8214808" which is indeed 7 digits but that's how the first 108 end. That's my story and I'm sticking to it!
@OscarCunningham
@OscarCunningham 2 жыл бұрын
@@DennisDavisEdu What comes next?
@DennisDavisEdu
@DennisDavisEdu 2 жыл бұрын
@@OscarCunningham Well played! 6 but only because I looked it up. I don't recite it much anymore, but when I see someone writing it, I always check them, sometimes you spot bluffers. In this video, Matt was correct of course.
@cyphern
@cyphern 2 жыл бұрын
Hah, i definitely recognize the need to know one more, because they're always going to ask that. Though in my head, it's not about knowing one more, it's about lying about how many i know and underreporting it by 1 :) I'm at about 50 digits right now, and have been inching that number up for years. I'm curious @Dennis Davis, when you recite the digits do you have any sort of, say, rhythm or pattern to how you say them? I group the digits into bundles of usually 4, but with some occasional deviations. The first number in the bundle then gets said with more stress, eg: " **one** four one five, **nine** two six five, **three** five eight nine, **seven** nine three" (That last bundle is one of the deviations, with only 3. I then do a pause, and put the stress on the next digit of "two").
@mrswats
@mrswats 2 жыл бұрын
To appear in numberphile its mandatory to know at least one hundred digits of pi
@QuantumHistorian
@QuantumHistorian 2 жыл бұрын
No, only last 5 digits are required
@MaGaO
@MaGaO 2 жыл бұрын
@@QuantumHistorian Easy. 951413. Next time, define _last_ ;-)
@renerpho
@renerpho 2 жыл бұрын
It's also mandatory to declare 119=7*17 a prime number.
@MaGaO
@MaGaO 2 жыл бұрын
@@renerpho I'll go one step further: define pi=3.2 and get done with it (see the proposed Indiana bill -in 1897).
@i_am_aladeen
@i_am_aladeen 2 жыл бұрын
@@MaGaO In a couple of years, you'll be wrong. The forever last.
@Caleb-zj9xi
@Caleb-zj9xi 2 жыл бұрын
I absolutely LOVE this concept. One of my favorite numberphile videos ever
@hvok99
@hvok99 2 жыл бұрын
I would LOVE to see the set of rotationally symmetric drawings made by plotting the turns in 1/primes
@davidgillies620
@davidgillies620 2 жыл бұрын
If you can't afford Mathematica this wouldn't be hard to code in Python, or R.
@kindlin
@kindlin 2 жыл бұрын
@@davidgillies620 If only I was better at python graphics.... OK, now I have to try this.
@quigzinator
@quigzinator 2 жыл бұрын
@@kindlin python has a package called turtle that does just this.
@hvok99
@hvok99 2 жыл бұрын
@kindlin if you do make this would you share?!
@rusca8
@rusca8 2 жыл бұрын
@@hvok99 I made it but it shadowbanned my link! (thought I had shared it yesterday and apparently it's gone)
@Zveebo
@Zveebo 2 жыл бұрын
Matt’s video are great, some of my Numberphile faves ☺️ Lovely and chill, just enjoying the beauty of mathematics with a soft Scottish accent.
@user-gc8cy5tx1w
@user-gc8cy5tx1w 2 жыл бұрын
Matt: I guess 119 is prime All its non trivial divisors: Am I a joke to you ?
@joonasjurgenkisel5480
@joonasjurgenkisel5480 2 жыл бұрын
I mean, the Grothendieck prime is a thing :D
@davidgillies620
@davidgillies620 2 жыл бұрын
119 is in the middle of a pretty large prime gap. The previous prime is 113 and the next 127. 119 is quite a useful semiprime for doing things like working through a toy version of RSA.
@PhilBagels
@PhilBagels 2 жыл бұрын
He knows that many digits of pi, but he doesn't know 7x17.
@janneniemela1184
@janneniemela1184 2 жыл бұрын
my favorite part of these videos is the presenters always remembering the digits of pi and brad always being equally impressed
@Chrispheh
@Chrispheh 2 жыл бұрын
The conjecture that pi is normal is actually much stronger than simply "each sequence of digits will appear somewhere". First of all it works in every base, not just base 10. Secondly, it says that every sequence of digits has roughly the same chance to come up. So if you throw away the first bunch of digits, the remaining ones are distributed like uniformly random digits - and the more digits you throw away from the start the better the fit is.
@PLKSSB
@PLKSSB 2 жыл бұрын
Could you explain why is necessary to throw away the first digits? It is known they are not random?
@birthsonbluebell3654
@birthsonbluebell3654 2 жыл бұрын
@@PLKSSB No, it's because we can't attempt to predict which digits are there, as we already know them.
@davidgillies620
@davidgillies620 2 жыл бұрын
Formally, we say a number is b-normal if the frequency of a length-k string of base-b digits appearing in the first n digits of the number tends towards b^-k as n increases. A normal number is one that is b-normal for all b.
@landsgevaer
@landsgevaer 2 жыл бұрын
The first digits have a negligibly small influence on the asymptotic dustribution, no matter how finitely many you have of them, so no need to throw anything away.
@Chrispheh
@Chrispheh 2 жыл бұрын
@@PLKSSB well, for example pi definitely starts with 3, so if you look at the first 1 digits it's not a uniform distribution. But I think your comments and others are right, you don't need to throw anything away if you're happy to talk asymptotically (I.e. look at all digits from 1 onwards, in which case the first 10 digits contribute almost nothing to the distribution). Maybe forget the bit about throwing digits away.
@snakesocks
@snakesocks 2 жыл бұрын
My immediate thought was what would happen if you used all known prime numbers instead of Pi? Would extrapolating the resulting pattern give some insight into the next prime number?..
@GuGus963
@GuGus963 2 жыл бұрын
I wonder that too can someone do this?
@DeclanMBrennan
@DeclanMBrennan 2 жыл бұрын
Snap. I should have read forward before creating my own comment on this.
@DeclanMBrennan
@DeclanMBrennan 2 жыл бұрын
Pasted here, so you don't have to look for it: Really cool. Here's a suggestion for a teeshirt. Choose a prime base like 11 so 1/p never ends for any prime and create a taxonomy of the first set of primes. The sequence of pictures may look quite intriguing.
@alveolate
@alveolate 2 жыл бұрын
also remember: we have a lot of base X to test as well. i have a feeling base 10 will always look rather messy, but base 8 might be interesting? base 3, 4 and 6 kinda look too regular; but with the heat map idea from another comment, the overlaps might start to look like something as well.
@beeble2003
@beeble2003 2 жыл бұрын
What do you mean by "all known prime numbers"? We know that there are infinitely many prime numbers and, however many we know, we can always find more.
@jaymanx4life
@jaymanx4life 2 жыл бұрын
Amazing stuff. Questions just started to pop like: what if, instead of turning on every digit, every other digit is the length? 3 angle, 1mm line, 4 angle, 1mm line, etc? The 1/7 pattern looks pretty too, like a snowflake ❄
@ambrosiustorgelspitter5913
@ambrosiustorgelspitter5913 2 жыл бұрын
Nice! Or instead use the digits of e.g. e for length, combining pi and e.
@landsgevaer
@landsgevaer 2 жыл бұрын
Not much changes, qualitatively. Rationals remain leading to closed curves, irrationals do not. For rationals, every rational in your scheme has a rational in the original scheme that results in the same plot, and vice versa. For irrationals, for large numbers of digits, the scale of the figure becomes so big you can't discern individual steps and then it all looks the same: random walks.
@jaymanx4life
@jaymanx4life 2 жыл бұрын
@@ambrosiustorgelspitter5913 That's even better mate. How close can we get to the Mona Lisa? 😅
@rusca8
@rusca8 2 жыл бұрын
@@landsgevaer actually, 1/43 goes in a straight line instead of a closed curve (I guess it happened to have a repeating whose sum of angles is 0) hahahah
@landsgevaer
@landsgevaer 2 жыл бұрын
@@rusca8 Yeah, I read that in another thread too, is correct. Base 2 stays on a line, haha
@TheTechAdmin
@TheTechAdmin 2 жыл бұрын
Please do more videos with Matt Henderson. It's so comforting how humble he is.
@HeroDarkStorn
@HeroDarkStorn 2 жыл бұрын
It'S interesting how you remember different things based on your interests. This person remembers more digits of Pi, I remember that 119 is "First hard to spot not-prime". It's not divisible by 2/3/5, and it does not have "clue" it's predecessors have - 49 everyone knows and 77 is easy to factor. A also know that 10_ is always prime (that is 101, 103, 107, 109 are prime, others are even or end in 5), and 20_ is the first "decade" with no prime at all.
@Lopoi
@Lopoi 2 жыл бұрын
There gotta be a sistematic way to convert any plot into a number. Then its just about searching that number on PI
@vieczurable
@vieczurable 2 жыл бұрын
So many years, still one of the most fascinating channels on KZbin. I know almost nothing about maths and I feel lucky to see those who can do so much with numbers. Thanks.
@camerongray7767
@camerongray7767 2 жыл бұрын
This is one of the coolest videos I have seen in the channel
@daydreamer05
@daydreamer05 2 жыл бұрын
This is the path I follow when I return from college to my room.
@masheroz
@masheroz 2 жыл бұрын
Matt is one of my new favourites!
@shruggzdastr8-facedclown
@shruggzdastr8-facedclown 2 жыл бұрын
...better than Matt Parker?
@mienzillaz
@mienzillaz 2 жыл бұрын
Best part2 video in numberphile history!
@blacknole5034
@blacknole5034 2 жыл бұрын
It would be great to do the pi base 4, but when 2 lines overlap they disappear,
@fonkbadonk5370
@fonkbadonk5370 2 жыл бұрын
Would be super simple to do. Just use an XOR pen. (Well, on a computer, not so easy on paper.)
@Triantalex
@Triantalex 5 ай бұрын
??
@gandung777
@gandung777 2 жыл бұрын
The video series with matt probably is the most theurapetic ones in the numberphile's playlist
@_rlb
@_rlb 2 жыл бұрын
Don't forget Ayliean ;)
@vigilantcosmicpenguin8721
@vigilantcosmicpenguin8721 2 жыл бұрын
This is quite a work of art. I feel more moved by this math stuff than by the actual Mona Lisa.
@brahman8288
@brahman8288 2 жыл бұрын
It immediately got weird when it started to look like a World MAP
@proloycodes
@proloycodes 2 жыл бұрын
true
@MrScottev
@MrScottev 2 жыл бұрын
Someone please please pretend to send this man the number sequence to draw himself but actually send the sequence to plot Rick Astley for the ultimate Rick roll.
@SquirrelASMR
@SquirrelASMR 2 жыл бұрын
You can easily work in reverse to determine which digits you need for drawing the mona lisa
@feynmandirac7575
@feynmandirac7575 2 жыл бұрын
Matt's work in math is playful, yet it reveals deep beauty of mathematics
@potatobutter141
@potatobutter141 2 жыл бұрын
I vomited reading that
@feynmandirac7575
@feynmandirac7575 2 жыл бұрын
@@potatobutter141 glad I could help with your constipation
@potatobutter141
@potatobutter141 2 жыл бұрын
@@feynmandirac7575 wrong hole but thanks
@feynmandirac7575
@feynmandirac7575 2 жыл бұрын
@@potatobutter141 well topologically it's the same hole
@shifatmat
@shifatmat 2 жыл бұрын
@@feynmandirac7575 you couldn't be more right.
@mebamme
@mebamme 2 жыл бұрын
To get a visible Mona Lisa, I think you'd need more than just the sequence of digits required to draw it - you'd also need to make sure you don't draw on top of it further down the line.
@boyo7918
@boyo7918 2 жыл бұрын
Yeah you'd need like a really long string of 0s before
@alexboiiii
@alexboiiii 2 жыл бұрын
which is impossible, since for every mona lisa drawn with pi, there is some sequence of digits that will eventually make its way towards the mona lisa and ruin it
@Pheonix1328
@Pheonix1328 2 жыл бұрын
The Mona Lisa would get drawn an infinite number of times so one would think there would be at least one that doesn't get covered.
@Pheonix1328
@Pheonix1328 2 жыл бұрын
@@alexboiiii Are you sure? That would mean if you let this program run forever every spot would be visited... although I'm not sure if that's true or not.
@beeble2003
@beeble2003 2 жыл бұрын
@@Pheonix1328 It doesn't mean that every spot would be visited. For example, using base 3 means you only visit the triangular grid -- none of the interior points of the triangles can ever be touched.
@fredrikkihlberg2757
@fredrikkihlberg2757 2 жыл бұрын
This was one of the more relaxing videos I've watched in a while. Great stuff as always!
@evindunn2172
@evindunn2172 2 жыл бұрын
This dude does the absolute coolest visualizations
@azzyclark3860
@azzyclark3860 2 жыл бұрын
Top tier numberphile content
@numberphile
@numberphile 2 жыл бұрын
thanks
2 жыл бұрын
The fast drawing sequencies are so calming with that music. Excellent video!
@maizena7646
@maizena7646 2 жыл бұрын
03:08 Definitely resemblances to the world map here. Very cool!
@benjaminbrindar888
@benjaminbrindar888 2 жыл бұрын
The golden ratio has my vote for favorite turtle plot. Reminds me of trees with their leaves in full bloom!
@wagonranger7388
@wagonranger7388 2 жыл бұрын
Is there any way we can get his code? I want to try it out for myself.
@mataloger
@mataloger 2 жыл бұрын
The code is goimg to be easy to work out, what language is it?
@hanzomain4681
@hanzomain4681 2 жыл бұрын
@@mataloger pretty sure it's mathematica
@Yahula1edits
@Yahula1edits 2 жыл бұрын
This was really beautiful to watch, its art to me
@bloomp7999
@bloomp7999 2 жыл бұрын
It's existence itself
@SquirrelASMR
@SquirrelASMR 2 жыл бұрын
I think there's an easier way to send pi as an image. Like a drawing with a radius and a circumference would be enough info, like just send them a circle and two lines max
@sparkmagea99
@sparkmagea99 2 жыл бұрын
Using this as a visualization of the difference between rational and irrational numbers is brilliant
@markwizy4661
@markwizy4661 2 жыл бұрын
Since both base 6 and base 3 in this type of plotting turn the plan into triangles I think it would be interesting to compare plots for the same number in each of those bases.
@AnonimityAssured
@AnonimityAssured 2 жыл бұрын
Although 119 is not a prime number, its plot appears to say nothing about its factors. I wonder whether some other form of move-then-turn mechanism might quickly reveal at least some of a composite number's factors.
@Justin-tp1mx
@Justin-tp1mx 2 жыл бұрын
I doubt it, the plot is radically different for different bases so there shouldn't be any overarching meaning to any of it
@AnonimityAssured
@AnonimityAssured 2 жыл бұрын
@@Justin-tp1mx Indeed, but I don't mean just varying the parameters of this specific technique. Rather, I mean devising a different technique that reveals factors, perhaps irrespective of the base. I realize that my description is very vague, but that is why I posed a query rather than presenting a working mechanism. It's important to bear in mind, however, that factorization is in no way dependent on base, although expressing a number in a base that corresponds to one of its factors _does_ reveal that factor. For example, 119 in base 7 is 230, and the final zero means that 119 is divisible by 7. Similarly, 119 in base 17 is 70, which means that 119 is divisible by 17. (17 in base ten, that is.)
@gmtatum
@gmtatum 2 жыл бұрын
I love these kinds of videos where a complicated series of numbers or angles is visually represented. The Collatz Conjecture video from 2017 is another one of my favorites. Keep these coming Numberphile! Also, anything with Cliff Stoll I will like. He is cool squared.
@pedroheck3667
@pedroheck3667 2 жыл бұрын
Can you imagine if you plot some other universal constant like the Golden Ratio at some random base and the figure that shows up is a message or something 😳
@sr-kt9ml
@sr-kt9ml 2 жыл бұрын
this is the type of thing i enjoy seeing... hidden patterns of math revealing themselves. This is surely a very powerful tool Matt Henderson has created for making discoveries about math and the nature of the universe. I would love to fool around with it and plug in some numbers myself.
@tonidertutor5264
@tonidertutor5264 2 жыл бұрын
Matt seems to be a really kind guy, I love listening to his voice. Great work by all of you!
@flavertex658
@flavertex658 2 жыл бұрын
The 10,000 digits of Pi looks like an awesome fantasy world map
@aimeerivers
@aimeerivers 2 жыл бұрын
This is so satisfying and calming to watch.
@fe4000
@fe4000 2 жыл бұрын
One of the most beautiful videos ever.
@brianpiper3188
@brianpiper3188 2 жыл бұрын
These drawings are a perfect visual representation of how I see numbers!
@SciTechGeeked
@SciTechGeeked 2 жыл бұрын
Such an emotionally exciting video! Loved it.
@brooddoos1
@brooddoos1 2 жыл бұрын
Good sound editing. Makes it a really satisfying vid.
@camilohiche4475
@camilohiche4475 Жыл бұрын
I could do this for weeks on end. If this was a paying job I'd b the happiest geek on earth.
@Itstoearly
@Itstoearly 2 жыл бұрын
I wonder... if you take the digits of pi, and for each even digit you move 1 step left, and for each odd digit, 1 step right.... will you eventually move an infinite amount in both directions?
@Zarunias
@Zarunias 2 жыл бұрын
assuming that Pi is normal: For every number N (that can be as large as you want) there exists a M so that after M digits you are N step to the right of your origin (and obviously the same is true for the left side). You will not reach infinity itself, but you will pass every point of the line at some time.
@nathanmcduck2999
@nathanmcduck2999 2 жыл бұрын
If the current assumption that the digits of pi are uniformly distributed holds true, you will move an arbitrary amount in each directionat some point. That means no matter how large of a number you choose you will at some point be further away from the origin then that number. On the otherhand you will never trend infinitely far in one direction because that would require that there are more even numbers than odd ones (or the other way around), which would violate our assumption of uniformly distributed digits.
@shruggzdastr8-facedclown
@shruggzdastr8-facedclown 2 жыл бұрын
Methinks that that would depend upon the ratio of even and odd digits of pi -- whether there's an equal number of even and odd digits or if there's a bias towards one or the other
@martinepstein9826
@martinepstein9826 2 жыл бұрын
@@nathanmcduck2999 "you will never trend infinitely far in one direction because that would require that there are more even numbers than odd ones" I mean, you'll never trend infinitely far in any direction because at any point in time you've only moved a finite number of steps.
@rogerkearns8094
@rogerkearns8094 2 жыл бұрын
Reminds me of the large scale distribution of galaxies, with the dense walls and the voids.
@dinodonut5776
@dinodonut5776 2 жыл бұрын
Could you theoretically pixelize or vector an image in a way that converted it into a string of numbers that would make that shape when input into this algorithm, and then search the digits of pi (or any other irrational number) to find that string of digits?
@waffleiron2216
@waffleiron2216 2 жыл бұрын
So here's a question. If you did a normal irrational number like Pi in base 4 (so that we're drawing on a tessellated grid), with an infinite-sized grid and an infinite number of steps, in the limit, would we cover every single grid-point? If so, would we touch every single grid-point with the same frequency?
@landsgevaer
@landsgevaer 2 жыл бұрын
I strongly bet "yes". In 2d, random walks on a square grid are recurrent, i.e. guaranteed to revisit a starting point with p->1. That should nail it.
@WAMTAT
@WAMTAT 2 жыл бұрын
couldn't sleep, so glad you just uploaded this for me to watch
@jadduajones
@jadduajones 4 ай бұрын
Glad Brady thought so as well. I also thought they looked like world maps
@26-dimesional_Cube
@26-dimesional_Cube 2 жыл бұрын
I like to think this as a function with the input is one real number and the output is 2d-picture (picture that was introduced in the video) My conjecture was this: All rational numbers are produced shapes such as loop-shapes (shape that does have symmetry patterns like squares, triangular, pentagal, hexagonal...) and all irrational numbers are produce irregular shapes (shapes that doesn't have any particular symmetry patterns) To show that the conjecture is false, either there's a rational number that can produced shapes that doesn't have symmetry or irrational that can produced shapes that does have symmetry
@JavierSalcedoC
@JavierSalcedoC 2 жыл бұрын
This is like playing with a computer assisted etch a sketch but with an excuse. Absolutely loved it I wonder how some music pieces would look like if the notes could be converted into a number string. Maybe base 12 and plot the semitone interval between notes. I bet bach stuff would look funky
@boenwang6133
@boenwang6133 2 жыл бұрын
Different dynamics could also change colour, or perhaps put it in 3d
@Jaggerbush
@Jaggerbush 2 жыл бұрын
I love you used the brown paper for this
@BrendanGuildea
@BrendanGuildea 2 жыл бұрын
That’s the thing about randomness. It’s lumpy! - Simon P
@billmaloney8595
@billmaloney8595 8 ай бұрын
That was friggin' awesome, hypnotic
@leviathan7477
@leviathan7477 2 жыл бұрын
9:12 for a second it looked like the golden ratio was drawing Charles Darwin
@ghisstl.w.9059
@ghisstl.w.9059 2 жыл бұрын
The music of the calming and melancholic piano while on the context of finding Mona Lisa using a self-made computer code that generates an image just hits different to me.
@GrendelShade
@GrendelShade 2 жыл бұрын
Can you add numbers together by just overlaying two plots that were done in the same base? I guess the first questions would be can you decode a given plot to get a number if you know the base?
@NeilMartinIsHere
@NeilMartinIsHere 2 жыл бұрын
I would have liked to see comparisons of rational approximations of pi like 355/113 to see if there's a pattern. Great video.
@liamernst9626
@liamernst9626 2 жыл бұрын
There was a 3blue1brown video about prime spirals that talks about approximations and their similarities. I think it was called Why do prime numbers make spirals? Or something
@joedoom4952
@joedoom4952 2 жыл бұрын
I would love a second part to this
@abhishekdb9800
@abhishekdb9800 2 жыл бұрын
This is truly beautiful. Thank you, Dr. Henderson. Brady, your videos have inspired me in my academic journey. Thanks,.
@bloomp7999
@bloomp7999 2 жыл бұрын
Please a whole serie on this What happened with the higher bases ? We need to do research on this, what about comparison between bases. We could increase the hue of a segment everytime it overlaps to see in colours We could make a complexe number sequence out of it seeing where on the complexe plan each iterations lands. Then the complexe version of it ,with the imaginary and real digits being orthogonal ...
@BooBaddyBig
@BooBaddyBig 2 жыл бұрын
Plots 'e'
@PlanetAstronox
@PlanetAstronox 2 жыл бұрын
I'm going to make this myself to play around with. It seems really cool.
@mataloger
@mataloger 2 жыл бұрын
What language and system is it?
@PlanetAstronox
@PlanetAstronox 2 жыл бұрын
@@mataloger just using python. Going to also compute the numbers myself to the high precision needed for this.
@Luper1billion
@Luper1billion 2 жыл бұрын
So many thoughts and questions. The golden ratios ones are definitely where youre going to find a mona lisa. Also, I actually tried something similar, with the turtle pen, where it draws in 3d space projected onto 2d. I used the fibonacci sequence to generate a list of directions. Was genuinely hoping it would draw the universe, no luck yet.
@AB-jf9jw
@AB-jf9jw 2 жыл бұрын
One thing I'm curious about but I've never seen addressed is - how do you manage the revenue from numberphile with the contributors?
@khalilprince4527
@khalilprince4527 2 жыл бұрын
I'm glad I discovered this channel 😊
@theShneeg
@theShneeg 2 жыл бұрын
This guy is awesome
@shanksfng
@shanksfng 2 жыл бұрын
Math is beautiful. Thanks for sharing. We need to able to buy prints of these!
@trakksfendacre
@trakksfendacre 2 жыл бұрын
I'd be amazed if such a program drew something interesting with the Kolakoski sequence or some other mysterious sequence.
@VikingTeddy
@VikingTeddy 2 жыл бұрын
Aww, this ended too soon! Mesmerizing.
@mikew6644
@mikew6644 2 жыл бұрын
Soundtrack + animations = relaaaaaaaxing 👍 A+ work here!
@Jordan-zk2wd
@Jordan-zk2wd 2 жыл бұрын
Here is a question I am curious about: how does the size of the largest enclosed white region (as compared to the total area enclosed by the black lines) grow as you take the step size to infinity? Some of those white areas look pretty big, but that might be an artifact of early noise or something.
@landsgevaer
@landsgevaer 2 жыл бұрын
That is interesting! It behaves like a random walk (except for some special cases, like in base 2, or for rational numbers). So the root-mean-square distance from the starting point increases proportional to the number of steps, so the area of the region that is covered increases proportional to the number of steps. Not entirely sure, but I suspect that the ratio of the largest enclosed region to the total covered region tends towards a constant.
@minijimi
@minijimi 2 жыл бұрын
This is going to be my Saturday morning programming project.
@Bleepbleepblorbus
@Bleepbleepblorbus 2 жыл бұрын
After watching a bit of numberphile (and I do mean a little bit) I made my first mathematical paradox Basically it's a rectangle that is limited on the X axis and infinite on the Y axis (or the other way around) These are the parts to the paradox: 1- a vertical rectangle split into two right triangles and since the slope is infinite (not zero) it just creates two lines the triangles are impossibly thin (from our perspective at least) but still slanted either way 2- these impossibly thin triangles put back together would create a width that is wider then the two triangles combined should be 3- if you just given the two separated triangles without the width there's a one out of infinity chance you can guess the answer and get it right and zero percent chance you can actually solve it and it right 4- if we take one of the impossibly thin triangles and try to find the tan of the triangle ( infinity/N ) we gat a hypotenuse that is infinitely small while the leg is infinitely larger
@bretscofield
@bretscofield 2 жыл бұрын
This indeed definitely looks like a fun way to generate islands, continents, mountain ranges, for fantasy setting maps.
@fwiffo
@fwiffo 2 жыл бұрын
I'm thinking back to the Sierpinski triangle from earlier... There would be a number like this for base 6, which forever expands to larger and larger versions of the triangle. It should be easy to generate that number algorithmically to some finite number of digits. The number would obviously be irrational, but it seems like it should also be provably transcendental.
@shaman9
@shaman9 2 жыл бұрын
I'd like to see the reverse - take a line drawing, identify the turtle path that would create it, and that would be the unique ID of that image
@jonwallace6204
@jonwallace6204 2 жыл бұрын
Considering that some of them tile the plane and can go over lines multiple times in whatever direction, can’t we conclude that there are an infinite set of values that will produce his face?
@dcterr1
@dcterr1 2 жыл бұрын
Wow, cool video! My guess is that almost every irrational number in every base will essentially produce a 2D random walk, which will eventually fill up any region. I believe this is true because almost every rational number is a normal number in every base, although in order to prove this conjecture, one would need to define what is meant by "random". I also believe that almost every irrational number will produce any pattern you like in every base, such as the Mona Lisa. In fact, if I'm not mistaken, this is true by definition for every normal number, since these numbers contain every possible string of digits in any base, which translates to every possible pattern. I also like the patterns produced by rational numbers, which are all necessarily finite and symmetric. It seems like one could write a research paper on these patterns!
@alfeberlin
@alfeberlin 2 жыл бұрын
A visualization of a number like this is already (kind of) common in cryptography to get something a human might quickly recognize. So if a hash value of something known (like a certain remote computer's cryptographic id) suddenly changes, it might trigger a warning bell in the human who is always shown the visualization on each connection attempt. The algorithm used there is called drunken-bishop and basically does a similar thing. Each digit determines a step in a walking path.
@titust7890
@titust7890 2 жыл бұрын
thank you as this inspired me for further step in an art project.
@IshuBansal9
@IshuBansal9 2 жыл бұрын
At 8:42 you can see a pointy face portrait looking towards left, where they point at image saying Britain
@mussalo
@mussalo 2 жыл бұрын
Wow! I initially overlooked this video but decided to look it now. I have to say this is one the most fascinating videos in Numberphile! It must be due to the simple idea of anyone being able to plot it, but even the most wise perhaps not understanding what it's going to look like. I mean that is there something out there? Are there patterns to be found or common themes across numbers? Can you learn something profound about numbers this way? Anyone can be the pioneer! And that is awsome.
@mully006
@mully006 2 жыл бұрын
I wonder if when plotting in base 3, 4 or 6 if pi or any other irrational number would fully tile the plane or some finite region?
@martensamulowitz347
@martensamulowitz347 2 жыл бұрын
this is beautiful
@alessandrobaca8124
@alessandrobaca8124 2 жыл бұрын
In the turtle graph, for some values of fixed theta (like 1/1.01/1.02), the trajectory drawn is periodic. I would like to know how to measure how many steps are required to draw a single period by knowing a theta value.
@germaindesloges5862
@germaindesloges5862 2 жыл бұрын
After each step, you turn around the centre an amount equal to 180° minus theta (think of the triangle formed by connecting each end of a segment with the center). So for a Given theta, you must go around n turns, where n times (180°-theta) is a multiple of 360. The equation is (180°-theta)n = 0 mod 360
@alessandrobaca8124
@alessandrobaca8124 2 жыл бұрын
@@germaindesloges5862 thank you, i do not fully understand your answer, fortunately i already found a less refined solution. I would like you to clarify your method for me if you don't mind :)
@mimzim7141
@mimzim7141 2 жыл бұрын
I immediately thought send this to aliens to see if they recognize pi.They will send us back a constant we never thought of.
@bowieinc
@bowieinc 2 жыл бұрын
I’d like to see this plotted on 3D.
@LudwigvanBeethoven2
@LudwigvanBeethoven2 2 жыл бұрын
This looks very cool
@hmalbet
@hmalbet 2 жыл бұрын
Beautiful...thanks
The Troublemaker Number - Numberphile
12:52
Numberphile
Рет қаралды 369 М.
A final game with Elwyn Berlekamp (Amazons) - Numberphile
11:06
Numberphile
Рет қаралды 297 М.
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 3,7 МЛН
Be kind🤝
00:22
ISSEI / いっせい
Рет қаралды 17 МЛН
Cat story: from hate to love! 😻 #cat #cute #kitten
00:40
Stocat
Рет қаралды 13 МЛН
The Dumbest Way To Solve A Maze - Numberphile
15:03
Numberphile
Рет қаралды 376 М.
The Fractal Menger Sponge and Pi
13:06
Stand-up Maths
Рет қаралды 452 М.
The Making of a Mile of Pi - Numberphile
31:41
Numberphile
Рет қаралды 940 М.
Strings and Loops within Pi - Numberphile
14:01
Numberphile
Рет қаралды 328 М.
Light sucking flames look like magic
18:05
Steve Mould
Рет қаралды 1,4 МЛН
How do fish swim so quickly?
17:25
Numberphile
Рет қаралды 486 М.
Calculating π with Avogadro's Number
23:43
Stand-up Maths
Рет қаралды 488 М.
A Surprising Pi and 5 - Numberphile
16:40
Numberphile
Рет қаралды 633 М.
Matt Parker Reacts to Magic Squares of Squares - Numberphile
34:06
Numberphile2
Рет қаралды 108 М.
Why this puzzle is impossible
19:37
3Blue1Brown
Рет қаралды 3,1 МЛН
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Рет қаралды 4,6 МЛН
What’s your charging level??
0:14
Татьяна Дука
Рет қаралды 7 МЛН
Дени против умной колонки😁
0:40
Deni & Mani
Рет қаралды 8 МЛН