Always even.

  Рет қаралды 72,858

Michael Penn

Michael Penn

Күн бұрын

Пікірлер: 139
@MichaelPennMath
@MichaelPennMath 2 жыл бұрын
Thanks again to our sponsor Brilliant! To get started for free, visit brilliant.org/MichaelPenn/
@MathTutor1
@MathTutor1 2 жыл бұрын
Great observation. Michael, What happens if you replace e with π? Do you get a similar result? Keep doing what you are doing.
@leif1075
@leif1075 2 жыл бұрын
Michael can you share HOW.and WHY anyone would even come up with this problem? Who would think to mix a fsctorial.with e and a floor I mean? Thanks for.sharing and hope to hear from you.
@TimMaddux
@TimMaddux 2 жыл бұрын
This makes it really easy to find even numbers, especially extremely large ones. Just plug in a big value for n. Also odd numbers if you choose the ceiling function. What a helpful tool! 😉
@brian8507
@brian8507 2 жыл бұрын
I wonder what the largest known even number is and if this can be used to compute it
@jorgekennedy3241
@jorgekennedy3241 2 жыл бұрын
n! is always even and larger and easier to calculate than n!/e. Also n!+1 is always odd. Maybe you confuse with the search of big primes numbers.
@brian8507
@brian8507 2 жыл бұрын
@@jorgekennedy3241 😄😆😂🤣 come on man. U math nerds don't get sarcasm huh lol.
@TimMaddux
@TimMaddux 2 жыл бұрын
@@jorgekennedy3241 that sounds great, but I'm not sure @MichaelPennMath has done a video proving your hypothesis. Guess we'll have to wait for a new video where he tackles this important topic! P.S. whoosh
@jorgekennedy3241
@jorgekennedy3241 2 жыл бұрын
@@TimMaddux its not an hypothesis, n! is always even because by definition its divisible by every number less or equal to n (in particular, divisible by 2). So n!+1 is always odd.
@eduardsluzhevsky6265
@eduardsluzhevsky6265 2 жыл бұрын
Thanks!
@Ninja20704
@Ninja20704 2 жыл бұрын
Fun fact. Ignoring the floor, n!/e actually approximates the subfactorial of n (denoted !n) which represents the number derrangements of n items (the permutations where no item goes back to its original position. The exact formula for !n is n! multiplied by the taylor series evaluating e^-1, but we only use the first n+1 terms of the infinite series. Thus, the approximation gets better the larger n is.
@burk314
@burk314 2 жыл бұрын
Specifically, for n odd, we have !n = floor(n!/e), so they are exactly the 0, 2, 44, 1854, 133496, ... in the video (note he skipped n=6 which should have been 264), and for n even, !n is one more than floor(n!/e), so we get 1, 9, 264, 14833, 133461, .... Rather than using the floor, it makes more sense to use the nearest integer. In the video the tail is always in (0,1/2) for n odd and (-1/2,0) for n even, so rounding to the nearest integer means rounding down for odds and rounding up for evens, agreeing with floor for odd and floor+1 for even. In other words !n = near(n!/e) for n at least 1.
@user-pr6ed3ri2k
@user-pr6ed3ri2k 2 жыл бұрын
w
@privateaccount4460
@privateaccount4460 2 жыл бұрын
@@burk314 "near" is lame you could've used a big o notation
@murmol444
@murmol444 2 жыл бұрын
also you can rewrite it as !n = floor(n!/e + 1/2)
@synaestheziac
@synaestheziac 2 жыл бұрын
@1:42 dang that’s a nice looking exclamation point!
@guilhermefranco2949
@guilhermefranco2949 2 жыл бұрын
Also the number of chaotic permutations of a set with n elements. This can be found using recurrence relations and generating function, that Michael loves for sure!
@kahaake
@kahaake 2 жыл бұрын
From the thumbnail, I was expecting the argument to be from the point of view of combinatorics...
@cabrazarado
@cabrazarado 2 жыл бұрын
Actually, the number of Derangements (or chaotic permutations) is the nearest integer to this fraction, not the floor.
@columbus8myhw
@columbus8myhw 2 жыл бұрын
Unfortunately, there are 9 derangement of 4 objects…!
@guilhermefranco2949
@guilhermefranco2949 2 жыл бұрын
​@@cabrazarado Oh, yeah mb.
@leif1075
@leif1075 2 жыл бұрын
@@cabrazarado what the heck are you guys talking about sorry?
@goodplacetostop2973
@goodplacetostop2973 2 жыл бұрын
10:41 Homework 12:01 Good Place To Stop
@Someniatko
@Someniatko 2 жыл бұрын
LMAO
@axelperezmachado3500
@axelperezmachado3500 2 жыл бұрын
Engineer Michael doesn't exist Engineer Michael: 1:06
@charleyhoward4594
@charleyhoward4594 2 жыл бұрын
wouldn't you know that n! is even anyway since n> 2 always contains a 2 in the product ?
@tanchienhao
@tanchienhao 2 жыл бұрын
But you divide by e before flooring. The irrationality of e makes it slightly more intriguing
@advaypakhale5254
@advaypakhale5254 2 жыл бұрын
@@tanchienhao Hi Chien Hao :0
@tanchienhao
@tanchienhao 2 жыл бұрын
@@advaypakhale5254 lmao hi
@eomoran
@eomoran 2 жыл бұрын
Yes but if you’re dividing by a different number and taking the floor (rounding down) it’s possible that for some combination ann odd number is spat out. For example, the ceiling function instead of the floor here will always give you an odd number despite n! Being even for n>=2
@l.3ok
@l.3ok 2 жыл бұрын
Nop, try this with π instead of e, and notice how for n=6 the result is odd!
@chester_m
@chester_m 2 жыл бұрын
I made some playlists of your videos on my channel Michael. New ones like viewer suggested, Lie algebras and the answer is... and extended some of your existing ones.
@yoursleepparalysisdemon1828
@yoursleepparalysisdemon1828 2 жыл бұрын
thanks for sharing your playlists
@chester_m
@chester_m 2 жыл бұрын
@@yoursleepparalysisdemon1828 You're welcome, that's kind of you to say :)
@andreasleeb4085
@andreasleeb4085 2 жыл бұрын
As we've recently covered power series in calculus class, this is a really cool application of how useful a tool they can be!
@venkat2277
@venkat2277 2 жыл бұрын
I mean, 2x where x
@danninglu8443
@danninglu8443 2 жыл бұрын
An interesting but hard problem will be: find all real numbers x such that floor of n!/x has the same parity. Don’t know if there will be any other solutions other than e.
@unflexian
@unflexian 2 жыл бұрын
you could use the same taylor series expansion for e^x given that n!/x = n!exp(-ln(x)).
@pocket3216
@pocket3216 2 жыл бұрын
3.35×2 is 6.7, which isnt even
@lool8421
@lool8421 2 жыл бұрын
n! is always even for all integers anyways unless you use 0! or 1!
@lenskihe
@lenskihe 2 жыл бұрын
Great problem!
@brettstafford9665
@brettstafford9665 2 жыл бұрын
Interesting corollary: the ceiling is always odd 😂
@unflexian
@unflexian 2 жыл бұрын
well e is irrational which means there is no integer p such that p/e∈ℤ. Given that n! is is always positive, n!/e will always be a positive real number which is not an integer, and as such the target ⌈n!/e⌉=⌊n!/e⌋+1, and as such is always odd. i know you meant this as a joke but i wanna feel like my pea brain can do some of the math on this channel, and this is as much as it'll process, i'm weirdly proud:)
@brettstafford9665
@brettstafford9665 2 жыл бұрын
@@unflexian Oh nice didn’t expect any replies. It is just because if the input is not an integer, then the ceiling is 1 more than the floor of it.
@ramziabbyad8816
@ramziabbyad8816 Жыл бұрын
This blew my freaking mind, without having to see the proof.
@jorgekennedy3241
@jorgekennedy3241 2 жыл бұрын
In min 11, in the homework, you Forget to say that the -1 in the begining of the rightside of the equality came from appliying floor function to the sum where m goes from n+1 to infinity (in purple)
@ygalel
@ygalel 2 жыл бұрын
MIND BLOWN
@ravi12346
@ravi12346 2 жыл бұрын
Great video! Small error at 1:00: you're missing floor(6!/e) = 264.
@zadsar3406
@zadsar3406 2 жыл бұрын
Can this be done by some version of Stirling's formula?
@MathTutor1
@MathTutor1 2 жыл бұрын
Good question. One reason why this is true is indeed the Stirling's formula.
@RobbieRosati
@RobbieRosati 2 жыл бұрын
I had the same thought, but it's not obvious to me how to do it. n! ~ sqrt(2 pi n) (n/e)^n doesn't look like dividing by e would simplify anything.
@zadsar3406
@zadsar3406 2 жыл бұрын
@@RobbieRosati You're right, it's not at all obvious.
@joeyhardin5903
@joeyhardin5903 2 жыл бұрын
Could you prove this by induction? Do you think it would be any easier?
@mehdimarashi1736
@mehdimarashi1736 2 жыл бұрын
Won't be easier. You have to essentially prove a more restricted bounds on n!/e than being between an even number and its successor as your induction hypothesis, or else you can not conclude the case for (n+1)!. Those "more restricted bounds" are essentially the proof you are looking for. So, I don't think induction is of any use here.
@Horinius
@Horinius 2 жыл бұрын
@3:56 To be rigorous and precise, that all good professional mathematicians should do, it should be written that n >= 2
@unflexian
@unflexian 2 жыл бұрын
where should that be written, at the top of the sigma sum notation?
@Horinius
@Horinius 2 жыл бұрын
@@unflexian No, not at the top of the sigma, but somewhere before the sigma notation. Otherwise, we would have (-1)! and (-2)! which are undefined.
@aristo7051
@aristo7051 Жыл бұрын
I’m very intrigued that the floor function is one of your favourite things
@ernestregia
@ernestregia 2 жыл бұрын
Wait, it's almost the same as !n (derangement of n)
@Kijozaneko
@Kijozaneko 2 жыл бұрын
You are a talented mathematician.
@supratiksadhukhan4147
@supratiksadhukhan4147 2 жыл бұрын
This problem is mind-blowingly tricky
@jaimeduncan6167
@jaimeduncan6167 2 жыл бұрын
Had no idea about this result , it’s unexpected for me. I will have guessed that is was random.
@PepeTheJoker
@PepeTheJoker 2 жыл бұрын
Heh, that's a really *odd* situation
@dmitrybogdanovich3767
@dmitrybogdanovich3767 2 жыл бұрын
You could have used 'e' in the denominator for the word 'even' in preview
@jeremyhuang7685
@jeremyhuang7685 2 жыл бұрын
Why isn’t 0 a natural number ? I’m French and we consider it to be a natural number
@Idran
@Idran 2 жыл бұрын
It's just a convention that varies from person to person/region to region/field to field. There's no real reason to include or exclude 0 from the natural numbers, any statement that assumes one of them is trivially easy to modify to a statement that assumes the other, so there's no real need for a universal standard there.
@NotBroihon
@NotBroihon 2 жыл бұрын
For clarity my professors taught us to use N to exclude 0 and N_0 (subscript) to include 0. It depends on the context whether you need/want 0 in there or not.
@Idran
@Idran 2 жыл бұрын
​@@gregoryford2532Is this specific to a particular subfield, out of curiosity? My grad work was in combinatorics in the US, and we do include 0 in the natural numbers by convention. Same from what I'm familiar with in algebra and group theory. And I don't think I've ever seen "whole numbers" used as a formally-defined term; not in any of the papers I read, at least. I've only ever heard the term in the more casual sense of "a number that isn't a fraction" in math education. (Honestly, if anything, my intuition feels like "whole number" would be synonymous with "integer"; I'd still call, say, -3 a whole number.)
@JustNow42
@JustNow42 2 жыл бұрын
Seems to work with Pi also
@vitelot
@vitelot 2 жыл бұрын
it's a shame that its id number on math Stackexchange is odd
@curtiswfranks
@curtiswfranks 2 жыл бұрын
Pretty closely related to derangement counting.
@vishwanthkandibanda4711
@vishwanthkandibanda4711 2 жыл бұрын
Hi micheal i have an intresting question ...find posible digits for which 2^n ,5^n start with same digit n>0
@vishwanthkandibanda4711
@vishwanthkandibanda4711 2 жыл бұрын
Example 1234 ,198 both start with 1 ...so 1 may be possible digit
@neilgerace355
@neilgerace355 2 жыл бұрын
Can it be that if you substitute some other number in a neighbourhood of e that this still works? Or maybe all the numbers are odd for some other values of the denominator?
@barryzeeberg3672
@barryzeeberg3672 Жыл бұрын
I had this same identical question. Now that we have the solution for exactly e using the power series, can we somehow derive for e +/- epsilon?
@jarikosonen4079
@jarikosonen4079 5 ай бұрын
Can you prove floor(n!/(3*e)) is also even for all n? Is it?
@preethamjee6022
@preethamjee6022 2 жыл бұрын
Can we use Stirling's approximation?
@MattMcIrvin
@MattMcIrvin 2 жыл бұрын
That was my first thought, but I think it's not good enough--the error in the factorial approximation is proportionately small but it gets bigger than 1.
@Shakthingar
@Shakthingar 2 жыл бұрын
Sir Linear Diophantine Equations 11x+y=11 please
@MathTutor1
@MathTutor1 2 жыл бұрын
Great observation. Michael, What happens if you replace e with π? Do you get a similar result? Keep doing what you are doing.
@russellsharpe288
@russellsharpe288 2 жыл бұрын
[3!/pi] = 1.
@AayushSrivastava0307
@AayushSrivastava0307 2 жыл бұрын
no pattern with pi because it does not have a series expansion
@russellsharpe288
@russellsharpe288 2 жыл бұрын
@@AayushSrivastava0307 It does have series expansions, but these do not fit nicely with the factorial the way e's does.
@honourabledoctoredwinmoria3126
@honourabledoctoredwinmoria3126 2 жыл бұрын
@@russellsharpe288 Consequently, you can see that the floor of n!/π does change parity. For example, 5!/π = 38.1... and 6!/π = 229.1...
@nbooth
@nbooth 2 жыл бұрын
I find the thumbnail hard to believe. I guess I'll have to watch the video.
@nbooth
@nbooth 2 жыл бұрын
Well I'll be damned. This means something.
@Blabla0124
@Blabla0124 2 жыл бұрын
small type: you missed n=6 in your examples
@oinkityoink
@oinkityoink 2 жыл бұрын
that's interesting maybe someone (not me) could attempt finding all real x where floor(n!/x) is even for all natural n
@unflexian
@unflexian 2 жыл бұрын
@Jack Bellamy second sum in the video is based on the taylor series expansion for e^x. i'm sure your logic holds but you need a more in-depth examination.
@Intiinti8
@Intiinti8 2 жыл бұрын
I have something better, 2k is always an even number (k an integer). Great video!
@thatrandomharpguy7564
@thatrandomharpguy7564 2 жыл бұрын
I have another one i learned in my calculus 6 class at harvard, 2n will always be even
@xenoqhydrax7720
@xenoqhydrax7720 2 жыл бұрын
no way
@tcmxiyw
@tcmxiyw 2 жыл бұрын
BTW, The series expansion of e^(-1) is used in a very simple proof that e is irrational.
@martincohen8991
@martincohen8991 2 жыл бұрын
If s(n)=[n!/e] then both s(2n) and s(2n+1) are divisible by 2n so both are even. I might investigate further.
@ahmedhani7226
@ahmedhani7226 2 жыл бұрын
🤓
@Zxymr
@Zxymr 2 жыл бұрын
I seem to have stumbled across a fallacy when trying to prove this by induction. Let g(n) = n!/e, f(n) = ⌊g(n)⌋ Base case - f(0) is even: f(0) = 0 Recursive case - Assume f(n) is even. - Separate g(n) into integer & fractional components: g(n) = f(n) + d(n). - Divide both sides by 2: g(n)/2 = f(n)/2 + d(n)/2 - Floor both sides: ⌊g(n)/2⌋ = ⌊f(n)/2 + d(n)/2⌋ - Because f(n) is even: ⌊f(n)/2 + d(n)/2⌋ = f(n)/2 - Multiply both sides by 2: 2 ⌊g(n)/2⌋ = f(n) - Increment by 1: f(n+1) = 2 ⌊g(n+1)/2⌋ - RHS is 2 * integer, thus f(n+1) is even. This proof is clearly wrong because it also applies for ⌊n!/2⌋, which fails when n=3. Can anyone spot where the mistake lies?
@eagleyia2907
@eagleyia2907 2 жыл бұрын
I think the issue with it was incrementing like was done in the second to last line, as it hasn’t been shown that you can do that. For instance… Claim: f(n)=n equals 1 for all natural numbers n Proof: - This is true for n=1. - Proceeding inductively, assume f(n)=1. - Increment by 1: f(n+1)=1. - Therefore, f(n)=1 for all natural numbers n To do a proof by induction, I would expect having to use g(n+1) = (n+1)*g(n), and multiply both sides of line 2 by n+1… But this makes things complicated, because the floor of (n+1)*d(n) is no longer guaranteed to be zero
@camishere4584
@camishere4584 2 жыл бұрын
Why can’t you just show it’s 0 for n=0,1 and n! is even for n>1 so 2floor(k/e) is even? Or is it cuz you can’t necessarily pull out the 2?
@pahulpreet-singh
@pahulpreet-singh 2 жыл бұрын
you cannot distribute the integer function over multiplication
@pahulpreet-singh
@pahulpreet-singh 2 жыл бұрын
[4 * ¾] is 3 while 4*[¾] is 0
@him21016
@him21016 2 жыл бұрын
What an extraordinary coincidence
@spideybot
@spideybot 2 жыл бұрын
fun fact! floor(e) = 2 ....
@jamesfortune243
@jamesfortune243 2 жыл бұрын
You should have an AI learn to prove unproven math theorems.
@unflexian
@unflexian 2 жыл бұрын
AI like chatgpt is very bad at proofs, it's almost the polar opposite of its designed purpose. When it gets stuck or doesn't know something it imagines an answer and prints it very confidently, like we want it to do when we ask it to be creative, write a song or summarize a book, but it's not at all what we want for proofs.
@jamesfortune243
@jamesfortune243 2 жыл бұрын
@@unflexian I'm not talking about current AI. I agree that current AI can't learn to prove theorems.
@WithASideOfFries
@WithASideOfFries 2 жыл бұрын
Why is n!/(n-1!) = n?
can you solve this exponential equation?
12:45
Michael Penn
Рет қаралды 11 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Researchers thought this was a bug (Borwein integrals)
17:26
3Blue1Brown
Рет қаралды 3,9 МЛН
An Exact Formula for the Primes: Willans' Formula
14:47
Eric Rowland
Рет қаралды 1,4 МЛН
What are Catalan Numbers?
9:30
MathVerse Animated
Рет қаралды 6 М.
An interesting infinite sum
13:24
Michael Penn
Рет қаралды 49 М.
an "extreme" extreme value problem.
13:58
Michael Penn
Рет қаралды 24 М.
3,502,960 Players Fell for These Opening TRAPS
15:30
Remote Chess Academy
Рет қаралды 46 М.
The deeper meaning of matrix transpose
25:41
Mathemaniac
Рет қаралды 398 М.
infinitely many primes -- the topology way!
16:16
Michael Penn
Рет қаралды 8 М.
Transforming normal identities into "crazy" ones
18:30
Michael Penn
Рет қаралды 20 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН