Always even.

Поділитися
Вставка
  • Опубліковано 1 січ 2025

КОМЕНТАРІ • 139

  • @MichaelPennMath
    @MichaelPennMath  2 роки тому +26

    Thanks again to our sponsor Brilliant! To get started for free, visit brilliant.org/MichaelPenn/

    • @MathTutor1
      @MathTutor1 2 роки тому +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 роки тому +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 2 роки тому +64

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

    • @jorgekennedy3241
      @jorgekennedy3241 2 роки тому +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 2 роки тому +3

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

    • @TimMaddux
      @TimMaddux 2 роки тому +58

      @@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 роки тому +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 2 роки тому +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 2 роки тому +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 2 роки тому +1

      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 роки тому +3

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

  • @charleyhoward4594
    @charleyhoward4594 2 роки тому +87

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

    • @tanchienhao
      @tanchienhao 2 роки тому +76

      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 роки тому +1

      @@advaypakhale5254 lmao hi

    • @eomoran
      @eomoran 2 роки тому +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 роки тому +5

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

  • @guilhermefranco2949
    @guilhermefranco2949 2 роки тому +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 роки тому +2

      From the thumbnail, I was expecting the argument to be from the point of view of combinatorics...

    • @cabrazarado
      @cabrazarado 2 роки тому +12

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

    • @columbus8myhw
      @columbus8myhw 2 роки тому +1

      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 роки тому +42

    10:41 Homework
    12:01 Good Place To Stop

  • @axelperezmachado3500
    @axelperezmachado3500 2 роки тому +2

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

  • @eduardsluzhevsky6265
    @eduardsluzhevsky6265 2 роки тому +1

    Thanks!

  • @venkat2277
    @venkat2277 2 роки тому +1

    I mean, 2x where x

  • @danninglu8443
    @danninglu8443 2 роки тому +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 2 роки тому +1

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

    • @pocket3216
      @pocket3216 2 роки тому +1

      3.35×2 is 6.7, which isnt even

  • @chester_m
    @chester_m 2 роки тому +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 2 роки тому +1

      thanks for sharing your playlists

    • @chester_m
      @chester_m 2 роки тому

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

  • @Horinius
    @Horinius 2 роки тому +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 роки тому +1

      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.

  • @zadsar3406
    @zadsar3406 2 роки тому +7

    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 роки тому +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 роки тому +1

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

  • @andreasleeb4085
    @andreasleeb4085 2 роки тому +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!

  • @lool8421
    @lool8421 2 роки тому

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

  • @brettstafford9665
    @brettstafford9665 2 роки тому +3

    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.

  • @ernestregia
    @ernestregia 2 роки тому +2

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

  • @jorgekennedy3241
    @jorgekennedy3241 2 роки тому +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)

  • @ygalel
    @ygalel 2 роки тому

    MIND BLOWN

  • @ravi12346
    @ravi12346 2 роки тому +7

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

  • @aristo7051
    @aristo7051 Рік тому

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

  • @lenskihe
    @lenskihe 2 роки тому

    Great problem!

  • @joeyhardin5903
    @joeyhardin5903 2 роки тому +3

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

    • @mehdimarashi1736
      @mehdimarashi1736 2 роки тому +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.

  • @JustNow42
    @JustNow42 2 роки тому

    Seems to work with Pi also

  • @Kijozaneko
    @Kijozaneko 2 роки тому +1

    You are a talented mathematician.

  • @PepeTheJoker
    @PepeTheJoker 2 роки тому

    Heh, that's a really *odd* situation

  • @supratiksadhukhan4147
    @supratiksadhukhan4147 2 роки тому

    This problem is mind-blowingly tricky

  • @dmitrybogdanovich3767
    @dmitrybogdanovich3767 2 роки тому

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

  • @jeremyhuang7685
    @jeremyhuang7685 2 роки тому +2

    Why isn’t 0 a natural number ? I’m French and we consider it to be a natural number

    • @Idran
      @Idran 2 роки тому +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 роки тому +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 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.)

  • @neilgerace355
    @neilgerace355 2 роки тому +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?

  • @vitelot
    @vitelot 2 роки тому +1

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

  • @vishwanthkandibanda4711
    @vishwanthkandibanda4711 2 роки тому +2

    Hi micheal i have an intresting question ...find posible digits for which 2^n ,5^n start with same digit n>0

  • @jarikosonen4079
    @jarikosonen4079 4 місяці тому

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

  • @curtiswfranks
    @curtiswfranks 2 роки тому

    Pretty closely related to derangement counting.

  • @jaimeduncan6167
    @jaimeduncan6167 2 роки тому +1

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

  • @preethamjee6022
    @preethamjee6022 2 роки тому

    Can we use Stirling's approximation?

    • @MattMcIrvin
      @MattMcIrvin 2 роки тому +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.

  • @Zxymr
    @Zxymr 2 роки тому +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 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

  • @Shakthingar
    @Shakthingar 2 роки тому

    Sir Linear Diophantine Equations 11x+y=11 please

  • @oinkityoink
    @oinkityoink 2 роки тому +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 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.

  • @tcmxiyw
    @tcmxiyw 2 роки тому +1

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

  • @MathTutor1
    @MathTutor1 2 роки тому +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 2 роки тому +12

      [3!/pi] = 1.

    • @AayushSrivastava0307
      @AayushSrivastava0307 2 роки тому

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

    • @russellsharpe288
      @russellsharpe288 2 роки тому +8

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

    • @honourabledoctoredwinmoria3126
      @honourabledoctoredwinmoria3126 2 роки тому +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 2 роки тому +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.

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

  • @thatrandomharpguy7564
    @thatrandomharpguy7564 2 роки тому +1

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

  • @Intiinti8
    @Intiinti8 2 роки тому

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

  • @Blabla0124
    @Blabla0124 2 роки тому

    small type: you missed n=6 in your examples

  • @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 роки тому +1

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

  • @ahmedhani7226
    @ahmedhani7226 2 роки тому

    🤓

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