Squaring Primes - Numberphile

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 พ.ย. 2018
  • Matt Parker is squaring primes.
    The Great Courses Plus free trial: ow.ly/JE3G30hIvoE (episode sponsor)
    More links & stuff in full description below ↓↓↓
    More Matt Parker on Numberphile: bit.ly/Matt_Videos
    Matt's book on Amazon...
    US: bit.ly/Matt_4D_US
    UK: bit.ly/Matt_4D_UK
    Matt's website: standupmaths.com
    Prime Number Playlist: bit.ly/primevids
    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 Math For America - www.mathforamerica.org/
    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: 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
    Note: The Great Courses Plus is currently available to watch through a web browser to almost anyone in the world and optimized for the US, UK and Australian market. The Great Courses Plus is currently working to both optimize the product globally and accept credit card payments globally.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2.6K

  • @numberphile
    @numberphile  5 ปีที่แล้ว +355

    NEW: Belphegor Prime T-Shirt and Poster --- www.bradyharanblog.com/blog/belphegors-prime-t-shirt

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

      Tysm

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

      17²=139.... the Parker Prime Square

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

      The appropriate phrase is "more elegant".

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

      7*7=49 7*1+1*7=14 14+4=18 1*1=1 1+1=2
      17*17=289

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

      Hi, can we hear more about sub-primes numbers, is there really a way to define them?

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

    Watching a PhD mathematician struggle to get 17^2 was reassuring.

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

      It was a Parker square...

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

      does he have a PhD?

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

      A quick way in your head is to use base multiplication.
      In this case base 20...
      17 + 3 = 20
      17 - 3 = 14
      14 * 20 = 280
      3 * 3 = 9
      280 + 9 = 289
      Or base 40 for 36²
      36 + 4 = 40
      36 - 4 = 32
      40 * 32 = 1280
      4 * 4 = 16
      1280 + 16 = 1296 🤗

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

      Ah, binomial theorem, my old nemesis, we meet again.

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

      @@williambiggs3699 unfortunately that’s not how multiplication works.
      For example, 7 x 7 is 49, but 6 x 8 is 48, and 5 x 9 is 45, and 4 x 10 is 40, and 3 x 11 is 33, and 2 x 12 is 24, and 1 x 13 is 13, and 0 x 14 is 0, and -1 x 15 is -15, and -2 x 16 is -32, and it just keeps decreasing by more every time.
      If you don’t believe that, try 8 x 8 is 64, 7 x 9 is 63. This means that 17 x 17 DOES NOT EQUAL 14 x 20. Sorry about that.

  • @jerry3790
    @jerry3790 5 ปีที่แล้ว +5014

    *Sees first two primes don’t follow his rule
    *Calls them sub primes.

    • @nimmin8094
      @nimmin8094 5 ปีที่แล้ว +521

      To be fair, 2 is the only even prime. It breaks a lot of rules.
      You can modify it and use a different equation, and see it works for inverted positive integers:
      2^2=(1/8)(24)+1
      3^2=(1/3)(24)+1

    • @mrmimeisfunny
      @mrmimeisfunny 5 ปีที่แล้ว +611

      If you read the book, you know he calls them sub primes because they are prime by default and don't even have an opportunity to be divided by anything.

    • @qwertyman1511
      @qwertyman1511 5 ปีที่แล้ว +45

      @@nimmin8094 evenness is a poor property to use.

    • @rosiefay7283
      @rosiefay7283 5 ปีที่แล้ว +49

      @@mrmimeisfunny *No* prime can be divided by anything -- if it could, it wouldn't be prime. [By any positive integer except itself and 1, of course.]

    • @macronencer
      @macronencer 5 ปีที่แล้ว +185

      @@rosiefay7283 I think the point is that 5 is the first prime greater than 2x2 (the first compound number), though I don't remember reading that part of the book so I might be wrong.

  • @Jacob-yg7lz
    @Jacob-yg7lz 4 ปีที่แล้ว +397

    I like how hard it was for him to do the math in his head. It reminds me of the saying "the more math you know, the harder it is to do math"

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

      Who said that?

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

      @@KemonoFren Joe

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

      mental arithmetic is not "doing math" and you completely missed what that saying is, well, saying

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

      @@GroovingPict Aye that’s the fun part about sayings, they gain power as both their original meaning and its inverse over time

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

      knowing how to do math, and actually doing math are two different things.

  • @munjee2
    @munjee2 7 หลายเดือนก่อน +43

    It amazing how matt did all the mental maths perfectly and then said 170 +70 AND 49 is somehow less than the original

  • @N.I.R.A.T.I.A.S.
    @N.I.R.A.T.I.A.S. 5 ปีที่แล้ว +2684

    Video starts with Matt trying to Parker square 17.

    • @Israel220500
      @Israel220500 5 ปีที่แล้ว +168

      17 Parker squared

    • @WhattheHectogon
      @WhattheHectogon 5 ปีที่แล้ว +23

      You're my hero.

    • @grandpaobvious
      @grandpaobvious 5 ปีที่แล้ว +11

      Algorithms are for computer nerds.

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

      and more

    • @kuromurasaki5273
      @kuromurasaki5273 5 ปีที่แล้ว +10

      @@grandpaobvious algorithms are a key part to how the (human) world sustains itself. They are part of every facet of our technological life; from your mcdonalds order and grocery stores to space x and mars rovers.

  • @Richard_is_cool
    @Richard_is_cool 5 ปีที่แล้ว +836

    0:58 I love how he rewrote the 139 to make it read 289 after he scored out that calculation so he could say "Dammit I was right". Parker convincing.

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

      No of likes 468 . Divide it by 2 you get 234. Well now you have increased his like count

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

      The sum was actually 289. Check it again

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

      He wrote the 170 so it looked like a 110 that is why his maths is wrong. And he carried the 1 wrong.

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

      Hello Richard.

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

      That was a real parker square of a calculation.

  • @KingdaToro
    @KingdaToro 5 ปีที่แล้ว +348

    4:31 Matt received weapons of math instruction

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

      Said Mike Tyson

    • @52flyingbicycles
      @52flyingbicycles 3 ปีที่แล้ว +11

      One of the few cases when the British “maths” (🤮) would be better because “maths” sounds more like “mass”

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

      @@52flyingbicycles so you could have maths confusion and maths debate...?

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

    I like how the four categories from your proof also show up in the "easier" proof. Either the multiple of 4 is above or below the prime, and either the multiple of 3 is above or below the prime, giving four possibilities that directly correspond to your categories.

  • @j_sum1
    @j_sum1 5 ปีที่แล้ว +219

    17^2=139
    I think I just witnessed Parker Squaring.

  • @seanfraser3125
    @seanfraser3125 5 ปีที่แล้ว +1235

    “I like to argue that 2 and 3 are not real primes”
    Goodbye, fundamental theorem of arithmetic

    • @grandpaobvious
      @grandpaobvious 5 ปีที่แล้ว +40

      is it iconoclasm or nihilism? We report, you decide!

    • @quaternaryyy
      @quaternaryyy 5 ปีที่แล้ว +16

      CogitoErgoCogitoSum Its called a joke lol

    • @blackflash9935
      @blackflash9935 5 ปีที่แล้ว +29

      @@quaternaryyy I am pretty sure he was joking too so... double r/wooosh for you, I guess.

    • @ThomasNimmesgern
      @ThomasNimmesgern 5 ปีที่แล้ว +23

      welniok There is one reason to prefer Fahrenheit: Compared to Celsius, you usually get much more degrees in Fahrenheit.

    • @israelRaizer
      @israelRaizer 5 ปีที่แล้ว +5

      ​@@e11eohe11e 2 and 3 ARE real primes: a number is prime when it is divisible by only 2 numbers, 1 and itself. 2 is divisible only by 1 and itself, thus fulfilling the criteria, there's no such things as real or non-real primes. The only other category related to primes that I can remember now is semiprimes, which you get when multiplying 2 primes together.

  • @HunterJE
    @HunterJE ปีที่แล้ว +41

    That second proof gave me chills down my spine when I saw where it was going, you might even say it was an Amazingly Satisfying Mathematical Result

  • @sietsejohannes
    @sietsejohannes 5 ปีที่แล้ว +1089

    Matt: There is a pattern with prime squares, they are all multiples of 24 plus 1.
    All?
    Matt: Almost all.
    So it's a parker squares pattern then...

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

      It is truly a parker square because if they're all a multiple of 24+1, surely they are all also a multiple of 2+1. It's more graceful cause you don't have to call 3 subprime. Whatever even number above 1 you pick, it'll always have some cut off point where a prime is too small for it to work. Unless you pick 1+1, which includes all the primes because it is literally the definition of primes. Matt is just defining prime numbers here in a very weird and unnecessary way..

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

      @Urrcreavesh I never claimed that it has anything to do with squares because it doesn't. I'm referencing a meme about the parker square because it's used whenever Matt tries to do something clever which is unimpressive and doesn't work very well. I think this is such an occasion. Look it up, it's on TH-cam somewhere

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

      @@alexvandenbroek5587 multiples of 2 + 1 does not sound impressive at all since that is the definition of an odd number.

    • @dannygjk
      @dannygjk 2 ปีที่แล้ว

      Many primes do not follow his rule not just 2 and 3.

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

      @@dannygjk example?

  • @dan_tr4pd00r
    @dan_tr4pd00r 5 ปีที่แล้ว +505

    Only three things are certain: Death, Taxes, and Parker Square jokes.

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

      Don't forget rice pudding.

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

      Parker Squares from the Nile; does anybody else get the second reference?

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

      Man you stole it from a scientist whose name i cant remember .The real statement goes like this “there is nothing certain in this universe except death ,taxes and the second law of thermodynamics”

    • @alfredo.zauce1892
      @alfredo.zauce1892 4 ปีที่แล้ว

      Priyanshu Sudhakar No, the real statement is from Benjamin Franklin and it’s only the first two.

    • @renatoherren4217
      @renatoherren4217 2 ปีที่แล้ว

      The fourth one are Uranus jokes. 😜😜😜😜

  • @nimmin8094
    @nimmin8094 5 ปีที่แล้ว +598

    3*3 is one more than 8, 1/3 of 24.
    2*2 is one more than 3, 1/8 of 24.
    Pretty neat!

    • @slartbarg
      @slartbarg 5 ปีที่แล้ว +49

      exactly, he didn't say that it had to be a whole number integer multiple of 24

    • @TheDGomezzi
      @TheDGomezzi 5 ปีที่แล้ว +225

      Hahahah Slartbarg, in that case, all numbers are multiples of 24

    • @jamespfp
      @jamespfp 5 ปีที่แล้ว +13

      *LULZ* So Yeah -- I thought I caught a mistake in your maths there Nimmin, but I double-checked what you wrote -- 3*3 isn't the same as 3^3, my bad.
      *BUT LOOK.*
      2^3 = 8 ; 3^3 = 27; 5^3 = 125; 7^3 = 343
      Or, 1/3 of 24; 24 + 3; (5*24) + 5; (14*24) + 7.... :D

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

      @@TheDGomezzi I was just going by inversions of integers

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

      @@jamespfp My brains a bit slow this morning. I'm interested! I'll have a proper look this afternoon :)

  • @B3Band
    @B3Band 5 ปีที่แล้ว +103

    Nice sneaky edit of the 139 on the paper

  • @kat-oh3hx
    @kat-oh3hx 5 ปีที่แล้ว +63

    > supposed to work for all primes
    > works for almost all (not 2 and 3)
    > the parker square of prime patterns

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

      They aren't subprimes, they are Parker Primes :)

    • @demonking86420
      @demonking86420 3 ปีที่แล้ว

      upvote that man

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

      This comment is under appreciated.

  • @christianp7200
    @christianp7200 5 ปีที่แล้ว +366

    17²=139, nice to start the video with a parker equation!

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

      can someone make this T-shirt please?

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

      Can you explain what a Parker equation is? Please

    • @zucc4764
      @zucc4764 5 ปีที่แล้ว +14

      @@MithunGaming it's a running joke (meme if you will) when a calculation/classification is a miss, recategorizing them as a "Parker square or equation" etc. instead of identifying it as a miss.

    • @hingedelephant
      @hingedelephant 4 ปีที่แล้ว

      Mithun Gaming - Parker Square or Parker Equation: A joke that has outlived it’s humor and should die.

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

      the easiest way to work it out for me is just work out (17*20)-(17*3) and 17*10 is 170 which is above the 139 he worked out

  • @yuvalne
    @yuvalne 5 ปีที่แล้ว +855

    17^2=139.
    C'mon. Now you're just begging us to make a Parker Square joke.

    • @masansr
      @masansr 5 ปีที่แล้ว +21

      And the way he did that, wth. (a+b)^2=a^2+2ab+b^2 is much easier to square numbers!

    • @karolakkolo123
      @karolakkolo123 5 ปีที่แล้ว +19

      @@masansr yep. 20 * 14 = 280 and then + 3^2 = 289
      Because basically you have (n+3)(n-3) = n^2 - 9. Then you just add 9 to get n^2

    • @moadot720
      @moadot720 5 ปีที่แล้ว +6

      139 dislikes on the video...

    • @mateuszm7882
      @mateuszm7882 5 ปีที่แล้ว +11

      17 x 17 is the easiest way, lol

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

      @@mateuszm7882 yeah haha

  • @MrYairosh
    @MrYairosh 5 ปีที่แล้ว +631

    my theorem: every prime cubed is one more than a multiple of 2.

    • @ronindebeatrice
      @ronindebeatrice 5 ปีที่แล้ว +74

      Well yes. A prime will be an odd number. The product of 3 odd numbers will be odd. Was this a joke? I'm dim.

    • @MrYairosh
      @MrYairosh 5 ปีที่แล้ว +183

      of course it's a joke @@ronindebeatrice

    • @patricksalhany8787
      @patricksalhany8787 5 ปีที่แล้ว +156

      yair koskas wrong.
      2 is a prime.
      2^3=8.
      8 is not 1 more than a multiple of 2.
      Your theorem is wrong.

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

      @@patricksalhany8787 so this is the only prime that doesn't follow my theorem

    • @patricksalhany8787
      @patricksalhany8787 5 ปีที่แล้ว +46

      @@MrYairosh yeah, but you said EVERY prime, so including 2.

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

    I am currently doing my degree in maths and one of the things we need to prove is that all primes squared (above 3) are one more than a multiple of 6, and I know how to prove it because of your video. love you matt!!!!

  • @Thomas-vn6cr
    @Thomas-vn6cr 5 ปีที่แล้ว +566

    I sure hope the maths related items are for review and unboxing purposes.

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

      You have more likes than one of Numberphile's pinned comments.

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

      no hate, but i don't get unbox excitement and i'm jealous

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

      @@skeletonrowdie1768 I generally agree, but calculator unboxing is a whole different beast.

    • @andyb6177
      @andyb6177 5 ปีที่แล้ว +5

      MathSSSS

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

      They could just for his store though

  • @SD-el9wj
    @SD-el9wj 5 ปีที่แล้ว +253

    The fact that you don't count 2 and 3 as proper prime numbers is the REAL subprime crisis.

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

      S D to be fair, both 2 and 3 are the only prime numbers divisible by 2 and 3 respectively

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

      @@haidynwendlandt2479 Dude,do u even know the definition of prime numbers?

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

      Akshat Aggarwal The proof forces the numbers not be divisible by 2 or 3, so every prime number greater than 3 works

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

      @@haidynwendlandt2479 that doesn't explain ur 1st comment,it doesn't make any sense.

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

      Akshat Aggarwal I literally said in my first comment that 2 and 3 were prime numbers. I was explaining that one of the reasons why he didn’t include them was because the proof doesn’t allow for the numbers to be divisible by 2 or 3.

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

    I just love your guests, every one of them. Listening to them is such a treat.
    Thanks

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

    So Matt's method, in its inferiority, could be called "The Parker Proof".

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

      Right, but someone earlier called it the Parker goof.

    • @dannygjk
      @dannygjk 2 ปีที่แล้ว

      Many primes do not follow that rule not just 2 and 3.

    • @heshamfm
      @heshamfm 2 ปีที่แล้ว

      @@dannygjk like which one?

  • @takonyka
    @takonyka 5 ปีที่แล้ว +484

    lol i love how he failed 17^2

    • @patricksalhany8787
      @patricksalhany8787 5 ปีที่แล้ว +106

      What's weird is that he said that 17^2 is 170 plus something, but he got at the end 139 which is less than 170.
      Aliens.

    • @edskev7696
      @edskev7696 5 ปีที่แล้ว +33

      Parker square!

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

      @diego maradonna I thought you were only a footballer, but you also do maths.
      Wow!
      Keep up the great work dude !

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

      @diego maradonna ohhhhh. That is sad.

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

      And the dude has a PhD in mathematics!

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

    I watch a lot of mathy channels, this one, loads of sci show, 3 blue 1 brown etc.. Somehow it has taken until today for me to realize that though I love these videos, deep down, I come here for the comments section.

  • @sb-hf7tw
    @sb-hf7tw 4 ปีที่แล้ว +173

    STEP 01: Make a RULE
    STEP 02: When u find any element not following RULE, simply call them exceptions.
    STEP 03: When u find infinite such exceptions, say it's a COROLLARY of the main RULE!
    Now, u R done!!!

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

      There is a point to be made, though, that 2 and 3 are the only primes which are smaller than the lowest compound number (which is 4). So they are kind of special in that way.

    • @hybmnzz2658
      @hybmnzz2658 3 ปีที่แล้ว

      Except you don't do "STEP 01" before proving it in which case you will already find all exceptions and why they occur. Much smarter than you will ever be.

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

      Any number plus half of itself is odd.

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

      @ABHINAV JAIN That's an exeption.

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

      @ABHINAV JAIN That's just a corollary of the main thing.

  • @Wontervandoorn
    @Wontervandoorn 5 ปีที่แล้ว +128

    A prettier (or at least quicker) version of the first proof:
    (6m ± 1)^2 = 36m^2 ± 12m + 1
    = 12m(3m ± 1) + 1
    and 12m(3m ± 1) is divisible by 24 as either m is even, or 3m ± 1 is even

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

      Just posted similar comment - yours is better.

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

      Also just posted a similar comment, yours is better since I don’t know how to do +/- without copy and pasting it online which I was too lazy to do.

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

      yeah this is much better, cause at least you dont need to assume that we have 2m or 2m+1 which is not necessarily true, just that even or odd which is 100% true

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

      @@krowa1010 Um, even numbers can all be written as 2m, and all odd numbers can be written 2m+1. What are you trying to say?

  • @patricksalhany8787
    @patricksalhany8787 5 ปีที่แล้ว +227

    2 and 3 are not primes but subprimes?
    Mmmmm
    I too like to live dangerously.

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

      @CogitoErgoCogitoSum because you can-t divide it by 1 and itself since it's the same. Also we can do it from truth by contradiction. Let's say we have a prime p p is divisable by p and 1. if 1 is a prime then it is the only prime thus since having 1 singular prime is useless 1 is not a prime

    • @015Fede
      @015Fede 5 ปีที่แล้ว +15

      @@patricksalhany8787 this is circular reasoning. The fundamental theorem of arithmetics assumes 1 is not prime. Then, you can't prove it with the fundamental theorem of arithmetics.
      1 is not prime, because we have defined prime numbers to be such that they have exactly 2 divisors. 1 has only one divisor, so it is not a prime number.

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

      @CogitoErgoCogitoSum Because we define them to have exactly 2 divisors: 1 and themselves

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

      Ok, say i think i like the idea of 1 being prime. I put on my magic hat and make everyone use the definition of prime as
      A prime is any positive integer factorisable only with itself and 1.
      What, except the trivial loss of the fundamental theorem of algebra, (which i would like to restate as every number can be written as a unique, simplest possible prime factorisation. Why would it not work?) what breaks? Please enlighten me in how our naturalistic understanding of math (i don’t have any clues about the ground-floor of peano-arithmetic, only that it is how i usually count and use numbers).

    • @lydianlights
      @lydianlights 5 ปีที่แล้ว +11

      @@An_Amazing_Login5036 I mean, mathematicians used to consider 1 as a prime number, but as number theory evolved it was generally agreed upon that it's easier to just say that it isn't one. That way you avoid constantly saying "every prime except for 1". Also primes are interesting solely because of the Fundamental Theorem of Arithmetic. You could say they were "invented" as part of the theorem. So it would be kinda counterproductive to say 1 is prime but then also make an exception for it in the theorem.
      In a sense, 1 is "too special" to be "just" a prime number... it's sort of a foundational concept that's _even more_ fundamental than primes.

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

    I love numbers theory, esp. with primes! So amazing and easy to follow! Keep it on!

  • @hkayakh
    @hkayakh 7 หลายเดือนก่อน +4

    I recently found a marvelous pattern in the prime numbers! Every prime number is a prime number!

    • @urabus
      @urabus 5 หลายเดือนก่อน +1

      did you know all primes are indivisible by all numbers except itself and one?

  • @ancbi
    @ancbi 5 ปีที่แล้ว +48

    8:15 "I did this way. This is mine. I love it."
    That's the sipirit!
    of a classic Parker Squarer.
    Keep calm and square on.

  • @KappaClaus
    @KappaClaus 5 ปีที่แล้ว +204

    Makes me feel human even mathematicians trouble with head calculations!

    • @EGarrett01
      @EGarrett01 5 ปีที่แล้ว +45

      Einstein used to carry a cheat sheet around with various fundamental constants written down and Ramanujan lost a mental-calculation contest to a random guy at Cambridge.

    • @charlesmartin1972
      @charlesmartin1972 5 ปีที่แล้ว +24

      The professor who got me to understand calculus couldn't tie his shoes

    • @ericpetersen8155
      @ericpetersen8155 5 ปีที่แล้ว +5

      Charles M - I’m a successful biz man and can’t tie a necktie.
      We all have our strengths & weaknesses

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

      Nah it's just a Parker Square he meant to do that.

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

      Some mathematicians love to make themselves appear all mighty and invincible, but they ALSO struggle with math every now and then.
      Like Matt Parker himself has said a few times - math nerds don't necessarily love math just because it's "easy", they love it because they enjoy its difficulty.

  • @dickballsour
    @dickballsour 5 ปีที่แล้ว +32

    Does that mean 2 and 3 are Parker primes?

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

    P^2 - 1 way of proving is so very elegant. It really melts my heart. Simple & Brilliant

    • @abhinavs2484
      @abhinavs2484 3 ปีที่แล้ว

      91 = 24*345 + 1, but 91 is not a prime :)

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

      @@abhinavs2484 91 is not a square either. 91 = 7 x 13

  • @rogerwang21
    @rogerwang21 5 ปีที่แล้ว +39

    Just say “For primes 5 and greater”

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

      I was thinking what could be added "if p^2 > 24, then...."

    • @anandsuralkar2947
      @anandsuralkar2947 3 ปีที่แล้ว

      U mean all the primes?
      2 and 3 are subprimes.
      According to matt Parker

  • @staffehn
    @staffehn 5 ปีที่แล้ว +158

    I'm a simple man. I see Parker and squares, I click like!

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

      staffehn I remember when you still made videos

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

      It's always cool to find other TH-camrs you (used to) watch in the comments.

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

    Bruh mathematicians will pull some bogus like “this number has to either be equal to 1 or not equal to 1” and it somehow shows them the answer

    • @52flyingbicycles
      @52flyingbicycles 3 ปีที่แล้ว +8

      Strange but true. Proof by cases can be very helpful. It’s also why most mathematicians do their best work while they are young and creative. The genius of many mathematicians comes from clever ways to rethink of problems in (relatively) simpler terms

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

    You can do it with (6n+1)^2:
    36n^2+12n+1
    12(3n^2+n)
    If you remember that n^2 is odd if n is odd and even if n is even, then you can see that 3*odd+odd will be even and 3*even+even is also even. So, it’s 12(even) which is a multiple of 24.
    You could also just factor it as
    12n(3n+1), and either n or 3n+1 has to be even since if n is odd, 3*odd+1 is even

  • @HBMmaster
    @HBMmaster 5 ปีที่แล้ว +149

    every prime being adjacent to a multiple of six is yet another reason why seximal is the best numbering system (all primes end with 1 or 5!)

    • @effuah
      @effuah 5 ปีที่แล้ว +31

      Fails at 2 and 3

    • @dermathze700
      @dermathze700 5 ปีที่แล้ว +137

      @@galoomba5559 I prefer the unary number system, since every prime including 2 ends in 1.

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

      @@galoomba5559 correct

    • @fatsquirrel75
      @fatsquirrel75 5 ปีที่แล้ว +5

      @@effuah Every prime adjacent to a multiple of six does not include 2 and 3.

    • @stuartofblyth
      @stuartofblyth 5 ปีที่แล้ว +13

      Just to spell it out for fatsquirrel75
      5 is seximal 5 (0 x 6 + 5)
      7 is seximal 11 (1 x 6 + 1)
      11 is seximal 15 (1 x 6 + 5)
      13 is seximal 21 (2 x 6 + 1)
      17 is seximal 25 (2 x 6 + 5)
      19 is seximal 31 (3 x 6 + 1)
      and so on.
      I love it! Thank you, @@HBMmaster.

  • @DrSnap23
    @DrSnap23 5 ปีที่แล้ว +80

    So 139 is the Parker square of 17, huh.

  • @leonhardeuler9028
    @leonhardeuler9028 5 ปีที่แล้ว +16

    Hey Matt, it's a way shorter to show that (6n+1)² or (6n-1)² are Multiples of 24 plus 1
    For Example (6n+1)² = 36n²+12n+1 = 12( 3n²+n) +1
    3n²+n is always a Even number
    because if n is uneven you have 3*uneven²+uneven which alswes ends up beeing even because uneven+uneven = even
    and if n is even you have 3*even²+even which is even, too
    Therefore there is always a k from the natural numbers such that 3n²+n = 2k
    With that you have 12( 3n²+n) +1 = 12*(2k)+1 = 24k+1
    You can do the same with (6n-1)²

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

      I prefer factoring to 12n(3n±1) + 1. For 12n(3n±1) to be a multiple of 24, you need n or (3n±1) to be even. If n is even, we're done. If n is odd, then 3n is odd, and adding or subtracting 1 gives an even number, so (3n±1) is even.

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

      @@EnteiFire4 you can also use the p=6 plus or minus 1 fact, and note that of p-1 and p+1 in the factorization p^2-1=(p-1)(p+1), one is going to be a multiple of 6 and the other a multiple of 6 plus or minus 2 and so is a multiple of 4.

    • @Tim3.14
      @Tim3.14 3 ปีที่แล้ว

      @@richardfredlund3802 I like that! Although I think the pair is either a multiple of 6 and a multiple of 4, *or* a multiple of 12 and a multiple of 2. That still works, though.

    • @Tim3.14
      @Tim3.14 3 ปีที่แล้ว

      To put it another way, the product of any two consecutive even numbers is a multiple of 8. So the square of any odd number is one more than a multiple of 8. And since all primes past 2 are odd, all you need is that one of those factors is a multiple of 3.

    • @Tim3.14
      @Tim3.14 3 ปีที่แล้ว

      Or more concisely: If 2 doesn't divide p, 8 divides p^2-1. If 3 doesn't divide p, 3 divides p^2-1. So if neither 2 nor 3 divide p, then 24 divides p^2-1.

  • @ThomasGodart
    @ThomasGodart 5 ปีที่แล้ว +19

    Wow, the second demonstration is very clever. I wouldn't have found it

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

    I was so proud that my proof is the “simpler” proof. Although being in secondary school... maybe I had a headstart with the p^2 - 1 part.

  • @Archimedes115
    @Archimedes115 5 ปีที่แล้ว +9

    "2 and 3, I call them the subprimes"
    ~Matt Parker "Square"

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

    Hi Matt-- Thank you for this interesting episode. I really dig your presentation

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

    I was writing a program to check if a number is prime or not and I used this mathematical concept over there.
    I just realized that though 2 and 3 don't fit into Matt's theory, but they can be applied to the concept in reverse manner, i.e,
    (2*2 -1) and (3*3-1) divide 24 perfectly.
    That helped in optimization of my solution.

  • @iateyourgranny
    @iateyourgranny 5 ปีที่แล้ว +6

    You can do it all at the same time:
    (6k +- 1)^2 = 36 k^2 +- 12k + 1
    Then factor out the common stuff in the first two terms:
    = 12k(3k +- 1) + 1
    Either k is even, or, if k is odd, then (3k +- 1) is even.
    In either case, 12k(3k +- 1) is a multiple of 24.

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

      I did about the same. A lot simpler than his four cases.

  • @thomasi.4981
    @thomasi.4981 5 ปีที่แล้ว +6

    I paused at 9 seconds to work it out with algebra. It makes tons of sense! I knew right away that it was reasonable since prime numbers themselves have a similar multiple+offset pattern, where they are 6n+-1

  • @pepesworld2995
    @pepesworld2995 2 ปีที่แล้ว

    thing about this dude is that hes real genuine. hes really skilled in what he teaches - because he enjoys it. hes real. and i appreciate that

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

    I had no idea the primes could be divided into categories like this! In my (admittedly limited) maths education I got the impression that the defining characteristic is being absolutely without patterns. This video, as well as another video where you actually directly state that primes do have patterns, have enlightened me! Thank you. :)

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

      Its not a generator, because not every (24k + 1 ) is prime. So its really not showing a pattern. Its created a pattern for possible primes, just the same as "not even" creates a pattern for possible primes. Now show a pattern to ALL the primes and ONLY the primes.

  • @DaC10101
    @DaC10101 5 ปีที่แล้ว +81

    Parker: Squaring Primes

  • @mememem
    @mememem 5 ปีที่แล้ว +184

    Also known as the Parker 24

    • @tasin2776
      @tasin2776 5 ปีที่แล้ว +9

      We should name everything he comes up with after him

    • @Kolkritan
      @Kolkritan 5 ปีที่แล้ว +6

      I'd argue it's just another type of Parker square.

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

      Actually the p^2= 24k-1 part works
      It's the 6k+1 and 6k-1 being equal to p part that's worthy of being called 'Le Parker 6'

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

      parker 139

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

    I think the word for the second proof is "elegant", it's compact, gets the job done.
    But elegance in design often comes after the working out and pruning of things that are unnecessary, and are often not the route that is taken by a pathfinder; instead, it's the shortest route that you can really only clearly see after you've made it to the destination. I always think of when I would be off-trail in the mountains and come across something interesting. The path I would take people on to come and view the interesting thing was usually much shorter than the route I took to discover it, because now I have the destination and you can find the "shortest route" to it. I think the mental path of discovery is very analogous, and I'm happy that Matt has made a point of showing the more circuitous paths, I think it really makes the journey seem more accessible to people and de-mystifies math and knowledge, which is all too often held up as unattainable and some sort of magic. Yea, once you point something out to other agents and experts in your space, people will start optimizing immediately, and the result of that peer-engagement usually has that sort of elegant and beautiful quality. But, often the most innovative ideas come from a mind that is just bent on finding "A" better way or "A" solution, and it's great to showcase that grit and brute-force and inelegance are not enemies of furthering understanding and knowledge, while at the same time, showing how engagement with other experts takes a "cool" idea, and turns it into something beautiful. --- Thanks Matt (If you're still reading comments on here 4 years later)

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

    That's a very clever proof. Hearing out of nowhere that the square of a prime will always be 1 above a multiple of 24 definitely caught me off guard.
    It might be interesting to know as well, you can spend half the effort just squaring (6k+1) and (6k-1) and then looking at the parity when k is odd or even.

  • @TheDabol51
    @TheDabol51 5 ปีที่แล้ว +20

    Here's an algebraic simpler version:
    (6k +/- 1)^2=36k^2 +/- 12k + 1
    Rearange to:
    24k^2 + 12(k^2 +/- k) +1 = 24k^2 + 12(k(k +/- 1)) + 1
    Now, either k or k+/-1 is even so we can write :
    24k^2 + 24(k(k +/- 1)/2) + 1 = 24(k^2 + k(k +/- 1)/2) + 1 = 24N +1, where N must be an integer since both k^2 and k(k +/- 1)/2 are.
    QED

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

      I did something midway between yours and the one in the video: (6k +/- 1)^2=36k^2 +/- 12k + 1 = 12k(3k +- 1) +1. Since k(3k +-1) is divisible by 2 as either k or (3k +-1) must be, then 12k(3k +-1) must be divisible by 24.

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

      There's a far easier method. The squares of 1 3 5 7 mod 8 are all 1. And the squares of 1 2 mod 3 are all 1. Combine the two and it must be one more than a multiple of 24.

  • @gustavoexel5569
    @gustavoexel5569 5 ปีที่แล้ว +30

    Actually it is possible to prove that a multiple of 6 +- 1 has rest 1 in the division by 24.
    x = (6k+-1)^2 mod 24
    x = 36k^2 +- 12k + 1 mod 24
    x = 12k^2 +- 12k +1 mod 24
    x = 12 * k*(k +- 1) + 1 mod 24
    And since k*(k +- 1)=0 mod 2, because it is the product of two consecutive integers (and therefore must be even)
    x = 1 mod 24

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

      Haha, yeah, that's basically what I did too and was wondering why he said it was too complicated... Started to think I did something wrong

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

      Gustavo Exel are you German?

    • @user-tn2dk2pg2p
      @user-tn2dk2pg2p 4 ปีที่แล้ว +1

      @@deept3215 Lol, I proved it too and was confused how you could make a 13 minute video on the properties without realizing it was trivial.

    • @Jooolse
      @Jooolse 4 ปีที่แล้ว

      You missed a factor 3: x = 12*k*(3*k +/- 1) + 1 mod 24

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

    I've been interested in and studies prime numbers since I was 14 years old, and next month I will be 74, so that's 60 years. I've found all sorts of interesting, quirky facts about them. They are some of the most fascinating numbers to study, because it seems like there should be no patterns and yet they are everywhere.

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

    The most instructive thing about this video is Matt explaining the difference between doing a proof the "easy" way and doing it the "hard" way.

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

    Great video. I've always been fascinated with primes. The first thing I did when I got my forst computer(a Commodore 64 (khz processor speed) was to write a prime number generator and then tweak it until it would run really fast. Gees, what a geek.

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

      You might like Dave's Garage channel. He talks a lot about programming prime number finders as a kid on very early computers and optimizing the code and now he uses the same code to test the speeds between 100 different programming languages.

    • @pickleballer1729
      @pickleballer1729 2 ปีที่แล้ว

      @@SkippiiKai Thanks, I'll check that out.

  • @LetMeRetort
    @LetMeRetort 5 ปีที่แล้ว +5

    2 and 3 work too. 2^2 is (24 * 1/8 + 1), and 3^2 is (24* 1/3 + 1). And since the multiplier is a fraction less than 1, I am with Matt on calling these two numbers as sub-prime.

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

      I'm sure someone somewhere said this (and I haven't finished watching the video, so maybe they'll cover it?) but 2^2 - 1 = 3, and 3^2 - 1 = 8 .... and 3 x 8 is 24 :)

  • @dsobolev
    @dsobolev 4 หลายเดือนก่อน

    Beautiful explanation. Thank you for your channel.

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

    A simple proof can better be described as an elegant proof.

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

      I had a geometry professor in community college always say, "Matthew, make this proof more elegant." At the time I didn't know what he meant. It wasn't until my capstone math course that I finally got what he meant. No other professor ever said it. I have my bachelors in math now. I'm with you. When he said easier, I immediately thought, nah that's more elegant.

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

      @@Thedeadbeatmatt tbf, what is "easier" depends on where you're coming from at the moment. For me, the whole proposition seemed almost trivial and the p^2 - 1 approach sounded very similar to something I would try first. But that is because of something I have been working on that is actually very related to that, so of course I would try something more like it (that likely would quickly reduce to it itself).

  • @One0ldGeek
    @One0ldGeek 5 ปีที่แล้ว +50

    The first is brute force, the second is elegant

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

      Elegant proofs when clearly explained are usually more understandable. The brute force approach is arguably a stronger demonstration of primes occur next to 6. The elegant version requires the explanation to follow.

    • @viliml2763
      @viliml2763 5 ปีที่แล้ว +6

      Want an even more elegant one?
      All primes are +-1 mod 3, which means all prime number squares are 1 mod 3.
      All primes are +-1 or +-3 mod 8 which means all prime number squares are 1 or 9 mod 8, and 9 is also 1 mod 8.
      Combine those two facts to get that all prime number squares are 1 mod 24.

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

    First method confirmed that hypothesis holds for all primes (larger then 3), but second ("easier") method revealed the inner mechanism of it and allowed you to extend the domain to all numbers not divisible by 2 and not divisible by 6, instead of just primes.

  • @TheFakeVIP
    @TheFakeVIP 4 หลายเดือนก่อน +1

    I'm definitely a Matt Parker type of maths enthusiast. I love maths, and I really appreciate the beauty of that second proof, but I would've for sure gone down the route of the first proof if I was solving this. I wish I had the intuition to solve problems the way the second proof does, but I don't.

  • @Umbra451
    @Umbra451 2 ปีที่แล้ว

    Well, Matt, you got me. I’m hooked and I can’t stop squaring.

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

    4:06 wow

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

    My teacher actually had me and his other students prove this on a test. He expected us to use equivalence classes in mod 24. The proof follows these steps:
    1) Partition the set of all integers by all of the equivalence classes in mod 24.
    2) Consider the classes as the range of numbers from -11 to 12 (these numbers are actually equivalence classes, so they represent the set of all integers).
    3) Cross out all of the multiples of two and all of the multiples of three. (We’re left with the equivalence classes -11, -7, -5, -1, 1, 5, 7, and 11, all still in mod 24).
    4) Square each number and minus one. The new numbers are 0, 24, 48, and 120, which are all multiples of 24.
    Of course, this proof does not show that only primes have this property. It only shows that numbers which are not multiples of two or three have this property, and since all primes are not multiples of two or three, they have this property. So, there are definitely numbers that aren’t multiples of two or three but are not prime, just like Matt showed in the video (e.g. 25). Such numbers are those of which there are multiple prime factors and none of the prime factors are two or three. In the case of 25, its prime factorization is 5 and 5, so it is one of the numbers that is not a multiple of two or three and is not a prime number. But it is definitely true that prime numbers are not multiples of two or three, so they can be squared and end up being one more than a multiple of 24.

    • @kristofferssondavid
      @kristofferssondavid 2 ปีที่แล้ว

      Why don't use mod30?
      Then you are left with 8 possible primes every 30 numbers. 30 +-(1,7,11,13)
      Just like in mod 24 bur you seive out more numbers.

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

    24 used to be my favorite number.
    Many of the reasons why it was my favorite number is basically the same reason why some people suggest Dozenal is a better number system than Decimal, it just divides nicely by a lot of single digit numbers.

    • @willmungas8964
      @willmungas8964 2 ปีที่แล้ว

      What is your current favorite number?

    • @bobingabout
      @bobingabout 2 ปีที่แล้ว

      @@willmungas8964 Not sure I even have one any more. though I do like the powers of 2, like 16, 32 etc, and I do still like 24.

  • @EchosTackyTiki
    @EchosTackyTiki 8 หลายเดือนก่อน +1

    Whenever he was trying to compute 17^2 and was coming up with an easy way to do it, I immediately thought "that's gonna be 170 times 2, minus 3 lots of 17." I even paused the video and heard it in Matt's voice in my head. "170 times 2 is 340, 3 lots of 17, 51, 340 minus 51........ 289."
    You can hear it in his voice now, can't you?

  • @kevinjones5001
    @kevinjones5001 5 ปีที่แล้ว +45

    "elegant"
    ... as in ...
    "The friend's proof seems more elegant."
    ... might serve better, in context, than "easier".

    • @profdaniel1787
      @profdaniel1787 4 ปีที่แล้ว

      Searched the comments to find this one. Elegant was the word he was searching for.

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

    I like the second proof better not because it's "easier" but because it also shows why 2 and 3 don't square to multiples of 24 which is nice

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

    Using the same method as the second (more creative) proof, it also turns out that if you take the square of a prime number and multiply it by that same square minus five, you'll always end up with four less than a multiple of 360.
    Example (using the prime number 7): 49 × 41 = 2156 = 2160 - 4, and 2160 = 360 × 6.
    The proof comes from multiplying the factors (p - 2) (p - 1) (p + 1) and (p + 2). You'd end up with a polynomial that looks like p^4 - 5p^2 + 4, which can be rewritten as p^2 (p^2 - 5) + 4.
    When you look at the four factors on a number line, in addition to having a multiple of 2, 3, and 4, the newly added (p - 2) and (p + 2) also guarantee a second multiple of 3 as well as a multiple of 5 (but only if you're using prime numbers higher than 5). Therefore, since 2 × 3 × 3 × 4 × 5 = 360, you can guarantee that multiplying all four factors will give you a multiple of 360.

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

    oh wow i had no idea about the 24 rule! that is incredible beauty. math is such a fun topic, i wish things like this were taught in courses :)

  • @firefist3684
    @firefist3684 5 ปีที่แล้ว +13

    Every fourth power of a prime except for 2, 3, and 5 is one more than a multiple of 240.

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

      Every sixth power of a prime except for 2, 3, or 7 is one more than a multiple of 504.

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

      Let k be integer and p(n) be the n-th prime number, then:
      p(n>2)^2-1 = 1 x 24 x k
      p(n>3)^4-1 = 10 x 24 x k
      p(n>4)^6-1 = 21 x 24 x k
      p(n>3)^8-1 = 20 x 24 x k
      p(n>5)^10-1 = 11 x 24 x k
      p(n>3)^12-1 = 2730 x 24 x k
      p(n>2)^14-1 = 1 x 24 x k
      p(n>7)^16-1 = 680 x 24 x k
      p(n>8)^18-1 = 1197 x 24 x k
      p(n>5)^20-1 = 550 x 24 x k
      p(n>9)^22-1 = 23 x 24 x k
      p(n>6)^24-1 = 5460 x 24 x k
      ...
      As usual, the 24th power is a show off...

    • @customarylover3857
      @customarylover3857 5 ปีที่แล้ว

      @@unfetteredparacosmian Mind=blown
      5^6=15625=31*504+1
      11^6=1771561=3515*504+1
      13^6=4826809=9577*504+1

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

      Every zeroth power of a prime is one more than a multiple of 8,200,601.

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

    Very interesting. I already knew that 17^2 is 289 because, well, I like numbers, especially primes, and just happened to know that. Incidentally, genius savant Daniel Tammet called 289 an "ugly" number (in his incredible synesthetic mind), but I find the number 289 quite lovely.

  • @isaaczackary364
    @isaaczackary364 2 ปีที่แล้ว

    it makes me so happy that he tried doing the equations by hand before using the calculator

  • @seldomz4766
    @seldomz4766 4 ปีที่แล้ว

    love the way u explained about being easier

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

    Open question: I’m from Canada and when we talk about mathematics we shorten it to “math” not “maths” the way you do in UK, Aus, etc. Any reason why 4:28 said “Math-related items” vs “maths” despite Matt and Brady’s Aus backgrounds? Am I up too late again?

    • @dannygjk
      @dannygjk 2 ปีที่แล้ว

      IKR they are not being consistent.

  • @blazingfire7517
    @blazingfire7517 5 ปีที่แล้ว +17

    I did 17 squares in my head and got it right first try. I’m proud of myself.

    • @trejkaz
      @trejkaz 2 ปีที่แล้ว

      Sounds easy enough. Just do it as (16+1)².

    • @anonnymouse3058
      @anonnymouse3058 2 ปีที่แล้ว

      I am the 17th like of this comment. I am proud of myself.

  • @noswanson1982
    @noswanson1982 5 ปีที่แล้ว

    I have been doing something similar as a easy trick to multiply squared numbers in my head.
    The difference of squares thing can be generalized.
    So, a^2, can be modified to a^2 - s^2 and it be changed to (a-s)(a+s). To solve for a^2, just add the s^2 back on to the answer.
    So, 19^2, can be rewritten as (19-1)(19+1) + 1 (or 361). 22^2 can be rewritten as (25)(19) + 9 or 484.

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

    You can do it from the 6k+1 and 6k-1 cases.
    Squaring 6k+1 gives 36kk + 12k + 1, which is 24(1.5kk + 0.5k) + 1.
    Squaring 6k-1 gives 36kk - 12k + 1, which is 24(1.5kk - 0.5k) + 1.
    If k is odd then k squared is odd, if k is even, then k squared is even - therefore the bit in brackets is an integer.
    QED.

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

    I think the "slight of hand" is in calling the subject primes when ANY number not a factor of 2 or 3 will fit that pattern.

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

    This is some Grade-A prime content. I love prime facts.

  • @khemanandabhusal2139
    @khemanandabhusal2139 2 ปีที่แล้ว

    The idea if 24p+1 was impressive. It helped me to add some extra sentences about prime distribution. Thanks.

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

    I know you started with the 6 idea, but you can also work mod 3 and 8, where all primes square to 1 and apply Chinese remainder theorem

  • @MrBoubource
    @MrBoubource 5 ปีที่แล้ว +5

    0:50 parkerSquare(17) = 149.
    Should we create a new OEIS sequence to collect all the parker squared Matt has discovered over the years?

  • @Thomas-vn6cr
    @Thomas-vn6cr 5 ปีที่แล้ว +479

    Nice haircut.

    • @fawadmirza.
      @fawadmirza. 5 ปีที่แล้ว +13

      😂😂😂

    • @eileenvilaca
      @eileenvilaca 5 ปีที่แล้ว +131

      Almost balding, not quite... could call it a parker cut.

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

      The ears could still use a trim

    • @pleindespoir
      @pleindespoir 5 ปีที่แล้ว +15

      @@kgipe
      how would he look without ears ?
      ;)

    • @kgipe
      @kgipe 5 ปีที่แล้ว

      Pleindespoir 🙉😂

  • @vaibhavraut9654
    @vaibhavraut9654 5 ปีที่แล้ว

    You made my day

  • @Aaron-P
    @Aaron-P 5 ปีที่แล้ว +402

    2 & 3 aren't *real* primes?!! And I suppose hydrogen & helium aren't real elements? 😉

    • @TheGeneralThings
      @TheGeneralThings 5 ปีที่แล้ว +85

      Only real elements are uranium and above.

    • @MrMichiel1983
      @MrMichiel1983 5 ปีที่แล้ว +35

      Aaron P.. They are real primes, but different from all the others. There is no way a non prime number can be in between 1 and 2 or 1 and 3, so it's a bit obvious that 2 and 3 must be prime. 5 is the first prime that has a non prime between it and 1 (namely 4)

    • @patrickgono6043
      @patrickgono6043 5 ปีที่แล้ว +50

      No. See, hydrogen and helium are the only real elements. Everything heavier are just metals *astronomy intensifies*

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

      And gold isn't an element? As it's not a prime?

    • @haniyasu8236
      @haniyasu8236 5 ปีที่แล้ว +16

      They're Parker primes. They fail to square to one more than a multiple of 24, but at least they gave it a go.

  • @apteropith
    @apteropith 5 ปีที่แล้ว +5

    I was able to prove it with general squaring by exploiting the fact that n^2 +/- n is always even. That gave me an extra factor of two to go with the obvious factor of 12.
    It's a really neat result.

  • @Operation-Overlord
    @Operation-Overlord 4 ปีที่แล้ว +1

    From my little side of the math/maths world... the Parker Square proof, we would call intuitive -> straighforward premises and checking
    The other proof would be elegant, where we describe it as, we dont expect anybody to just come up with that proof but theres something pretty about the proof, usually in simplicity or easy to code or efficient with computing resources.

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

    Thank you for this very much for this video. The video shows that pi is approximately 22 / 7. This value is approximately 3.14. Using the properties of this value we can compute prime numbers in sequence, which is based on the existing computing capability. The formula was an algorithm, that was developed by a well known mathematician. Using his formula and the method that I discovered, I can compute prime numbers in sequence using 22 / 7 .

    • @kristofferssondavid
      @kristofferssondavid 2 ปีที่แล้ว

      How do you do that?

    • @ERROR-ei5yv
      @ERROR-ei5yv 2 ปีที่แล้ว

      how does this video relate to 22/7?

    • @ricie9317
      @ricie9317 2 ปีที่แล้ว

      all prime number can be generated by fractran of 2 and fractran hides properties of the golden ratio

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

    you can increase the terms in the polynomial to get more weird rules like any prime to the power of 4 - 5 times the prime squared +4 is a multiple of 360

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

    8:30 I was screaming this in my head from the moment the video started.

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

    This is unrelated to squaring primes. I think it can be shown that all the composites of form 6n±1 can be revealed to be of the form 6n±n. 6n±n can be factored as (6a±1)(6b±1).
    Thus, these composites can be eliminated from consideration as possible primes.
    For instance, 25, which is 6(4)+1, can be eliminated by considering that it is also equal to 6(5)-5. 35, or 6(6)-1, can be eliminated by considering that it is equal to 6(5)+5, or, similarly, that it is equal to 6(7)-7.
    Values of n (multiplied by 6) must also be considered which are multiples of 2, 3, 4, 5, etc.
    For instance, where n=2[6(2)-1]:
    6×2[6(2)-1]-[6(2)-1]=121, which is 11², is eliminated.
    Similarly, 6×2[6(2)-1]+[6(2)-1]=143, another number that is not otherwise eliminated if we consider only multiple of 6 that fit the the simple form 6n±1.
    Another example is the composite 187. This number is equal to 6×3[6(2)-1]-[6(2)-1].
    It is interesting that this formula can be factored as [6(2)-1](6×3-1), which reveals the two prime factors of 187 right of the bat!
    Similarly, the square 169 can be eliminated by observing that 6×2[6(2)+1]+[6(2)+1], or [6(2)+1](6×2+1), which is 13×13.
    To investigate this, it helps to make a chart to count by six, starting with 0-5 in the first column.
    Based on these considerations, it seems that an efficient algorithm could be generated to sift for primes by automatic elimination of composites of the form 6n±n, where n is itself of the form 6n±1. As shown, the algorithm would also automatically factor at least some composites of the form 6n±1.

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

    Probably mentioned before, but I do like how 2^2-1=3 and 3^2-1=8, multiplying to form a familiar number.

  • @johnchessant3012
    @johnchessant3012 5 ปีที่แล้ว +25

    I found a remarkable pattern in the primes: Every prime number is a number!

    • @An_Amazing_Login5036
      @An_Amazing_Login5036 5 ปีที่แล้ว +5

      John Chessant Incredible! How did you stumble across this remarkable fact?!

    • @YellowBunny
      @YellowBunny 5 ปีที่แล้ว

      Every prime number minus one is still a number.

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

      Oh boy! Goldbach conjecture here I come

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

      Bold statement right there.

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

      Fields medal incoming!