How to find the 2319th digit of 1000!

  Рет қаралды 60,317

Michael Penn

10 ай бұрын

🌟Support the channel🌟
Patreon: www.patreon.com/michaelpennmath
Channel Membership: kzbin.info/door/6jM0RFkr4eSkzT5Gx0HOAwjoin
Merch: teespring.com/stores/michael-penn-math
My amazon shop: www.amazon.com/shop/michaelpenn
🟢 Discord: discord.gg/Ta6PTGtKBm
🌟my other channels🌟
mathmajor: kzbin.info/door/C6Wl-xnWVS9FP0k-Hj5aiw
pennpav podcast: kzbin.info/door/Il9oLq0igolmqLYipO0OBQ
🌟My Links🌟
Personal Website: www.michael-penn.net
Instagram: melp2718
Twitter: michaelpennmath
Randolph College Math: www.randolphcollege.edu/mathematics/
Research Gate profile: www.researchgate.net/profile/Michael_Penn5
Google Scholar profile: scholar.google.com/citations?user=W5wkSxcAAAAJ&hl=en
🌟How I make Thumbnails🌟
Canva: partner.canva.com/c/3036853/647168/10068
Color Pallet: coolors.co/?ref=61d217df7d7058000b2f880c
🌟Suggest a problem🌟
forms.gle/ea7Pw7HcKePGB4my5

Пікірлер: 216
@srivatsav9817
@srivatsav9817 10 ай бұрын
That flip was amazing!
@gary.h.turner
@gary.h.turner 10 ай бұрын
And I had always thought that Michael was so serious! How wrong I was! 🐬 😂
@kpopalitfonzelitaclide2147
@kpopalitfonzelitaclide2147 10 ай бұрын
Not expecting tgat
@dippn7047
@dippn7047 10 ай бұрын
Doing math in his bare feet, living the dream
@conrad5342
@conrad5342 10 ай бұрын
Omg he did it again
@it_genfailure
@it_genfailure 10 ай бұрын
got an ad mid flip
@goodplacetostop2973
@goodplacetostop2973 10 ай бұрын
6:57 and 12:51 Backflips 23:54 Good Place To Stop
@maxvangulik1988
@maxvangulik1988 10 ай бұрын
i didn't know michael penn could skidoo
@enpeacemusic192
@enpeacemusic192 10 ай бұрын
Omg the backflips are back!
@peasant12345
@peasant12345 10 ай бұрын
wtf!
@tzubin99
@tzubin99 10 ай бұрын
Yeah, I stopped around the 13 minute mark when the 2319th place is “special” and not some randomly chosen place
@franzlyonheart4362
@franzlyonheart4362 10 ай бұрын
This looks so funny, I kept rewinding (hit key J) and rewatching a dozen tines, and I was LMFAO watching it. I'm still giggling a bit.
@TypoKnig
@TypoKnig 10 ай бұрын
As a former physicist, it warms my heart to see Stirling’s Approximation in use.
@QuantumHistorian
@QuantumHistorian 10 ай бұрын
I barely recognised it! In statistical mechanics, _log(n!) = n log(n) - n_ was always good enough, no need to get constants involved. I guess the difference is working with _n_ being about 10^20 rather than 10^3.
@thefunpolice
@thefunpolice 10 ай бұрын
I know someone who called himself TypoKnig well over a decade ago. He was a big Grateful Dead fan and an extremely sharp wit. I think he'd be a little upset that a physicist is using his name while typing sentences containing no typos at all.
@TypoKnig
@TypoKnig 10 ай бұрын
@@thefunpolice You don't know how many edits I had to make!
@thefunpolice
@thefunpolice 10 ай бұрын
@@TypoKnig You're not fooling anyone!
@Kaiwizz
@Kaiwizz 9 ай бұрын
Why former? What happened to you?
@JavierSalcedoC
@JavierSalcedoC 10 ай бұрын
6:58 and that's a good place to backflip
@manucitomx
@manucitomx 10 ай бұрын
The backflip is back!🎉 Thank you, professor!
@trueriver1950
@trueriver1950 10 ай бұрын
Why doesn't he get chalk on his clothes using one side of his body to wipe the board each time?
@MathFromAlphaToOmega
@MathFromAlphaToOmega 10 ай бұрын
I was very confused from the video title at first, thinking we were finding the 2319th digit of 1000... This problem is much more interesting.
@gavindeane3670
@gavindeane3670 10 ай бұрын
Same here. But honestly - I think it works. It's much more attention-grabbing than the real title. 🙂
@freewilly1337
@freewilly1337 10 ай бұрын
I originally thought the digits were counted in reverse order and now I am somewhat disappointed...
@johanvl8579
@johanvl8579 Ай бұрын
Lol yeaa, ig you have to add the 3 nd 1 to get 249 💀
@michaelblankenau6598
@michaelblankenau6598 10 ай бұрын
Very impressive . Not only understanding how to approach the problem but also the persistence to see it through to the end
@joelganesh8920
@joelganesh8920 10 ай бұрын
To comment on the "sketchy part" where we approximate log_10(1000!) using Stirling's approximation, the wikipedia page for Stirling's approximation gives explicit bounds, which could be used. In the introductory section one such bound is already given: for any integer n >= 1, n! = c sqrt(2pi n) (n/e)^n for some c between e^{1/(12n+1)) and e^(1/12n). Taking logs on both sides, we observe that ln(n!) is ln(sqrt(2pi n) (n/e)^n) + r, where r is going to be between 1/(12n+1) and 1/12n. For large n this error r is going to be very small and hence as long as the fractional part of the actual approximation is not too large (less than 1 - 1/12n) flooring the result gives you the correct integer. (For simplicity I worked with ln instead of log_10, doing it log_10 in fact gives an even better range)
@HagenvonEitzen
@HagenvonEitzen 10 ай бұрын
Indeed, as long as log_10 of Stirling is not *too* close to an integer, we're in good shape. One might however wonder how bad approximations like pi² ~ 10 or e^3~20 are
@leif1075
@leif1075 9 ай бұрын
But that's CHEATING right because if you don't know Stirling you cannot deduce it so there's no way to solve this problem right? I can't see any..o ly how to solve how many zeroes and that the last digit before the zeroes will be an even number so 2, 4 ,6 or 8
@laszloliptak611
@laszloliptak611 9 ай бұрын
Nice explanation. Small comment: At 22:40 to solve the congruence you can simply divide both sides by 2 because 4 is divisible by 2 :). You really only need to use the multiplicative inverse to solve a congruence when the right side is not a multiple of the coefficient on the left. Alternatively, for small numbers, you can find a congruent number that is a multiple of the coefficient. For example, to solve 3x=7 (mod 13), you can use that 7 is congruent to 33 (=7+2*13) modulo 13, so the solution is 33/3=11 (mod 13).
@YagyuBonze
@YagyuBonze 10 ай бұрын
love these videos - very glad to see the return of the board-erasing back flip !
@OldSoulClimber
@OldSoulClimber 10 ай бұрын
The flip is back!!!!
@briandennehy6380
@briandennehy6380 10 ай бұрын
I love these number theory problems thanks Professor
@Happy_Abe
@Happy_Abe 10 ай бұрын
Love the backflip board change
@JustFamilyPlaytime
@JustFamilyPlaytime 10 ай бұрын
I'm trying to find a reason that would have me want to know that - and I can't.
@ingobojak5666
@ingobojak5666 10 ай бұрын
First, the "fact" counting the number of digits needs to be updated to 1+floor(log10(N)). Second, the digit sketchiness is quickly removed by using the improved version of Robbins (see Wikipedia entry on Stirling's approximation): s(n) * exp(1/(12*n+1) < n! < s(n) * exp(1/(12*n)), where s(n) is the Stirling formula. Under log10 for n=1000 this becomes a tiny additive interval that does not change the estimated number of digits.
@biddu2683
@biddu2683 10 ай бұрын
Every video here is absolutely gorgeous
@mikenielsen8781
@mikenielsen8781 10 ай бұрын
I never would have thought of that. Nor would I have thought of doing a backflip. So, an interesting video indeed. thanks!
@bulls6x
@bulls6x 6 ай бұрын
After watching many videos on this channel, the flip shocked me. I hope you do this in class 😂
@thefunpolice
@thefunpolice 10 ай бұрын
I'd like to see you do a piece on spinor but when you flip, instead of clearing the board it takes all the spinor respresentations and introduces a factor of -1.
@michelm.1564
@michelm.1564 10 ай бұрын
Well, nicely done!! Such a clever solution
@MatthewBouyack
@MatthewBouyack 10 ай бұрын
It's been a while since I've seen a backflip transition on here! Nicely done!
@DrR0BERT
@DrR0BERT 10 ай бұрын
I still can't get over the backflip edit. Perfection.
@ashleyzinyk399
@ashleyzinyk399 10 ай бұрын
I'd never heard of Sterling's formula, but I'm proud of myself for getting floor(1000!/p^k) just having seen the thumbnail. I got it from the other side, considering powers of 2 first. I'd considered finding the length of 1000! by summing log(1000) + log(999) + ... + log(1) using a computer, since I couldn't think of a way to group the factors.
@nbjornestol
@nbjornestol 10 ай бұрын
You could try to estimate this sum by noting that it should be relatively close to the integral of log(x) from 1 to 1001. This integral unfortunately is equal to 2568.70, so after adding the 1 from the 1 + log(N)-formula and rounding down (we know we are overestimating), we get that it has roughly 2569 digits, one off the actual digit count. We could also actually note that the integral of log(x) from 1 to 1000 would slightly underestimate the sum log(2) + log(3) + ... + log(1000), which is the same as the sum we're looking for (as log(1) = 0 anyway), but this integral is equal to 2565.70, so after adding the 1 from the 1+log(N)-formula and rounding up, we get that it has roughly 2567 digits, again one off the actual digit count. This would tell us that the actual digit count would have to be 2567, 2568, or 2569. We could now check that the difference between the sum log(1)+log(2)+log(3)+log(4)+log(5) and the integral of log(x) from 1 to 5 is greater than 0.3, so the error we do must be larger than 0.3 and the sum should therefore be larger than 2566, and therefore eliminate 2567 as an option. To eliminate 2569 in the same way, we'd have to unfortunately find the difference between the sum of the first 21 terms and the integral from 1 to 22, so this would be harder to eliminate in this way.
@akrickok3482
@akrickok3482 10 ай бұрын
i laughed and instantly liked the video after the flip. so glad to see it back!
@thikimhaitran206
@thikimhaitran206 9 ай бұрын
Great video !
@RangerKun
@RangerKun 9 ай бұрын
Clever grouping at the end there. My immediate thought was to find the prime factorization of 1000!, which uses the same floor(n/p)+floor(n/p^2)+..., but that needs doing work on all the primes up to 1000, so I'd need a computer to get the answer from that point. And if I'm using a computer, I can already cheat and just like you said, just calculate 1000!.
@Nikolas_Davis
@Nikolas_Davis 10 ай бұрын
2:19, well of course you've got the floor, it's your video 😛
@rundmw
@rundmw 10 ай бұрын
The backflip startled me 😝
@tomholroyd7519
@tomholroyd7519 10 ай бұрын
I tried and failed to solve this problem when I was an undergrad, I never knew that floor formula. It's sort of obviously right, from your explanation, and the right tool for the job, too.
@59de44955ebd
@59de44955ebd 10 ай бұрын
Here an alternative solution for the second part, based on the fact that for finding a trailing decimal digit we only have to look at the trailing digits of the factors: after removing all 249 "10"s, we have 997 - 249 = 745 remaining "2"s. And the power table for 2 mod 10 tells us that 2^745 has a trailing digit of "2", since 2^(1+4n) always ends with "2". And this 2^745 gets multiplied by some odd number not divisible by 5, so we now have to find the trailing digit of this odd number. To find it, we only have to count the number of all factors that end with "3", "7" and "9" resp.. We can omit "1" because it doesn't change anything. And there are exactly 100 factors in 1000! that end with "3", 100 factors that end with "7" and 100 factors that end with "9". The power table for 3 mod 10 tells us that 3^100 ends with "1" - since 3^(4n) always ends with "1" -, the power table of 7 tells us that 7^100 ends with "1" and the power table of 9 tells us that 9^100 also ends with "1". And there we have the solution, the digit we are looking for must be congruent 2 * 1 * 1 * 1 mod 10, i.e. it must be "2".
@kanashisa0
@kanashisa0 10 ай бұрын
I think you are forgetting numbers that comes from factoring 2 and 5 out, like 6 -> 2*3 and 15 -> 5*3, those would contribute to the last digit after factoring 2 and 5 out
@59de44955ebd
@59de44955ebd 10 ай бұрын
@kanashisa0 Damned, your are right! Thanks for pointing that out.
@leif1075
@leif1075 9 ай бұрын
​@@59de44955ebddoesn't it still work ans what do tou mean by power tables..ive never heard of that..whete did tou learn that..because after you factor put all the 2s you are left with terms ending in odd numbers so isn't your method correct?
@kevinruggles9180
@kevinruggles9180 10 ай бұрын
nice backflip transition
@BobbyC-be9vy
@BobbyC-be9vy 10 ай бұрын
Not only mental gymnastics, but physical too!
@Holasiquetal
@Holasiquetal 9 ай бұрын
Impressive. The maths and the flip
@md2perpe
@md2perpe 10 ай бұрын
Python code def fac(n): res = 1 for i in range(1, n+1): res *= i return res print(str(fac(1000))[2319-1])
@Darkstar2342
@Darkstar2342 10 ай бұрын
or simply: str(math.factorial(1000))[2318]
@tomctutor
@tomctutor 10 ай бұрын
Ran it, got 2 quicker than 1 second? But Wolfram Alpha is even easier: 2319 digit of 1000! returns 2 then you can get last digit of: last digit of 1000!/5^249 returns 4 🤣
@mathechne
@mathechne 10 ай бұрын
very interesting!! An important application of Stirling formula...
@GrandSageSeb
@GrandSageSeb 10 ай бұрын
Best transitions ever !
@pseudo_goose
@pseudo_goose 3 ай бұрын
You can also skip the mod 5 transformation at the end, note that 2^n mod 10 is a repeating sequence (2, 4, 8, 6, 2, 4, 8, 6, ...) which leads to the same reduction of 2^248 but still modulo 10. Then you have 2a=4 (mod 10), with two candidate solutions, a=2 and a=7
@goblinss6652
@goblinss6652 10 ай бұрын
I thought you count digits from the right?
@gapplegames1604
@gapplegames1604 9 ай бұрын
i think you count from the left because the “last digit” would be the ones place.
@davidwright5719
@davidwright5719 10 ай бұрын
There is a correction term to Stirling’s formula, so you can know whether it is far enough off to change the number of digits.
@aaronmorris1513
@aaronmorris1513 10 ай бұрын
Going head over heels for these.
@kono152
@kono152 10 ай бұрын
I love the backflips
@rsassine
@rsassine 10 ай бұрын
Michael. Was that your first backflip on the channel? Thanks for all your wonderful posts.
@stewartzayat7526
@stewartzayat7526 10 ай бұрын
Nope, he used to do backflips all the time in the past. Then he stopped for some reason.
@FishSticker
@FishSticker 8 ай бұрын
That backflip caught me off guard
@mndtr0
@mndtr0 10 ай бұрын
Interesting problem and good video. Btw what chalk is that?
@chayapholtopar5992
@chayapholtopar5992 10 ай бұрын
do we have another version that not use the stirling's approximation?
@davidblauyoutube
@davidblauyoutube 10 ай бұрын
Yooooooooo great solution development
@joshuarowe5571
@joshuarowe5571 9 ай бұрын
Surf Arrakis. Fantastic.
@c_b5060
@c_b5060 9 ай бұрын
I like that you're using chalk and a blackboard instead of a whiteboard. That gives you credibility.
@neilgerace355
@neilgerace355 10 ай бұрын
5:32 I wonder if there's a closed form for that infinite sum. For p = 5 we have 249 = 1000 / (5 - 1) - 1 For p = 2 we have 994 = 1000 / (2 - 1) - 6
@jetx_47
@jetx_47 10 ай бұрын
Can’t wait for this to be an olympiad warmup in 296 years
@ssaamil
@ssaamil 9 ай бұрын
Nice flips haha.
@nandoaires
@nandoaires 10 ай бұрын
Those backflips were absolutely fundamental to validate the proof... :)
@adgalad25
@adgalad25 10 ай бұрын
instant like after that backflip
@pi2over6
@pi2over6 9 ай бұрын
11:43 There is actually a little problem here that lies in substitution cbrooot(20) instead of e. Just because log2(e) is multiplied by 1000 this approximation is not well enough. So the overall result in this approach will be a bit different (2569 instead of 2568)
@MrGyulaBacsi
@MrGyulaBacsi 10 ай бұрын
Dude! What's with the flip? :) Awesome problem and awesome solution btw...
@holyshit922
@holyshit922 10 ай бұрын
Python can do this C# also , C# needs to save source file but compiler and virtual machine which interprets CIL code has been already installed in Windows and you dont need to install extra software
@michaelgolub2019
@michaelgolub2019 10 ай бұрын
I have a spelling question: Sterling or Stirling? What is correct?
@FadkinsDiet
@FadkinsDiet 10 ай бұрын
Stirling with an i for both factorial and thermodynamics
@michaelgolub2019
@michaelgolub2019 10 ай бұрын
@@FadkinsDiet, thank you
@pablojesusmolinaconcha4504
@pablojesusmolinaconcha4504 10 ай бұрын
i can't believe the backflips are back!
@jamesjjx
@jamesjjx 10 ай бұрын
Can we do a series of projecteuler problems?
@AbuMaxime
@AbuMaxime 10 ай бұрын
That's a good place for a backflip!
@timothywaters8249
@timothywaters8249 10 ай бұрын
Of course you had a 1 in 10 chance of guessing the right answer from the start... 😂
@pierrekilgoretrout3143
@pierrekilgoretrout3143 10 ай бұрын
bel effort!
@lightninghell4
@lightninghell4 10 ай бұрын
lmao I thought the exclamation mark at the end was just because he was excited...which then made me very confused.
@Neodynium.the_permanent_magnet
@Neodynium.the_permanent_magnet 10 ай бұрын
They're back! (flips)
@TheLowstef
@TheLowstef 10 ай бұрын
I like all of your videos but don't always hit the "like" button. But for the backflips - you earned it!
@wyattstevens8574
@wyattstevens8574 10 ай бұрын
"2319! We have a 2319!"
@vasilisr7
@vasilisr7 10 ай бұрын
Great Great Video
@davidgillies620
@davidgillies620 10 ай бұрын
Actually Mathematica on my puny laptop takes 14 microseconds to calculate 1000!
@karxpoland5958
@karxpoland5958 9 ай бұрын
My head hurts
@scutterify
@scutterify 10 ай бұрын
That was hard!
@ZX-fg7wb
@ZX-fg7wb 10 ай бұрын
nice. Only problem is the accuracy of Sterling.
@youtubeuserdan4017
@youtubeuserdan4017 9 ай бұрын
At first I was like "it's obviously 0, this must be an April Fool's thing", then I remembered that factorial notation exists.
@jakobscharf6803
@jakobscharf6803 10 ай бұрын
Only having seen the title my guess would be the 2319th digit could be one of the many zeroes already? There have to be a bit more than 250 zeroes at the end (because every multiple of five ends up giving us one of the zeroes) So if 1000! is about 2500 digits long the 2319th could still be one of those trailing zeroes.
@jakobscharf6803
@jakobscharf6803 10 ай бұрын
Alright having seen the video 1. "a bit more than 250 zeroes" was too careless, I added the 200 fives + 40 twentyfives and reasoned there would be a few more 2. Unexpected backflip! 3. Your focus on the even digit in the middle makes me think that's gonna be our target number :O 4. 2568 - 2319 == 249 :D I guess that means I was wrong 5. Expected backflip! That was some cool math, especially to find that last digit, even if my "easy"(/guesswork) solution was wrong once again :P
@jorgechavesfilho
@jorgechavesfilho 10 ай бұрын
Great!
@frank_calvert
@frank_calvert 9 ай бұрын
omg i thought this was a joke video before clicking on it because i forgot about ! being factorial
@creatorofimages7925
@creatorofimages7925 10 ай бұрын
I got a question, which is probably stupid but from a simple observation, we can see, that in the denominator, we took 5 instead of 10, which is factor 1/2 of the original base 10. We easily compute 4. Now, we determine the real modulo (that is: the searched digit), can't we just use the factor 1/2 to compute the real modulo 4*1/2 = 2? Or is that that just a coincidence here? I don't know why, but this is the first maths video, I actually watched through till the end. I'll leave it as a compliment here for a good video! :D
@DanielGomes-sw2fd
@DanielGomes-sw2fd 10 ай бұрын
log10(n!)=log(n!)/log(10) ~ (nlogn-n+log(2pin)/2)/log(10) is precise with error at most (12n)^-1/log(10). With an extra (12n+1)^-1/log10, it is precise with error at most (12n)^-2/log10.
@christianandersson7416
@christianandersson7416 10 ай бұрын
Rxtxxxgr😊
@christianandersson7416
@christianandersson7416 10 ай бұрын
R reexamine twee 3 f ex eeessutom r😬😭😬🤣🤣🤣😬😅🤣😅🇦🇴😅😅Derfex freed 14:25
@christianandersson7416
@christianandersson7416 10 ай бұрын
Jag rfr4fdf ffa 😅rqx, x
@tomholroyd7519
@tomholroyd7519 10 ай бұрын
best way to erase a chalkboard
@roberttelarket4934
@roberttelarket4934 10 ай бұрын
I don't believe you can do backflips Mike at your age!!! So this is more than likely prestidigitation through some great computer generation!!!
@Raye938
@Raye938 9 ай бұрын
Saw the title (How to find the 2319th digit of 1000!)and my first reaction was "Huh, he's really excited, but the digit is 0, because it's 1000.00000.......0"
@Rocherz
@Rocherz 10 ай бұрын
*π ≈ √10,* *2 ≈ ¹⁰√1000,* *e ≈ ³√20,* *and that is a good place to stop.*
@vladthemagnificent9052
@vladthemagnificent9052 10 ай бұрын
came for arithmetics stayed for the backflips
@leofabregues5824
@leofabregues5824 10 ай бұрын
could be nice to precise that actually the first formula is called " Legendre's formula"
@trueriver1950
@trueriver1950 10 ай бұрын
It's an act of faith, or at least an act in hope, that the target digit is the last that's not a zero. Had the target been to the right, then the solution would be zero, with less work. But had the target been MANY DIGITS to the left of the last non-zero digit, I'm not sure that we'd be much closer to the goal. (words in caps added for clarity)
@soupisfornoobs4081
@soupisfornoobs4081 10 ай бұрын
This is number theory, the land of shortcuts, I'm sure there's some way to find any digit with relatively little computational effort
@idjles
@idjles 10 ай бұрын
@@soupisfornoobs4081no.
@yurenchu
@yurenchu 10 ай бұрын
In that case, we do Part II of the analysis in "modulo 100" instead of "modulo 10". (This answer of mine is under the presumption that "to the left" means "directly to the left (of the last non-zero digit)" , rather than "in some specific position to the left (of the last non-zero digit)".)
@trueriver1950
@trueriver1950 10 ай бұрын
@@yurenchu you've completely missed my point. When you start work on the question, you don't know where the last non zero digit is So you don't know if you'll land on the zeroes, or on the magic digit, not on the digit you are thinking of ... Yeah, and thenif it turns out that it's seven to the left of the last one we can do the analysis using mod 100,000,000. Hardly a short cut. By assuming "immediately to the left" you are still setting out as an act of faith/hope. And my point is that it's an *unjustified* assumption, and you are merely hoping that it will lead (after an initial investment of several lines of working) to a viable short cut. In some situations you might be justified in assuming that the examiner is being kind to you: that's an act of faith, not of mathematics. Or you might simply be hoping. Suppose you don't get lucky: suppose it's the digit where you have to take mod 10,000,000 or suchlike?
@CA-oe1ok
@CA-oe1ok 10 ай бұрын
@@trueriver1950 The thing about math is, you have to be willing to test out the all kinds of lengthy analysis to go anywhere meaningful and unexplored. Which is why many math profesors encorage and appreciate work that is done 'tediously' or 'brute force', (even more than clever solutions), to reinforce the sentiment in the heads of their students. If you dont get lucky, you try something else. AND dont get hung over thinking that your hypothesis might be wrong and the work you put in could be in vain. Many a times the work you put in will help you determine the correct the path or state for tackling the problem.
@datguiser
@datguiser 9 ай бұрын
I’m going to go out on a limb and guess 0 before any math work
@GreadyShady
@GreadyShady 10 ай бұрын
Amazing
@brucea9871
@brucea9871 15 күн бұрын
You probably know this but there are more accurate versions of Sterling's formula. I have seen it as an infinite series so if you take more terms you will get higher precision.
@fCauneau
@fCauneau 10 ай бұрын
Subliminal backflips... Sith or Jedi ?
@kuebelxd78
@kuebelxd78 10 ай бұрын
I think I came up with an easier solution for the part where you determine the digit, correct me if I'm wrong. Knowing that we only have to look at the last digit of all numbers from 1 to 1000, we can multiply those and look at the last digit that is not a 0. Noticing that we get one 100 times, two 100 times, three 100 times and so on, we can raise each number to the 100th power and look what their last digit is (ignoring the zeros we get from the multiples of 10 because they only adds zeros at the end and we already know we can ignore them). Then you only need to multiply those last digits which gives us 40,320. Ignoring the zero at the end again we get 2 as the digit we were looking for But be warned I calculated that in my head, not with a calculator
@leif1075
@leif1075 9 ай бұрын
I don't see how this makes any sense. You don't get to 100 times or any other number 100 times in 1000 factorial so cpuld.you clarify what youmean? Unless you mean like I reasoned there are 10 numbers nesing in 3 between 1 and one hundred and between 1 and 200 so 10 times 10 equals 100 so you have 100 terms for ending in each digit 0 through 9 between 1 and 1000..is that what you meant??
@leif1075
@leif1075 9 ай бұрын
Wait where exactly did you get 40,320 from?
@ShaunakDesaiPiano
@ShaunakDesaiPiano 3 ай бұрын
7:41: 2319 is indeed special. It’s the code for human contamination in Monsters: Inc.
@cadextheclock24
@cadextheclock24 Ай бұрын
i was wondering why no one was making that joke
@joemcz2564
@joemcz2564 7 ай бұрын
I trust you know what I'm talking about when I say WHAT WAS THAT
@Neodynium.the_permanent_magnet
@Neodynium.the_permanent_magnet 10 ай бұрын
Some people would count the digits from the LSD (least significant digit) which would make "what is the 250th digit" faster to solve...
@Mythraen
@Mythraen 10 ай бұрын
I thought for several moments that the exclamation mark in the title was punctuation, and so the 2319th digit of 1000 was zero.
@kutstv9420
@kutstv9420 10 ай бұрын
Wait did he just do a backflip?😂
@jayktomaszewski8738
@jayktomaszewski8738 10 ай бұрын
Never seen the approximation sqrt(10) for pi
@bulgeo09
@bulgeo09 10 ай бұрын
Can skip the mod 5 bit since you know the last digest of powers of two cycle 2,4,8,6,2,4,8,6,… and since 249 is one more then a multiple of 4 you get 2^249=2mod 10 so 2a=4 mod 10 and a is 2 or 7 mod 10
@leif1075
@leif1075 9 ай бұрын
How do you know that's 2 mod 10?? I don't see how anyone would..
@leif1075
@leif1075 9 ай бұрын
What do you mean by powers of 2 sorry? I know if yiu raide 2 to a power the cycle is 2, 4, 8, 6, 2..
@Enrique-ir4yq
@Enrique-ir4yq 10 ай бұрын
I read the title but the with the "!" as an exclamation sign: "amazing! we are going to show you the 2319th digit of a 4 digit natural number: 1000" and I was like 🤔🤔 "1000.000.... and the 2319th is ZERO"
@paulgoogol2652
@paulgoogol2652 10 ай бұрын
This is maths. We don't do amazing things in maths.
@hcgreier6037
@hcgreier6037 10 ай бұрын
The human mind can handle numbers bigger than the particles in the known universe....at least when I'm watching your videos 🤣
@quarkonium3795
@quarkonium3795 9 ай бұрын
Briefly forgot about the exclamation point use for factorial so I though you were just really exited to show us the 2319th digit of 1000
@artsmith1347
@artsmith1347 10 ай бұрын
I posted a comment but the YT censors blocked it because it contained a link. Never mind that it was a relevant link. YT's AI isn't so smart after all. Or is the fault in YT's policies?
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 15 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 7 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 14 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 175 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 15 МЛН