The impossible chessboard puzzle

Поделиться
HTML-код
  • Опубликовано: 17 дек 2024

Комментарии • 2,4 тыс.

  • @nikanj
    @nikanj 4 года назад +7827

    Ah the classic mathematics career path.
    Undergraduate > Masters > Doctorate > Postdoc > Assistant Professor > Associate Professor > Professor > Prison Warden

    • @tusharpal8041
      @tusharpal8041 4 года назад +49

      haha

    • @paulzapodeanu9407
      @paulzapodeanu9407 4 года назад +391

      Interesting, but where does buying 78 watermelons fit into this?

    • @morganirosonna2871
      @morganirosonna2871 4 года назад +82

      @@CrushedAsian255 basic math classes giving weird questions when first learning about math operations (addition, subtraction, multiplication and division)

    • @strangething4322
      @strangething4322 4 года назад +39

      >Physics video commenter, the most evolved form of intellect around.

    • @nihilist1680
      @nihilist1680 4 года назад +44

      @@CrushedAsian255 he meant that if your mom is 56 years old and your car is red then how tall is your father?

  • @hebl47
    @hebl47 4 года назад +3951

    Why do mathematicians always set their puzzles in prisons?
    Simple: min-maxing. You have maximum amount of time, minimum amount of distractions and maximum motivation to solve the puzzle correctly.

    • @hugobouma
      @hugobouma 4 года назад +437

      Assuming a spherical prison in a vacuum, of course.

    • @peerzadauzer6155
      @peerzadauzer6155 4 года назад +131

      And still people don't wanna go to prison.

    • @vigilantcosmicpenguin8721
      @vigilantcosmicpenguin8721 3 года назад +55

      I imagine mathematicians would flourish in prison.

    • @SacredGeometryWeb
      @SacredGeometryWeb 3 года назад +52

      Because existence is a prison and only mathematics can free you into non-existence ?

    • @mikhailmikhailov8781
      @mikhailmikhailov8781 3 года назад +49

      @@SacredGeometryWeb Stop explaining the plot of evangelion

  • @quinn7894
    @quinn7894 2 года назад +3721

    He's hiding messages in the checkerboards. They're all in ASCII.
    0:29 "3b1b :)"
    0:51 "3b1b :("
    0:57 "Tau < Pi"
    1:26 "FlipBits"
    1:27 "BlipBits"
    1:30 "ClipBits"
    1:33 "ChipBits"
    1:36 "ChipBats"
    1:38 "ChipRats"
    1:41 "ChipVats"
    1:44 "ChipFats"
    1:47 "ChapFats"
    2:08 "Do Math!"
    4:06 "To 2 bit"
    5:50 "3 Fails!"
    16:11 "Please, "
    16:13 "go watch"
    16:16 "Stand-up"
    16:19 "Maths on"
    16:22 "RUclips."
    Let me know if I missed any!

    • @eladto
      @eladto Год назад +327

      Priceless! and I thought the meth joke was brilliant... =)

    • @jasonremy1627
      @jasonremy1627 Год назад +26

      Wow!

    • @apu_apustaja
      @apu_apustaja Год назад +83

      I hid a message in this message.

    • @gallium-gonzollium
      @gallium-gonzollium Год назад +16

      @@apu_apustaja i can see a message tho-

    • @rynlazorchak574
      @rynlazorchak574 Год назад +181

      Okay the "Tau < Pi" one is even more brilliant though because the original version without the bitflip says "Tau > Pi."

  • @kellymacdonald8900
    @kellymacdonald8900 4 года назад +335

    After seeing this video a few days ago I could not stop thinking about it, and even after learning the solution I was so amazed by how this could even be possible. I started learning some basics of Python this summer, and today I wrote some code that would allow prisoner 1 to determine which coin to flip and then prisoner 2 to determine where the key was based on the new arrangement. It was the most fulfilling thing I've coded so far and I'm grateful to have been introduced to this puzzle! Thanks for making such an inspiring video!

    • @rayyan21d
      @rayyan21d Год назад +5

      Inspiring!

    • @olehdvorechentsev7468
      @olehdvorechentsev7468 Год назад +3

      Can you share a code? I would love to play around

    • @ryanc473
      @ryanc473 2 месяца назад +1

      I'm gonna have to do this myself...
      Though honestly, I'm used to C++ lol, so I'll likely do it there

  • @kanyenortheast3546
    @kanyenortheast3546 4 года назад +717

    There's always the chance I just randomly choose the right square, blowing the warden's mind and my comrade's with sheer dumb luck

    • @arandomcommenter6759
      @arandomcommenter6759 4 года назад +4

      Its a 1% chance so good luck

    • @mikelap4244
      @mikelap4244 2 года назад +100

      @@arandomcommenter6759 1/64 chance actually

    • @lazerpie101
      @lazerpie101 2 года назад +37

      @@mikelap4244 well, at least it's better than 1 in 100

    • @toreadorjj5482
      @toreadorjj5482 Год назад +37

      You could make it 1/32 by saying “if it’s on the bottom half, make coin 1 tails”. Not terrible odds honestly

    • @theaegislash8249
      @theaegislash8249 Год назад +26

      @@mikelap4244 it can be better odds, for example, you can tell your partner that the key will be under a coin with heads, and if the key was placed under a tails coin, make it heads, and if its heads, flip another heads coin to tails. This could increase your chance of success by quite a bit.

  • @standupmaths
    @standupmaths 4 года назад +4383

    This was impossibly good fun. Thanks for getting me involved!

    • @Nylspider
      @Nylspider 4 года назад +52

      *Me seeing Standup's vid and Blue's vid being uploaded at the same time* : Well heck

    • @lapiscarrot
      @lapiscarrot 4 года назад +26

      Tfw you have to pick between the same video from your favorite two channels

    • @jadenchen8921
      @jadenchen8921 4 года назад +6

      Wow it’s Matt!
      Thanks for all the cool math videos!

    • @squibble311
      @squibble311 4 года назад +3

      @@lapiscarrot hello fellow gamer

    • @PiletskayaV
      @PiletskayaV 4 года назад +2

      It is amazing collab of my two favourite math-channels! Woo-hoo!

  • @Mine4Phantom
    @Mine4Phantom 4 года назад +6202

    That bit sequence actually maping to "Do math!" and "Do meth!" is the type of small things that makes this channel amazing

    • @vigilantcosmicpenguin8721
      @vigilantcosmicpenguin8721 3 года назад +373

      Yeah, that's what makes this channel my favorite meth RUclipsr.

    • @blackferrets820
      @blackferrets820 3 года назад +83

      ikr and i got to use my skills in reading binary i knew that i'll use it in the future

    • @tis_ace
      @tis_ace 3 года назад +35

      Entity 303? Its been a long time since I've seen that face.

    • @thextrmntr
      @thextrmntr 3 года назад +30

      Thank you for saving me from writing a line of python

    • @subhampanwar396
      @subhampanwar396 3 года назад +3

      😜😜

  • @ridwansetiadi8393
    @ridwansetiadi8393 4 года назад +2472

    A: "Wanna go to their wedding ?"
    B: "Nah, I'm busy, I'll just send them present."
    A: "There will be an extremely complicated math puzzle which related to higher dimension and computer science."
    B: "Done, let's go."

  • @omaralsaawe4844
    @omaralsaawe4844 3 месяца назад +127

    Kn44 is love. kn44 is life.

    • @snakybowl2040
      @snakybowl2040 3 месяца назад +5

      That video blew my mind

    • @Kevuno
      @Kevuno 3 месяца назад +2

      Ayyy came from that video too! Black Ops Zombies are everywhere

    • @alexeissner7734
      @alexeissner7734 3 месяца назад

      This has to be it… insane videos btw

    • @Nocturnal_Spectre
      @Nocturnal_Spectre 3 месяца назад +1

      Never thought I would see a 3blue1brown video in a zombies video lol. Epic moment🎉

    • @skanderbeg152
      @skanderbeg152 2 месяца назад +3

      ​@@Nocturnal_Spectresuch a crazy unexpected crossover honestly

  • @ygabvftwfvdawdfasfaytwgtag3069
    @ygabvftwfvdawdfasfaytwgtag3069 3 месяца назад +41

    Who would have known this would be the icebreaker to the puzzle in black ops 3, somebody give Jason a raise...

  • @dasmilekat5231
    @dasmilekat5231 4 года назад +203

    1:03 before flip in ascii code: Tau > pi
    1:03 after flip in ascii code: Tau < pi
    1:25 in ascii code: 3b1b :)

    • @bismajoyosumarto1237
      @bismajoyosumarto1237 4 года назад +1

      ???

    • @Tanka036
      @Tanka036 4 года назад +12

      @@bismajoyosumarto1237 If you break the bit stream into ASCii characters, that's what it makes

    • @rednammoc
      @rednammoc 4 года назад +1

      Is this a hint that Grant is on Steve's side rather than Matt's side?

    • @PaoloLammens
      @PaoloLammens 3 года назад +4

      And after the flip in the bottom right corner in 0:50 : "3b1b :("

  • @nienke7713
    @nienke7713 4 года назад +635

    This is honestly the first time I understand what that representation of a 4D cube is supposed to convey, it's not about somehow imagining how it would look like, it's just representing the relation of how the vertices are connected

    • @socratesisdead9037
      @socratesisdead9037 4 года назад +6

      Yup

    • @nomekop777
      @nomekop777 3 года назад +10

      It also is what one could look like. The flat cube, if you looked at it from the top down, is a way cubes can be positioned in 3 dimensions. The same applies for the 4d cube

    • @BakersTaste
      @BakersTaste 2 года назад +21

      the 3-D projection of the 4-D cube is brain-breaking. He demonstrates the 2-D projection of a 3-D cube and then constructs the 3-D projection of the 4-D cube, which of course prompts you to think about how that 3-D projection is expanded into 4-D which our puny brains can't do. ugh.

    • @KanaalJo
      @KanaalJo Год назад +4

      It somehow makes you “see” that the sides of a 4D cube are 8 3D cubes, just as the sides of 3D cube are 6 2D cubes (squares)

    • @Rudxain
      @Rudxain Год назад

      That's correct in the context of graph-theory and topology, but not geometry.
      By definition, all sides of a 4D cube must have the same size as each other, regardless of how it looks when projected

  • @rishabhpatil869
    @rishabhpatil869 4 года назад +930

    'The impossible chessboard puzzle' - Me: "Okay! You got this"
    ALSO ME: *Stumbles in 2 square case*

    • @CaTastrophy427
      @CaTastrophy427 4 года назад +42

      Same lmao, I forgot that you *had* to flip a coin. So I was like "okay, if they're the same, it's the left square, if they're different, it's the right square, ez"

    • @thomasrebotier1741
      @thomasrebotier1741 4 года назад

      Video stopped, I rewatched the first minute trying to determine if you indeed HAD to turn a coin. It looked simple with having the choice not to, as CaTastrophy427 spelled out. Even when forced to flip a coin ... see my own comment for solution.

    • @kishangajera1411
      @kishangajera1411 3 года назад

      Same man 😑😂

  • @masondoyle1503
    @masondoyle1503 3 года назад +73

    You heard this at a wedding? WHY??!

    • @It-me-gog
      @It-me-gog 3 месяца назад +10

      A weirdly math obsessed weird eastern european uncle of the groom gave him this riddle in order to be able to say “well *slaps knees* i gotta go, the missus needs to leave”

    • @Luischocolatier
      @Luischocolatier 3 месяца назад +1

      Mathematician weddings are just like that I guess

  • @thievingonions2328
    @thievingonions2328 3 месяца назад +34

    The universe is built on subatomic kn-44s

  • @athysw.e.9562
    @athysw.e.9562 4 года назад +668

    Grant Sanderson is definitely a master at making you feel these "Eureka" moments.

    • @integralboi2900
      @integralboi2900 4 года назад +6

      *aha! moments

    • @ragnkja
      @ragnkja 4 года назад

      Integarahl boi
      Or “I’ve got it!” if you just want to speak English instead of Greek.

    • @nurik
      @nurik 4 года назад +1

      Eurgasms. If you will.

  • @gabrielz6047
    @gabrielz6047 4 года назад +570

    "im doing meth"
    police: jail time
    computer scientists: interesting correction...

    • @Finkelfunk
      @Finkelfunk 4 года назад +32

      They send you to a...
      ...correctional facility.
      ... I'll see myself out.

    • @wirly-
      @wirly- 4 года назад +10

      You'll just escape jail by guessing the right key

    • @buddyclem7328
      @buddyclem7328 4 года назад +3

      This isn't meth. It's _mercury fulminate!_ *BOOM*

  • @pikchassis
    @pikchassis 4 года назад +418

    If you convert the arrangement of heads and tails at 0:49 into binary then translate it into english the readable text will say this: "3b1b :)"

    • @pradyunmore6727
      @pradyunmore6727 4 года назад +13

      @GoldBoy4 yes indeed! How did you find out?

    • @el_bamboozle
      @el_bamboozle 4 года назад +15

      Investigation I believe

    • @anandsuralkar2947
      @anandsuralkar2947 4 года назад +4

      Damn

    • @thesenamesaretaken
      @thesenamesaretaken 4 года назад +30

      @@pradyunmore6727 Probably the hint was that two of the rows were repeated, especially the two that represent 32, or space in ascii. That and a suspicion that youtubers like to leave easter eggs in their videos.

    • @legendarytat8278
      @legendarytat8278 4 года назад +6

      Nice easter egg

  • @spongebob4202_
    @spongebob4202_ 3 месяца назад +31

    Jason Blundell was here

  • @3blue1brown
    @3blue1brown  4 года назад +778

    Matt Parker and I talk about the solution to the original puzzle on his channel: ruclips.net/video/as7Gkm7Y7h4/видео.html
    This solution is _highly_ connected to Hamming error correction codes, so much so that doing this puzzle inspired me to make a video about them: ruclips.net/video/X8jsijhllIA/видео.html

    • @vwlz8637
      @vwlz8637 4 года назад +3

      cool

    • @randomblogger2835
      @randomblogger2835 4 года назад

      @ "cool" means that the speaker is comfortable with the statement and it's implications. "Cool!" means the speaker is comfortable and excited by the statement, this is possibly what VWLZ intended.

    • @sabiro2315
      @sabiro2315 3 года назад +5

      Haha I just came from the Hamming codes videos, so my mind was already primed to think about this in a certain way.
      You really are an amazing teacher BTW, in case you haven't heard it enough from all your other fans.

    • @mahdishafiei7230
      @mahdishafiei7230 3 года назад

      It can be possible for n = 63; just assume n=64. As far as the flip coin is not the imaginary cell.

    • @stormknight8012
      @stormknight8012 3 года назад +1

      Got a bit confused, I didn’t get that the coin flip was mandatory from the phrasing “allows you to do” making the 3D version a cakewalk to solve

  • @johnchessant3012
    @johnchessant3012 4 года назад +897

    3Blue1Brown uploaded: "The impossible chessboard puzzle"
    Stand-up Maths uploaded: "The almost impossible chessboard puzzle"
    Hmm...

    • @ganaraminukshuk0
      @ganaraminukshuk0 4 года назад +31

      True story, before I clicked on this vid, Iwas watching Standupmaths's video on generalized Fibonacci numbers, where the sequence both extends to negative numbers but allows for complex number inputs.

    • @sommanker
      @sommanker 4 года назад +5

      @@ganaraminukshuk0 saaaaame

    • @ShadSterling
      @ShadSterling 4 года назад +22

      It's the Parker Square of impossible chessboard puzzles

    • @urgay1992
      @urgay1992 4 года назад +32

      3b1b thumbnail is a 6x6 board, stand up maths is an 8x8 board ;)

    • @flexico64
      @flexico64 4 года назад +1

      Haha I commented this on Matt's vid! XD

  • @ethanlam2865
    @ethanlam2865 4 года назад +320

    For those interested in this puzzle, this puzzle is also known as "The Devil's Chessboard." Of course there are multiple ways to attack this problem, but interestingly one solution you will find online also has a "computer science" flavor to it, similar to the error correction motivation as seen in this video. A possible solution to this puzzle is to label the the cells of the 8x8 board from 0 to 63 (we do this because we are putting our computer science hats on and start counting from 0). We then note the labels of each cell holding a coin with heads (or tails ... it doesn't matter) facing up. Convert each of those labels into its corresponding 6 bit integer (note that every cell on the board is in one to one correspondence with a binary string of length 6) and XOR all those integers ALONG WITH the label of the cell holding the secret key location. Now convert the result back into an integer which points to the cell holding the coin you should now flip. When your friend looks at the board, he/she will then (using the same labeling as you) XOR all the cells with heads facing up (or tail ... if that was what you used earlier). The final XOR result will be the cell location holding the key! For those not familiar with XORing two numbers, you basically need to line up the two 6-bit integers and look at each column where if you see two 1’s or two 0’s you write a 0 below and write 1 otherwise. Another interpretation is to write a 0 if the two bits are the same and write a 1 if the two bits are different. For example, 111000 XOR 010101 = 101101. You can play around with this strategy, by using a programming language. To XOR two numbers N and M you typically would need to type “N ^ M”.
    To see the connection to computer science, check out an encryption technique called a "One Time Pad." It works exactly through XORs similar to the solution of this puzzle. Let's say you want to encrypt a message, M, to send your friend, and supposed it is N bits long. For a secure encryption, you and your friend should generate a (uniformly) random N bit key, K, beforehand. Then to generate your ciphertext, C, you should compute C = K XOR M (or M XOR K because XOR is commutative which is fairly straightforward to verify). Then your friend would compute C XOR K (or K XOR C) to reveal the message M! The reason this works is because K XOR K always equals 0 for any choice of K (in technical terms K is called the "inverse" of K) and 0 XOR C always equals C for any choice of C (in technical terms 0 is called the “identity”). In addition to being commutative, XOR is also associative. If these properties sound very familiar, it is because it is! XOR sounds kinda like a special addition where negative numbers are just the numbers themselves! With this in mind, I’ll use “+” to denote XOR for brevity. Putting this all together, we know that C = K + M and that when revealing your message your friend will compute C + K = K + C = K + (K + M) = 0 + M = M!
    How does this relate to the Devil’s Chessboard? Well we can think of XORing all the cells with heads (I will ignore the situation where we use tails instead but the analysis is the same) as our “key” K and the key location being our message M. Formally, let K = X_1 + … + X_N where X_i is a cell with heads facing up and let M be the cell holding the key location. To generate our “ciphertext” which will be the cell holding the coin we flip, we perform as stated above C = K + M. The ingenuity of this solution lies in the fact that when your friend comes in and performs the XORing procedure stated above, he/she will compute C + K which as seen before will expose our message M! To see why this is case, note that either C will have been turned from tails to heads or turned from heads to tails. In the first case, your friend will see X_1, …, X_N, and C as heads and compute X_1 + … + X_N + C = K + C. In the second case, C will have flipped a coin that was previously heads (call this X_j), and your friend will then compute X_1 + … + X_(j-1) + X_(j+1) + … X_N = X_1 + … + X_(j-1) + 0 + X_(j+1) + … X_N = X_1 + … + X_(j-1) + (X_j + X_j) + X_(j+1) + … X_N = K + C. The second to last equality used the fact that X + X = 0 (mentioned above) and the last equality was due the commutative nature of XOR. As we see, no matter the case, your friend will ALWAYS compute K + C revealing the location of the key! This puzzle is indeed very cool, and surprisingly has another computer science angle that motivates not only ideas from coding theory but also cryptography!

    • @t_kon
      @t_kon 4 года назад +3

      Yeah definitely correct. I just wrote the solver to this problem using the exact same method of XOR encoding/decoding!

    • @padraighill4558
      @padraighill4558 4 года назад +13

      Use paragraphs pls

    • @ethanlam2865
      @ethanlam2865 4 года назад +14

      @@padraighill4558 Thanks for the feedback! I had written the post in a separate program and pasted it into youtube. I guess the formatting didn't carry through. There should now be new lines in the post delineating the different sections.

    • @NovaWarrior77
      @NovaWarrior77 4 года назад +4

      Wowza. You donated time and energy, thank you. I hope it is valuable to others.

    • @hugobouma
      @hugobouma 4 года назад +5

      I have a strong feeling that this solution is functionally equivalent to the one that's proposed in the other video-for a given configuration, the same coin gets flipped, and this is just a more CompSci way of describing it. That being said, i'm definitely too lazy to attempt to prove the equivalence :P

  • @KarelPletsStriker
    @KarelPletsStriker 4 года назад +191

    I'm currently reading a book on quantum computing and even though it's almost totally unrelated to that topic, this video made me realise why there's a need for code correction after calculation. Very amazing how separate branches of math and science intersect and help each other's understanding

    • @coleabrahams9331
      @coleabrahams9331 4 года назад +2

      What book are you reading? I would be interested to read it too

    • @GothicKin
      @GothicKin 4 года назад +2

      Not to be a dick but why are you reading a book on quantum computing if you didn't even know about error correction? It's a rhetorical question obviously and I see how quantum computing can be fascinating, but you'd probably appreciate qc more with a background of classical computing first.

    • @visageliquifier3636
      @visageliquifier3636 4 года назад

      I will say honestly it may seem unrelated on the outside, but reductions on sets of states is at the heart of computer science and one application of that general activity is error correction. Error correction does come more out of the EE or ECE field, to be sure, but the general idea is the crux of C.S. .

    • @shalala4217
      @shalala4217 4 года назад +19

      @@GothicKin Not to be a dick, but why don't you read properly before making a comment, he never said "I didn't know what error correction was," he said he now understands why after a quantum computation you have to do error correction to see the final and real result.

    • @KarelPletsStriker
      @KarelPletsStriker 4 года назад +2

      @@coleabrahams9331 It's actually more accurate to call it a booklet since it's less than 100 pages long and only covers the basics of quantum computing. Very much just an introduction. It's a Dutch book called "De quantumcomputer: een digitale revolutie op het punt van uitbreken" (The quantum computer: a digital revolution on the brink of breaking into scene) by George Van Hal. I doubt there are English versions of it, though.

  • @time2believe
    @time2believe Год назад +14

    It was at the 8:06 mark when I realized my chances of understanding the solution is next to nothing.

  • @OlGreg-p3l
    @OlGreg-p3l 3 месяца назад +18

    KN-44 gang rise up!! @3blue1brown get on this EE hunt and help us solve it!

  • @christiankleinewachter560
    @christiankleinewachter560 4 года назад +61

    For those who are intrested in the general case: The problem of how to encode data with a limited number of bitflips was treated in 1989 in the paper "Coding for write-efficient memory" by Ahlswede and Zhang.

  • @MeownaMeow
    @MeownaMeow 4 года назад +224

    One of my favorite math teacher, and also a friend, died of cancer yesterday.
    She used to love this channel.
    She will never get to see this video.
    She was a strict, funny and caring teacher.
    Rest in peace Layla 😢🙏

    • @deleetiusproductions3497
      @deleetiusproductions3497 4 года назад

      She was more likely to die of COVID-19, so... not sure what follow-up statement I could make for that.

    • @neonblack211
      @neonblack211 4 года назад +18

      MeownaMeow sorry for your loss, at least she had good taste and must have seen much great content, much love

    • @squibble311
      @squibble311 4 года назад +1

      o7
      f

    • @mate_on_f7916
      @mate_on_f7916 4 года назад +3

      F

    • @morkovija
      @morkovija 4 года назад

      Sorry my dude, I felt the same about monster group and Conway. Somebody has to solve it in his honor

  • @1.4142
    @1.4142 4 года назад +941

    lock picking lawyer: who needs keys?

    • @huantian
      @huantian 4 года назад +90

      Number one is binding... nice click out of 2

    • @volcanking662
      @volcanking662 4 года назад +57

      Hi, this is the lock picking lawyer and what I'm going to show you today is how to pick this jail lock with maths.

    • @mrmunchkin2181
      @mrmunchkin2181 4 года назад +43

      @@volcanking662 Using the pick that Bosnianbill and I made.

    • @Felixkeeg
      @Felixkeeg 4 года назад +11

      Meta

    • @NStripleseven
      @NStripleseven 4 года назад +5

      Lol

  • @BeaverInSpace
    @BeaverInSpace 11 месяцев назад +9

    Surprisingly, because your shorts are very calm in general (voice and visual wise), therefore, I am much more likely to watch the whole video. Noticed this several times.

  • @CEGryphon
    @CEGryphon 3 месяца назад +8

    Out here solving puzzles you didn’t know existed

  • @PowerhouseCell
    @PowerhouseCell 4 года назад +282

    Only Grant would discuss this problem at a wedding 😂

    • @pvic6959
      @pvic6959 4 года назад +21

      but a discussion needs 2+ people... I wonder what wedding has this many fun nerds (I say nerds as a compliment and not an insult)

    • @stv3qbhxjnmmqbw835
      @stv3qbhxjnmmqbw835 4 года назад +10

      I was surprised as well, but then I thought it's ok too. I've been into weddings where people talk about computers and AI a lot. That's because I have my friends who share common knowledge in this domain. So it's normal for Grant to talk about Maths in the wedding.
      (Btw talking about technology doesn't look weird enough, but discussing Maths problems...)

    • @stv3qbhxjnmmqbw835
      @stv3qbhxjnmmqbw835 4 года назад +1

      @@pvic6959 when you add fun as a prefix, we take it as a compliment. You don't need to clarify 😉

    • @pvic6959
      @pvic6959 4 года назад +3

      @@stv3qbhxjnmmqbw835 Just wanted to be clear! I consider myself one too :P

    • @ericlehman839
      @ericlehman839 4 года назад +4

      Even worse, it was his own wedding. :-)

  • @TimTom
    @TimTom 4 года назад +165

    I have been eagerly awaiting a new 3B1B video and I just want you to know that I dropped everything to watch this.

  • @blanu2
    @blanu2 4 года назад +151

    "Not everyone is as interested in symmetrical ways to paint a 64-dimensional cube as I am..." - nonsense!

    • @ZomB1986
      @ZomB1986 4 года назад +3

      3B1B please explain not only Hamming codes (I already know those) but also Reed-Solomon and LDPC codes (I get overwhelmed by unknown math involved). I actually want to be able to implement them. Not just implement, but understand how and why they work and play with them. I looked at source code of Reed-Solomon from the ZXing library and although it works, I couldn't figure out how it work.

  • @lekebabparti4770
    @lekebabparti4770 3 месяца назад +12

    All the cod black ops 3 fans will watch this 20x times for the impossible Easter egg

  • @joechen4485
    @joechen4485 Год назад +19

    From the prisoner puzzle, the rule says you can flip one coin but doesn’t say that you have to flip a coin. So I am wondering, if “not flipping coin” is an option, I feel the 3d model will work since you can always stick too “key = the less number of head/tail” for example: 001,110 both tell the key is in the right-most slot. Of course. This is based on “if not flipping a coin is a possible option”

  • @CaseyJMoore
    @CaseyJMoore 4 года назад +150

    "Error correction is universally sexy!" Needs to be made into a t-shirt.

  • @johnchessant3012
    @johnchessant3012 4 года назад +73

    Fun fact: The 1's and 0's at 2:20 are not random. They're the ASCII representation of "Do math!"; each row of 8 bits is one character of the message.

    • @13mudit
      @13mudit 4 года назад +8

      I think most people who watch this channel are familiar with that

    • @JohnDlugosz
      @JohnDlugosz 4 года назад +9

      I think we all knew that, from the ECC example that changes the 'a' to an 'e' by adding 4.

    • @iddomargalit-friedman3897
      @iddomargalit-friedman3897 4 года назад +19

      Why would you think most watching are familiar with this?
      This is far from universal knowledge, and I would guess it is only a small minority who do.

    • @siosilvar
      @siosilvar 4 года назад +5

      @oH well,lord! hence why the first column is all 0s

    • @pamdemonia
      @pamdemonia 4 года назад +2

      I knew that from the amazing game The Guides: Axiom. Look it up on Play. It's pretty amazing!

  • @CalamityInAction
    @CalamityInAction 4 года назад +26

    One of the best math channels out there. Change my mind

    • @shayanshaikh534
      @shayanshaikh534 4 года назад +1

      I don't think anyone can do so given he certainly _is_ *one of the* best math channels
      Also my personal favourite

    • @randomdude9135
      @randomdude9135 4 года назад +1

      *Steven Crowder has joined the chat*

    • @dsdsspp7130
      @dsdsspp7130 4 года назад

      you mean the best

    • @sathvikswaminathan7933
      @sathvikswaminathan7933 4 года назад

      Definitely one of the best. Although I do respect and appreciate Gilbert Strang equally ♥️

    • @CalamityInAction
      @CalamityInAction 4 года назад

      Random Dude I hope not

  • @Baybarstsk
    @Baybarstsk 3 месяца назад +29

    I can confidentally say that we're all here to figure out KN-44 for the impossible EE on BO3

  • @juanalbertovargasmesen2509
    @juanalbertovargasmesen2509 4 года назад +127

    When you first stated the problem, I understood that you "may" (instead of "must") flip one coin.
    The possibility of not flipping any coin definitely changes the problem. I know, for example, that it would be possible to solve for 3 squares. Have you given any thought to this variant of the problem?

    • @n484l3iehugtil
      @n484l3iehugtil 3 года назад +10

      It'll prob be way easier (for the prisoners)

    • @dragonmasterlangeweg7625
      @dragonmasterlangeweg7625 Год назад

      The way it's stated does indeed leave room for not flipping any coin.

    • @yasseindahshan3556
      @yasseindahshan3556 Год назад

      For this variation, it is possible for any number of squares that is a power of 2 or 1 less than a power of 2, but it is impossible for all other cases. In case of 3 squares it was possible since it is 1 less than 4 which is a power of 2. To find how o solve for squares 1 less than a power of 2 you just use the same strategy for solution for powers of 2, but assign a binary number to not flipping any coin.

  • @getpunned
    @getpunned 4 года назад +18

    > color the vertices of a cube
    "It's all graphs?"
    "Always has been"

  • @bindusarareddy5532
    @bindusarareddy5532 4 года назад +111

    Prisoner 1 **Confidently walks in, flips a coin, leaves.**
    Warden **turns board 180 degrees**
    Prisoner 2 **Walks in, takes a guess, no key under the coin**
    **shocked pikachu face**

    • @TheGrenvil
      @TheGrenvil 4 года назад +6

      He will be able to know it's flipped by looking at the color of a corner

    • @BeheadedKamikaze
      @BeheadedKamikaze 4 года назад +12

      @@TheGrenvil That would only tell you it's been rotated by either +/- 90 degrees

    • @drawapretzel6003
      @drawapretzel6003 4 года назад +33

      the scenario assumed the warden would attempt to interfere with you *before* you do your bit flipping, because he knows your strategy. If the warden is allowed to interfere with you *after* your bit flipping, he could just flip any coin once and change the answer.
      Your scenario is smart, but any interference would do the same thing, render it entirely impossible.

    • @seiryn3082
      @seiryn3082 4 года назад +4

      Well, it's a chess board, most of chessboards are numbered, so it's not a big deal.

    • @618361
      @618361 4 года назад

      Use an encoding where orientation doesn't matter... just in case

  • @hugobarat1352
    @hugobarat1352 11 месяцев назад +90

    Maybe we are overthinking and the solution is just like putting the coin on its side

    • @colleenforrest7936
      @colleenforrest7936 4 месяца назад +3

      Yeah, like just turn the coin 90 deg
      This solution is quantum.

    • @EdMatthewMorales
      @EdMatthewMorales 4 месяца назад

      I bet this is cheating

    • @iliakatster
      @iliakatster 4 месяца назад +3

      Of course, in a math channel where this relates to error correction, its about flipping the coin on its side, just like you can flip a bit on its side

    • @Acim248
      @Acim248 4 месяца назад +1

      ​@@iliakatsteryou dont know if it works if you never tried it!

  • @jjabrums6370
    @jjabrums6370 3 месяца назад +17

    I've never played chess, is it anything like Black Ops 3?

  • @fakestory1753
    @fakestory1753 4 года назад +178

    0:04 don't you hate when you walk into a room and a chessboard just sit there

  • @hauntedmasc
    @hauntedmasc 4 года назад +188

    Grant: "Should I make a video about x?"
    Everyone: "Yes, do that, please."

    • @azertykeys9011
      @azertykeys9011 4 года назад +3

      Isnt that the Imperial Fists logo from Warhammer 40k? With a rainbow background for some reason...?

    • @JNCressey
      @JNCressey 4 года назад +3

      @@azertykeys9011, no, the Imperial Fists' logo has an armoured gauntlet hand.
      The raised fist has been a symbol of revolt throughout history. In modern times this symbol particularly represents civil rights movements and resistance to discrimination.
      Here it's integrated with the rainbow flag which represents sexualities that are discriminated against.

    • @azertykeys9011
      @azertykeys9011 4 года назад +2

      @@JNCressey Understandable, have a nice day

  • @benjaminwarren1472
    @benjaminwarren1472 3 месяца назад +12

    Skite Innit is bringing huge traffic to this video for B03 zombies

  • @donyt4926
    @donyt4926 Год назад +91

    (Without these complex strategies)
    I think it would be really funny if the warden put every coin on heads except for tails on the key square so you can’t flip it because then they’re all heads and flipping another one would give you like a 50/50

    • @bolts3catch
      @bolts3catch 4 месяца назад +4

      That's why you always have a null bit ;)

  • @mark.fedorov
    @mark.fedorov 4 года назад +26

    I'm not in the field of math or IT, so the error correction always looked to me like magic. I would be happy to watch you explaining how it really works.

  • @ImDaRealBoi
    @ImDaRealBoi 3 месяца назад +28

    I'm sorry for the oncoming traffic of call of duty zombies fans, but we're currently undergoing a breakthrough in easteregg hunting

  • @Ch0pper
    @Ch0pper 3 месяца назад +28

    Kn44

    • @TENNOM
      @TENNOM 3 месяца назад +1

      Do you think the unsolved Giant cipher is going to be related? I’ve gotten interested in taking my shot at solving it

    • @_Epidemic_
      @_Epidemic_ 3 месяца назад

      This is poetry.

  • @derax9590
    @derax9590 3 месяца назад +17

    Anyone else here after watching the Skite Innit Impossible Easter Egg video??

  • @tinyawka
    @tinyawka 3 года назад +4

    I'm afraid 64^(2^64) is not a size of a haystack when you're looking for a needle; rather a size of the whole history of the multiverse when you're looking for a single moment of a single gluon fluctuation

  • @laurgao
    @laurgao 4 года назад +114

    You know what else is universally sexy?
    This channel

  • @narutosaga12
    @narutosaga12 4 года назад +44

    YES GRANT, WE WANT MORE VIDEOS ...ON ANYTHING! Doesn’t matter lol

    • @Jan-de-Munck
      @Jan-de-Munck 4 года назад +6

      No, more videos in the same amound of time will mean lower quality videos and we DON'T want that

  • @yinq5384
    @yinq5384 4 года назад +6

    12:45
    A (maybe) different proof:
    Let #(B) denote the number of blue vertices. Similarly for #(G) and #(R).
    #(BB) denote the number of blue-blue edges. Similarly for #(BG), #(BR), etc.
    According to the rule, the 3 edges at any blue vertex are blue-blue (BB), blue-green (BG) and blue-red (BR).
    Thus each blue vertex MUST serve as the end of ONE and ONLY ONE blue-green edge.
    Thus #(B) = #(BG).
    Similarly, #(G) = #(BG). As a result #(B) = #(G).
    Similarly, #(B) = #(G) = #(R).

    • @twistedsector
      @twistedsector 4 года назад +1

      Or just by symmetry, since there is no preferred colour

  • @The_Soul_King
    @The_Soul_King Год назад +24

    Watching this at 5AM wasn't the best idea of my life
    It felt like watching a Japanese lesson teached in Russian
    But it was still amazingly interesting !

  • @neologicalgamer3437
    @neologicalgamer3437 8 месяцев назад +2

    "... But reliable data transmission? C'mon. I think we can all agree that's universally sexy" I'm in love with this man

  • @anthonycannet1305
    @anthonycannet1305 4 года назад +13

    To answer your question of why mathematicians set their puzzles in prison, the only way to force people to play through a challenging puzzle is to remove every other possible option besides solving the puzzle. In the case of prisons, you either solve the puzzle or do nothing

  • @Rubrickety
    @Rubrickety 4 года назад +76

    July 5, 2020: Grant renames his channel to “Universally Sexy”.

  • @matthewhubka6350
    @matthewhubka6350 4 года назад +60

    You’ll be happy to know that flipping that one bit actually did turn math into meth in most binary to text encoding schemes

    • @CauchyIntegralFormula
      @CauchyIntegralFormula 4 года назад +1

      Yes, I was very happy to note that the table of 0's and 1's was the ASCII representation of "Do math!" and that the single bit flip illustrated actually turned the a into an e

    • @meghanto
      @meghanto 4 года назад +3

      I noticed that and I howled in laughter at 5 in the morning. Grant has the sharpest humour, tying in chessboards, bit flipping, math and meth in one 3 second punchline

    • @Cloiss_
      @Cloiss_ 4 года назад +2

      @@meghanto Yeah, I didn't realize that and had to look back when I saw this comment. Additionally, once the warden realizes that the prisoners have come up with a foolproof solution, the warden can at least arrange the coins to spell out "F*** YOU" which is also exactly 8 characters.

  • @Lightingstreak
    @Lightingstreak 3 месяца назад +25

    Is this the impossible Easter egg

  • @Zzzoaneua
    @Zzzoaneua 11 месяцев назад +1

    I saw a short with no solution, so I watched an 18 min video for the solution, which sends me to an another video for the solution.
    Nice 👍🏾

  • @ThisMicrophoneSoundsCheap
    @ThisMicrophoneSoundsCheap 4 года назад +55

    "I'm only gonna flip the one" - with warm, dirty fingers and touch the coin for a long time.

  • @ProtoMan137
    @ProtoMan137 4 года назад +6

    Okay, I understood the Introduction. Smooth sailing so far.

  • @RandomDucc-sj8pd
    @RandomDucc-sj8pd 3 года назад +17

    2:23
    *Him:* How do I solve this problem?
    *Me:* Just do meth!
    *Him:* WHAT

  • @DeclanMBrennan
    @DeclanMBrennan 4 года назад +2

    A gorgeous illustration of Maths as *pattern making* .
    "A mathematician, like a painter or a poet, is a maker of patterns. If his patterns are more permanent than theirs, it is because they are made with ideas." - G H. Hardy

  • @edyt4125
    @edyt4125 4 года назад +27

    Your dinner conversations must be very intriguing...

    • @avimohan6594
      @avimohan6594 4 года назад +1

      And the weddings he attends. Probably doesn't even bother to RSVP unless both spouses have at least a master's in math.

  • @PapaFlammy69
    @PapaFlammy69 4 года назад +66

    Hey :3

  • @anthonycannet1305
    @anthonycannet1305 4 года назад +6

    In the case of 3 coins there’s a simpler solution that doesn’t require math but it definitely doesn’t work for any other setup. “The key is under the unique coin” no matter what the initial setup is you can always make exactly two coins match which tells prisoner 2 that the unmatched coin has the key. This only works if you aren’t forced to flip a coin though

  • @jonathandawson3091
    @jonathandawson3091 День назад

    Thanks for sharing this puzzle-it's a really interesting challenge! I enjoyed the opportunity to think through it.
    However, I have to admit I was a bit surprised when you directed viewers to another channel for the solution. I personally prefer to keep everything within your content, as I’ve always found your videos valuable, and I wasn’t particularly interested in going to another RUclipsr’s channel.
    So I solved it myself.
    Thanks again for introducing me to this problem!

  • @zatwost
    @zatwost 11 месяцев назад +5

    How to beat:
    >tell inmate "if i flip a coin, the square under has the key"
    >inmate guesses correctly
    >we both get out

    • @tyler_smith
      @tyler_smith 3 месяца назад +1

      I'm so confused why no one is saying this

    • @OpGamerBruh
      @OpGamerBruh 3 месяца назад

      This was literally the first thing I thought.

    • @palmossi
      @palmossi 3 месяца назад +1

      🤦‍♂️

    • @zatwost
      @zatwost 3 месяца назад +1

      @@palmossi 1:12 "the two of you can strategize ahead of time" and the strategy is to say "if i flip a coin, the square under has the key". warden cant do nothing about that

    • @lefrinj
      @lefrinj 2 месяца назад

      ...because neither of you know what the board will look like when you start. How prisoner 2 can tell which one was flipped when they've never seen the board is the problem we're trying to solve.

  • @imadearisantojonathan9549
    @imadearisantojonathan9549 4 года назад +34

    FINALLY I MISS U

  • @aleattorium
    @aleattorium 3 года назад +9

    2:30 there is no error!

    • @RamenLoverYT
      @RamenLoverYT 3 месяца назад +2

      I fucking choke on my food when I read the comment😂

  • @justinsmith2363
    @justinsmith2363 4 года назад +6

    This is a really good puzzle. The choice of a chessboard is significant because it has 64 squares. But to be a truly great puzzle, all the relevant properties of a chessboard should be significant, not just the number of squares. A chessboard can be rotated 180 degrees and it will look the same. If Prisoner 2 is led into the room and he notices that the room is 180-degree symmetrical with two entrance doors, and it also so happens that the arrangement of heads and tails is similarly symmetrical (ie a palindrome when written as a sequence), then he only has a 50% chance, no matter what he has previously discussed with Prisoner 1. There is absolutely no way to know whether he is looking at the board from the same side as Prisoner 1 was. So it's a choice between square x , and square (63-x), and those can't be the same square. So to solve the problem, Prisoner 1 would have to never leave a palindrome. He can certainly avoid leaving a palindrome, but that removes some of his options, and he doesn't have any spare options. Therefore the problem, as presented, really is impossible, after all.

    • @gamespotlive3673
      @gamespotlive3673 Год назад +3

      Chessboards are actually often annotated with letters and numbers along the sides.

  • @LiesOfPiss
    @LiesOfPiss 3 месяца назад +10

    Who’s here to solve some the secret Zombies Easter egg!!!

  • @lifequake
    @lifequake 4 года назад +1

    Loved this puzzle. I came up with two related puzzles (both solvable).
    #1: Same goal and constraints, but the board is 6 x 6 with a D6 in each square. To communicate the special square to your partner, you must advance just one die by just one pip. (Advancing a 6 means bringing it back to 1). This can also be done with any board where the number of squares is a power of the number of possible states for each square. Advancing one square by one state (with wrap-around) is all you need.
    #2: The warden is going to give you a row of stacks of coins with the tiny key hidden beneath one of the stacks. You do not know in advance how many stacks there will be in this row or how high each stack will be. You have to communicate to your partner which stack hides the key by just placing a single additional coin on one of the stacks. You can discuss strategy in advance, but warden gets to listen and try to thwart.

  • @JY0002
    @JY0002 3 месяца назад +9

    black ops 3 impossible easter egg hypercube brought me here

  • @drpkmath12345
    @drpkmath12345 4 года назад +11

    Wow fantastic video for sure! Many of the puzzles or so called IQ test type math problems are so interesting to try!

  • @dimitridimitri6994
    @dimitridimitri6994 4 года назад +26

    @1:30 yeah, totally, that's how any wedding conversations i had go.

    • @ahsnsb
      @ahsnsb 2 года назад

      Lol i thought the same

  • @ahuhu
    @ahuhu 4 года назад +34

    I'm wondering if doing math on the drive home can be classified as driving under the influence

  • @mediumbob4735
    @mediumbob4735 3 месяца назад +1

    I love the answer someone gave where he said wait 8 years, flip the coin where the key is. Prisoner two comes in the room and sees dust on all the coins except 1. He knows that was the coin that was flipped and that’s where the key is. Took 8 years for freedom but when you’re serving life, that’s a drop in the bucket.

  • @oldfortnite121
    @oldfortnite121 3 месяца назад +10

    who's here after Skites vid🤓☝🏽✨❤️

  • @AwesomepianoTURTLES
    @AwesomepianoTURTLES 4 года назад +25

    I’m a simple man. I see a 3B1B video, I click like.

  • @OriginalBiroboy
    @OriginalBiroboy 4 года назад +9

    Love the high-D visualisation. My first though on the puzzle was also Hamming codes, but I couldn't get my head around the application to this particular problem. As a visualisation, it makes SOOOO much more sense! I'd love to see one that's more dedicated to Hamming, I'd love to see how you apply your visualisations to the question of overall packet length vs. number of correctable bits.

  • @ermkindofcringe9401
    @ermkindofcringe9401 3 месяца назад +21

    but how does this solve bo3 zombies

    • @palmossi
      @palmossi 3 месяца назад

      This video is not about “bo3” zombiesd

    • @ermkindofcringe9401
      @ermkindofcringe9401 3 месяца назад +1

      @@palmossi yeah thats what they want you to think

    • @palmossi
      @palmossi 3 месяца назад

      @@ermkindofcringe9401 ?

    • @palmossi
      @palmossi 3 месяца назад

      @@ermkindofcringe9401 who’s “they”

  • @Malaphor2501
    @Malaphor2501 3 года назад +1

    I like that coloring the hypercube is basically color the diagonals. Elegant.

  • @julesr2143
    @julesr2143 4 года назад +4

    I can hardly find appropriate words to describe the quality of your work on RUclips... It's just astonishing and breathtaking ! You explain beautifully clearly and concretely ideas I would never have thought of myself and it just opens up to me a new way to see things, in math, science or more generally in real life ! I sincerely thank you for inviting me so cheerfully in such wonderful mental experiments !

  • @viralshanker3531
    @viralshanker3531 4 года назад +7

    It's seriously awesome to see a new video by you! I know it will be fascinating and make me think. Thank you for your wonderful work :D

  • @EarlyBitcoiner
    @EarlyBitcoiner 3 месяца назад +4

    You just have to wait until all coins get covered by dust and flip the one where the key is

  • @Fritzafella
    @Fritzafella 3 года назад +6

    16:47 I love how you are displaying a 4D object by using a 3D rendering of it, but you have to do that on a 2D surface.
    Now I wonder if there would be a way to render a 5D object in a few decades when we have access to truely 3D Holograms. It would still really mess with our heads and it wouldn't really work since we basically already see a 2D image anyway. Our brain just does a really good job at faking depth (Having a second eye helps though too).
    And yes I spent way too long trying to think of a way to render a Cube on a Line. Sadly it doesn't even make sense...

    • @ManioqV
      @ManioqV 11 месяцев назад

      And we're using our 1D brains to understand that.

  • @nav2617
    @nav2617 Год назад +1

    9:00 .... i have a view to share.... so 101 or 010 don't work if the key is in 0s or 1s respectively... then we can make another simple strategy along with the existing one
    i.e. ... We can say that for the case of 101 and 010, Prisoner 1 will flip a coin leaving the square with the peice as the odd one out...
    For Ex. ... in case of 101, if the key is in either of the 1s.. then prisoner 1 can turn the 1 without the key to 0. So that it become 001 or 100 .. and in this, 1 is the odd one out....

  • @siddharthannandhakumar6187
    @siddharthannandhakumar6187 Месяц назад

    In each of your videos, every doubt I come up with in the earlier parts of the video are explained in the later parts... That's impressive!

  • @joryjones6808
    @joryjones6808 4 года назад +28

    2:43 why can't I do meth and math.

  • @TR_Conqueror
    @TR_Conqueror 4 года назад +14

    Dont know why I watched all of this while not understanding a word of it.

  • @Fauzan1812
    @Fauzan1812 4 года назад +23

    Grant Sanderson talks about more intelligent thing at someone's wedding than me at school

  • @soupremechickn
    @soupremechickn 11 месяцев назад +1

    easy. pick up the coin with the key under it, open the compartment, take out the key, close the compartment, set the coin back down on the other side, and set they key on the chessboard.

  • @dehb1ue
    @dehb1ue 4 года назад +2

    I loved Matt’s description of the puzzle as coming up with the worst error correcting code ever. I would love to see another video on it.

  • @tomkerruish2982
    @tomkerruish2982 4 года назад +38

    I remember encountering error-correcting codes in grad school when I TA'd a class in it. If you do a Hamming code video, would you please include the (binary) Golay code?

    • @cryme5
      @cryme5 4 года назад

      No way Golay codes would be amiss! There should also be a video on packing spheres in dimensions 1,2,8,24!

  • @jeroenrl1438
    @jeroenrl1438 4 года назад +130

    Q: Why do mathematicians alwys set their puzzles in prisons?
    A: An hommage to Alan Turing.

    • @itisALWAYSR.A.
      @itisALWAYSR.A. 4 года назад +21

      :(

    • @wilddogspam
      @wilddogspam 4 года назад +21

      If that was the case, you would still be in jail after finding key.

    • @octowuss1888
      @octowuss1888 4 года назад +11

      Alan Turing didn't go to prison. For the "crime" of being gay, he was pressured into undergoing "chemical castration" to avoid prison time. This treatment undoubtedly contributed to his depression and suicide. Not sure why so many people liked your "joke" - it's pretty shit.

    • @b.clarenc9517
      @b.clarenc9517 4 года назад +2

      @@octowuss1888 You're that guy who is never invited to weddings, right?