Always even.

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ย. 2024
  • 🌟To get started for free, visit brilliant.org/...
    🌟Support the channel🌟
    Patreon: / michaelpennmath
    Merch: teespring.com/...
    My amazon shop: www.amazon.com...
    🟢 Discord: / discord
    🌟my other channels🌟
    mathmajor: / @mathmajor
    pennpav podcast: / @thepennpavpodcast7878
    🌟My Links🌟
    Personal Website: www.michael-pen...
    Instagram: / melp2718
    Twitter: / michaelpennmath
    Randolph College Math: www.randolphcol...
    Research Gate profile: www.researchga...
    Google Scholar profile: scholar.google...
    🌟How I make Thumbnails🌟
    Canva: partner.canva....
    Color Pallet: coolors.co/?re...
    🌟Suggest a problem🌟
    forms.gle/ea7P...

ความคิดเห็น • 139

  • @MichaelPennMath
    @MichaelPennMath  ปีที่แล้ว +26

    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 ปีที่แล้ว

      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 ปีที่แล้ว +288

    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 ปีที่แล้ว +64

      I wonder what the largest known even number is and if this can be used to compute it

    • @jorgekennedy3241
      @jorgekennedy3241 ปีที่แล้ว +28

      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 ปีที่แล้ว +3

      @@jorgekennedy3241 😄😆😂🤣 come on man. U math nerds don't get sarcasm huh lol.

    • @TimMaddux
      @TimMaddux ปีที่แล้ว +57

      @@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 ปีที่แล้ว +9

      @@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.

  • @Ninja20704
    @Ninja20704 ปีที่แล้ว +108

    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 ปีที่แล้ว +9

      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 ปีที่แล้ว +1

      w

    • @privateaccount4460
      @privateaccount4460 ปีที่แล้ว

      @@burk314 "near" is lame you could've used a big o notation

    • @murmol444
      @murmol444 ปีที่แล้ว

      also you can rewrite it as !n = floor(n!/e + 1/2)

  • @goodplacetostop2973
    @goodplacetostop2973 ปีที่แล้ว +42

    10:41 Homework
    12:01 Good Place To Stop

  • @synaestheziac
    @synaestheziac ปีที่แล้ว +3

    @1:42 dang that’s a nice looking exclamation point!

  • @guilhermefranco2949
    @guilhermefranco2949 ปีที่แล้ว +42

    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 ปีที่แล้ว +12

      Actually, the number of Derangements (or chaotic permutations) is the nearest integer to this fraction, not the floor.

    • @columbus8myhw
      @columbus8myhw ปีที่แล้ว +1

      Unfortunately, there are 9 derangement of 4 objects…!

    • @guilhermefranco2949
      @guilhermefranco2949 ปีที่แล้ว

      ​@@cabrazarado Oh, yeah mb.

    • @leif1075
      @leif1075 ปีที่แล้ว

      @@cabrazarado what the heck are you guys talking about sorry?

  • @axelperezmachado3500
    @axelperezmachado3500 ปีที่แล้ว +2

    Engineer Michael doesn't exist
    Engineer Michael: 1:06

  • @chester_m
    @chester_m ปีที่แล้ว +43

    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 ปีที่แล้ว +1

      thanks for sharing your playlists

    • @chester_m
      @chester_m ปีที่แล้ว

      @@yoursleepparalysisdemon1828 You're welcome, that's kind of you to say :)

  • @brettstafford9665
    @brettstafford9665 ปีที่แล้ว +3

    Interesting corollary: the ceiling is always odd 😂

    • @unflexian
      @unflexian ปีที่แล้ว

      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 ปีที่แล้ว

      @@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.

  • @andreasleeb4085
    @andreasleeb4085 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

    I mean, 2x where x

  • @danninglu8443
    @danninglu8443 ปีที่แล้ว +4

    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 ปีที่แล้ว +1

      you could use the same taylor series expansion for e^x given that n!/x = n!exp(-ln(x)).

    • @pocket3216
      @pocket3216 ปีที่แล้ว +1

      3.35×2 is 6.7, which isnt even

  • @charleyhoward4594
    @charleyhoward4594 ปีที่แล้ว +87

    wouldn't you know that n! is even anyway since n> 2 always contains a 2 in the product ?

    • @tanchienhao
      @tanchienhao ปีที่แล้ว +76

      But you divide by e before flooring. The irrationality of e makes it slightly more intriguing

    • @advaypakhale5254
      @advaypakhale5254 ปีที่แล้ว

      @@tanchienhao Hi Chien Hao :0

    • @tanchienhao
      @tanchienhao ปีที่แล้ว +1

      @@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 ปีที่แล้ว +4

      Nop, try this with π instead of e, and notice how for n=6 the result is odd!

  • @eduardsluzhevsky6265
    @eduardsluzhevsky6265 ปีที่แล้ว +1

    Thanks!

  • @ygalel
    @ygalel ปีที่แล้ว

    MIND BLOWN

  • @supratiksadhukhan4147
    @supratiksadhukhan4147 ปีที่แล้ว

    This problem is mind-blowingly tricky

  • @aristo7051
    @aristo7051 ปีที่แล้ว

    I’m very intrigued that the floor function is one of your favourite things

  • @jorgekennedy3241
    @jorgekennedy3241 ปีที่แล้ว +4

    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)

  • @jaimeduncan6167
    @jaimeduncan6167 ปีที่แล้ว +1

    Had no idea about this result , it’s unexpected for me. I will have guessed that is was random.

  • @Neko-chan-quynu
    @Neko-chan-quynu ปีที่แล้ว +1

    You are a talented mathematician.

  • @ravi12346
    @ravi12346 ปีที่แล้ว +7

    Great video! Small error at 1:00: you're missing floor(6!/e) = 264.

  • @lool8421
    @lool8421 ปีที่แล้ว

    n! is always even for all integers anyways unless you use 0! or 1!

  • @lenskihe
    @lenskihe ปีที่แล้ว

    Great problem!

  • @PepeTheJoker
    @PepeTheJoker ปีที่แล้ว

    Heh, that's a really *odd* situation

  • @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 ปีที่แล้ว +1

      where should that be written, at the top of the sigma sum notation?

    • @Horinius
      @Horinius ปีที่แล้ว

      @@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.

  • @zadsar3406
    @zadsar3406 ปีที่แล้ว +7

    Can this be done by some version of Stirling's formula?

    • @MathTutor1
      @MathTutor1 ปีที่แล้ว

      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 ปีที่แล้ว +1

      @@RobbieRosati You're right, it's not at all obvious.

  • @ernestregia
    @ernestregia ปีที่แล้ว +2

    Wait, it's almost the same as !n (derangement of n)

  • @dmitrybogdanovich3767
    @dmitrybogdanovich3767 ปีที่แล้ว

    You could have used 'e' in the denominator for the word 'even' in preview

  • @joeyhardin5903
    @joeyhardin5903 ปีที่แล้ว +3

    Could you prove this by induction? Do you think it would be any easier?

    • @mehdimarashi1736
      @mehdimarashi1736 ปีที่แล้ว +4

      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.

  • @nbooth
    @nbooth ปีที่แล้ว

    I find the thumbnail hard to believe. I guess I'll have to watch the video.

    • @nbooth
      @nbooth ปีที่แล้ว

      Well I'll be damned. This means something.

  • @Intiinti8
    @Intiinti8 ปีที่แล้ว

    I have something better, 2k is always an even number (k an integer). Great video!

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว

      ​@@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.)

  • @curtiswfranks
    @curtiswfranks ปีที่แล้ว

    Pretty closely related to derangement counting.

  • @vitelot
    @vitelot ปีที่แล้ว +1

    it's a shame that its id number on math Stackexchange is odd

  • @tcmxiyw
    @tcmxiyw ปีที่แล้ว +1

    BTW, The series expansion of e^(-1) is used in a very simple proof that e is irrational.

  • @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

  • @JustNow42
    @JustNow42 ปีที่แล้ว

    Seems to work with Pi also

  • @jarikosonen4079
    @jarikosonen4079 3 หลายเดือนก่อน

    Can you prove floor(n!/(3*e)) is also even for all n? Is it?

  • @neilgerace355
    @neilgerace355 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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?

  • @Zxymr
    @Zxymr ปีที่แล้ว +1

    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 ปีที่แล้ว

      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

  • @Blabla0124
    @Blabla0124 ปีที่แล้ว

    small type: you missed n=6 in your examples

  • @oinkityoink
    @oinkityoink ปีที่แล้ว +1

    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 ปีที่แล้ว

      @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.

  • @Shakthingar
    @Shakthingar ปีที่แล้ว

    Sir Linear Diophantine Equations 11x+y=11 please

  • @thatrandomharpguy7564
    @thatrandomharpguy7564 ปีที่แล้ว +1

    I have another one i learned in my calculus 6 class at harvard, 2n will always be even

  • @preethamjee6022
    @preethamjee6022 ปีที่แล้ว

    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.

  • @MathTutor1
    @MathTutor1 ปีที่แล้ว +3

    Great observation. Michael, What happens if you replace e with π? Do you get a similar result? Keep doing what you are doing.

    • @russellsharpe288
      @russellsharpe288 ปีที่แล้ว +12

      [3!/pi] = 1.

    • @AayushSrivastava0307
      @AayushSrivastava0307 ปีที่แล้ว

      no pattern with pi because it does not have a series expansion

    • @russellsharpe288
      @russellsharpe288 ปีที่แล้ว +8

      @@AayushSrivastava0307 It does have series expansions, but these do not fit nicely with the factorial the way e's does.

    • @honourabledoctoredwinmoria3126
      @honourabledoctoredwinmoria3126 ปีที่แล้ว +1

      @@russellsharpe288 Consequently, you can see that the floor of n!/π does change parity. For example, 5!/π = 38.1... and 6!/π = 229.1...

  • @martincohen8991
    @martincohen8991 ปีที่แล้ว +1

    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.

  • @camishere4584
    @camishere4584 ปีที่แล้ว

    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 ปีที่แล้ว

      you cannot distribute the integer function over multiplication

    • @pahulpreet-singh
      @pahulpreet-singh ปีที่แล้ว +1

      [4 * ¾] is 3 while 4*[¾] is 0

  • @ahmedhani7226
    @ahmedhani7226 ปีที่แล้ว

    🤓

  • @him21016
    @him21016 ปีที่แล้ว

    What an extraordinary coincidence

  • @spideybot
    @spideybot ปีที่แล้ว

    fun fact! floor(e) = 2 ....

  • @jamesfortune243
    @jamesfortune243 ปีที่แล้ว

    You should have an AI learn to prove unproven math theorems.

    • @unflexian
      @unflexian ปีที่แล้ว

      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 ปีที่แล้ว

      @@unflexian I'm not talking about current AI. I agree that current AI can't learn to prove theorems.

  • @WithASideOfFries
    @WithASideOfFries ปีที่แล้ว

    Why is n!/(n-1!) = n?