Can you crack the face-down card game?

  Рет қаралды 151,742

Stand-up Maths

Stand-up Maths

Күн бұрын

You can enter the submittable part of the puzzle at www.think-math...
I wasn't kidding, this is where almost all of my t-shirts come from:
ugmonk.com/col...
Thanks to my co-host Matt Parker.
Huge thanks as always to my principle channel sponsor Jane Street!
www.janestreet...
And much thanks to Deanna and Oliver who are now helping us run Matt Parker's Maths Puzzles. Deanna is making the massive sacrifice of giving up her place near the top of the leader board!
CORRECTIONS
- Nothing yet. Let me know if you spot anything!
Thanks to my Patreon supports who do support these videos and make them possible. Here is a random subset:
Sarah Gerweck
Baadrix
Derek Chandler
Fernando Gaete F.
Brandon
Alan Flett
Richard Fourie
Elaine Hewitson
Ahmed Hindawi
Alan McNea
Support my channel and I can make more videos:
/ standupmaths
Filming and editing by Matt Parker and Matt Parker
Music by Howard Carter
Design by Simon Wright
MATT PARKER: Stand-up Mathematician
Website: standupmaths.com/
US book: www.penguinran...
UK book: mathsgear.co.u...
Nerdy maths toys: mathsgear.co.uk/

Пікірлер: 683
@IanXMiller
@IanXMiller 4 жыл бұрын
Two Matts = a Parker Squared
@NunuBot
@NunuBot 4 жыл бұрын
If you multiply them ( ͡° ͜ʖ ͡°)
@petercarter5574
@petercarter5574 4 жыл бұрын
Or work in an additive group.
@tinynewtman
@tinynewtman 4 жыл бұрын
It's a Matt by a Matt.
@leefisher6366
@leefisher6366 4 жыл бұрын
Ian Miller: There is only one Matt Parker, and one squared is still one. So, yes, you're absolutely right. Two of them is indeed a PARKER SQUARE(D)
@rikschaaf
@rikschaaf 4 жыл бұрын
@Carey Hunt He wished he was an octagon, but he's just a boring square
@cosmicjenny4508
@cosmicjenny4508 4 жыл бұрын
“The one person I still am allowed to have visit and do mathematics with...” Aww, it’s gonna be his wife, isn’t it? “...is me!” Oh.
@zylo4029
@zylo4029 4 жыл бұрын
I thought the exact same thing
@theunknown4834
@theunknown4834 4 жыл бұрын
the relationship between his wife and him must be bad or his wife's relationship with maths
@andrewf8366
@andrewf8366 4 жыл бұрын
@@theunknown4834 Isn't his wife a physicist? I doubt that's the issue. It's just a joke.
@theadamabrams
@theadamabrams 4 жыл бұрын
Having seen the DVD Unboxing Video kzbin.info/www/bejne/eJ_RnnRooNF1hJo (same shirt!!) and his recent Palindromic video kzbin.info/www/bejne/apeokKaOj8-rpMk , I actually saw that one coming. But it's still good.
@Gakulon
@Gakulon 4 жыл бұрын
Off-topic, but cool profile pic!
@aqueousone
@aqueousone 4 жыл бұрын
Can’t be more socially distant than to be separated in time.
@nowonmetube
@nowonmetube 4 жыл бұрын
You mean like he's the real life Piccolo? Smart and can split himself
@charlesdick1133
@charlesdick1133 4 жыл бұрын
Deep
@jeffreyblack666
@jeffreyblack666 4 жыл бұрын
But how many seconds is equivalent to 2 m?
@nowonmetube
@nowonmetube 4 жыл бұрын
@@jeffreyblack666 do you count in planck length or in lightspeed?
@sigmond_meliamne
@sigmond_meliamne 4 жыл бұрын
Except if someone infected touches a surface without clean hands, then someone else touches the same surface before the virus becomes inert.... Even if they never came near each other, the problem still exists...
@pyglik2296
@pyglik2296 4 жыл бұрын
Plot twist: Matt REALLY DOES have a twin brother, but he keeps him in secret for videos like this.
@phjorland
@phjorland 4 жыл бұрын
A Parker Twin. Not really a twin but almost
@mybigbeak
@mybigbeak 4 жыл бұрын
It's just so sad to know that when Matt B dissapears he's falling into a tank of water.
@jeroenrl1438
@jeroenrl1438 4 жыл бұрын
@@mybigbeak I just saw The Prestige yesterday *finally*, wanted to say something like this.
@flikkie72
@flikkie72 4 жыл бұрын
half of the videos can be matt 1 and the other half can be matt 2!
@unperrier5998
@unperrier5998 4 жыл бұрын
and his twin seems smarter!
@jaredarnell
@jaredarnell 4 жыл бұрын
Can we all just appreciate the editing on the toss at 2:30 for a moment?
@DaviddeKloet
@DaviddeKloet 4 жыл бұрын
I don't think the toss itself needed editing. He probably just moved the split between the 2 videos and then left the cards there for the second take. But very clever.
@Parax77
@Parax77 4 жыл бұрын
Can you see that the toss (left) was filmed first so the pickup (right) is filmed afterwards, and so left was filmed before right, hence layout of the cards on the right is actually occurring after matt on left has already called the answer correctly..
@aqueousone
@aqueousone 4 жыл бұрын
Parax77 which only makes the whole thing more amazing because how could left(past)-Matt possibly have known what the card layout on right(future)-Matt’s table would be?!!! Coincidence? Not likely!
@R2Cv1
@R2Cv1 4 жыл бұрын
@@aqueousone matt already knew he would only turn the second card over...
@Ze_No_One
@Ze_No_One 4 жыл бұрын
when right parker collected the cards he put the ace on top, then after throwing them off screen, left parker picks 4 cards up with the ace on the bottom, a hint for how he did it xP
@KC-qm6jw
@KC-qm6jw 4 жыл бұрын
The timing of this is masterful.
@vivianrobert8224
@vivianrobert8224 4 жыл бұрын
Masterful! And the passing of the cards!
@MuscarV2
@MuscarV2 4 жыл бұрын
@@DeVibe. you're idiots, it's far from hard to understand how he did that... It's kids play really.
@SuperDeadknife
@SuperDeadknife 4 жыл бұрын
@@MuscarV2 go on then
@terthancococoal2729
@terthancococoal2729 4 жыл бұрын
@@MuscarV2 u are such a fool No brain in that head of your fool
@R2Cv1
@R2Cv1 4 жыл бұрын
The most hilarious part would be if the first Matt disappeared after the clap and the second took his place.
@webrosc
@webrosc 4 жыл бұрын
i was half expecting that to happen
@Breifcaseguy1
@Breifcaseguy1 4 жыл бұрын
Or a third appeared between them
@sahilnaik3079
@sahilnaik3079 4 жыл бұрын
What if the one who clapped did make the first one disappear and took his place.
@MrTyler918273
@MrTyler918273 4 жыл бұрын
Yea, and then that right Matt could move over and pick up the cards on the left of the table to continue on. That would have worked seamlessly with how he did the other edits already so its quite the missed opportunity.
@EvenTheDogAgrees
@EvenTheDogAgrees 4 жыл бұрын
Yup, that's what I would've gone with. I mean, in an alternate reality where I'm not too lazy to shoot YT videos, obviously. ;)
@Dywindel
@Dywindel 4 жыл бұрын
Parker victory: Even when you win, you still lose.
@Nylspider
@Nylspider 4 жыл бұрын
The Parker win
@wynchell.abanes
@wynchell.abanes 4 жыл бұрын
@@Nylspider we need this to be another going thing.
@aleschudarek4672
@aleschudarek4672 4 жыл бұрын
How the hell did you do the card pass on??? That was seamless! Like I get that It's two separate takes, one of the left Matt and one of the right Matt... But what is weird is, that Matt 1 (Left) passes cards to Matt 2 (Right) and without a cut he takes them back... I guess, Matt 2 moved away, so Matt 1 could throw the cards on the table (for an easy transition), but that means, that those cards for Matt 1 stayed on the table for the whole time... So how could he then take those exact cards from off the screen... My guess is two stacks of similar cards. One for the first game that got left on screen on the table and one that was hidden off the screen. Really good job there. Clever and perfect use of editing.
@aleschudarek4672
@aleschudarek4672 4 жыл бұрын
After some close inspection you can see, that the stack that Matt 2 throws off the screen is sorted A of diamonds, 4 of spades, 6 of diamonds and 4 of diamonds. And the one that Matt 1 picks up is sorted 4 of diamonds, 4 of spades, 6 of diamonds and ace of diamonds. So either you have real magic fingers or I got you :D. PS: It took me like 10 mins... Just to find the answer :D
@1Resare
@1Resare 4 жыл бұрын
Right Matt never puts his hands between the table and the camera. That is because up to the point where the right Matt picks up the cards, the table is shown fully from the left Matt's take. While right Matt is guessing, the cards are already waiting in front of him, hidden by the edit. Notice that after the right Matt goes away, the left Matt stays on the left, instead of taking up the whole table for the explanation. That is because the cards he threw there earlier are hidden by the edit, and waiting for the right Matt to start his take. Left Matts take > cards passed to the right > acting out the remainder of the left script > switching to the right, careful not to disturb the table > playing out the right Matt guessing game > picking up the cards > acting out the remainder of the right script > edit.
@AthAthanasius
@AthAthanasius 4 жыл бұрын
There's blur on YT as the cards are thrown. But after that nothing else happens. My thought was that left hand (as we view) Matt was recorded first, then for the right hand Matt there's a wipe from "no cards there" to the cards that were there all along as they get thrown from left hand Matt. The other possibility is that there's a wipe to a second throw of the cards that happens at the right point in fight hand Matt's recording.
@Ebeeto
@Ebeeto 4 жыл бұрын
I, too, was flabbergasted at first. I didn't even consider the two takes being back to back and the same exact stack of cards being picked up by later-Matt. It is ingeniously done, though. And it makes it required that both takes go perfect since disturbing the stack of cards and then having to redo the "right Matt" part would mean having to redo the throwing of the cards, which means redoing the whole "left Matt" part. This was all very impressive.
@pekuja
@pekuja 4 жыл бұрын
I also definitely think Matt 2 never touches the table before picking up the cards, and the cards are in fact there the whole time left over from Matt 1's take, just edited away. As additional proof of this I noticed that when Matt 2 does put his hands on the table, you can see a horizontal line going through his hands. That seems to be an artifact of the editing. Why they couldn't get rid of it, I don't know, but it might even be left in on purpose as a subtle clue.
@VinTheFox
@VinTheFox 4 жыл бұрын
*blinks at **2:33* ...You're getting really good at this.
@fuuuuuuuguuuuuuu
@fuuuuuuuguuuuuuu 4 жыл бұрын
It's so good I geniunly thought he hid a twin brother for all those years
@zerosumgame9071
@zerosumgame9071 4 жыл бұрын
How did he do it
@edwardbarton1680
@edwardbarton1680 4 жыл бұрын
First he films the left side (from our perspective). When he picks up the cards later (that "other Matt" tossed off-screen), it's a different set of cards. The original cards are actually laying on the right side of the table for the rest of the left side shoot. Then he films the right side. Once the cards are tossed to "other Matt", the right side of the table is from that shoot.
@nowonmetube
@nowonmetube 4 жыл бұрын
I didn't even blink!
@DerNesor
@DerNesor 4 жыл бұрын
@@edwardbarton1680 I think second Matt very purposefully never lowers his arms to obstruct the "green-overlay" on the table. once he moves aside , the screen shifts a bit to show the entire throw at which point the thrown cards match up in both videos and the right side can be taken as footage again. So I think the cards in the right shot are there the entire time.
@itwasinthispositionerinoag7414
@itwasinthispositionerinoag7414 4 жыл бұрын
Next level editing skills!
@Gold161803
@Gold161803 4 жыл бұрын
I was expecting: "Matt is in the lead" "Wait, which Matt?" "Parker."
@policarpo4816
@policarpo4816 4 жыл бұрын
”I would like to show you a card game that you can play with a friend, although I’m not allowed to have… friends”
@recklessroges
@recklessroges 4 жыл бұрын
This game works over the phone, (or other near real time communication system.)
@alexandertownsend3291
@alexandertownsend3291 4 жыл бұрын
So are enemies or frenemies allowed?
@vincenturquhart1370
@vincenturquhart1370 3 жыл бұрын
Yeah yeah because i totally have friends even when there isnt a lockdown
@f1urps
@f1urps 4 жыл бұрын
Matt, I would absolutely LOVE to see a behind-the-scenes video for how you are able to script and record such realistic-sounding conversations with yourself
@ilrompiscatole5414
@ilrompiscatole5414 4 жыл бұрын
Due to the scarcity of new productions this could end up winning the oscar for best special effects 😂 Awesome timing by the way 😄👍
@bluerizlagirl
@bluerizlagirl 4 жыл бұрын
There are sixteen possible combinations of face-up and face-down cards, and we know that the cards are not in the winning position to begin with; so you only have to try at most fifteen moves, each one resulting in a different combination of face-up and face-down. This can be done using a Gray code.
@TheNikitos93
@TheNikitos93 2 жыл бұрын
Wow, the production and coordination on this video is amazing!
@benjaminhackett8896
@benjaminhackett8896 4 жыл бұрын
“So Matt is in the lead!” Which one? No, not which, both. Both of them? Both of them. How? By equality.
@YourCrazyOverlord
@YourCrazyOverlord 4 жыл бұрын
Can we all just appreciate the truly next-level script and reaction timing to get the first half in a seamless take?!
@cmuller1441
@cmuller1441 4 жыл бұрын
SOLUTION : We need at most 2^n - 1 flips. (n the number of cards) Just think we are in binary and have at least one "1" in the binary number (number of bits=number of cards, 1= face up). Let's call the original position "O". The flips are represented by another number "F" that starts at all zeros. The current state is O xor F. We have to brute Force all possible F until we find the solution ie O xor F=0. The trick is to use gray code to enumerate all possible values changing one bit at a time. en.m.wikipedia.org/wiki/Gray_code
@EwanMarshall
@EwanMarshall 4 жыл бұрын
And some people would like to work it out :D
@trgdr777
@trgdr777 3 жыл бұрын
As a video editor, I giggled when I got to 2:32. Well played, sir.
@randomVimes
@randomVimes 4 жыл бұрын
The radiating joy of Matt when he gets to do this is very adorable! :)
@douglasgriffin694
@douglasgriffin694 3 жыл бұрын
That was a genuinely impressive level of coordination
@panirys1226
@panirys1226 4 жыл бұрын
That moment when he passed cards was fabulous! Such a natural flow
@bg6b7bft
@bg6b7bft 4 жыл бұрын
There's a harder variant of this game. Put all four cards on a lazy susan, in a square. The guesser calls out cards to flip as "top left" "bottom right" etc. You don't have to answer after each flip, just whenever the guesser asks. If they ask, and the answer is no, you may spin the lazy susan. They then call out to flip more cards, which you flip by how the cards are now positioned after the spin.
@Gunstick
@Gunstick 4 жыл бұрын
Intuitively I would just dump a gray code (reflected binary) onto the problem.
@MAlanThomasII
@MAlanThomasII 4 жыл бұрын
I don't know the answer yet, but the maths about the complexity of finding the answer via exhaustive searches is actually quite interesting! 1. Create a tree whose root node has a value 'R' equals the number of possible starting combinations. 1a. If you're doing "up or down" rather than just "down," sets that are up/down mirrors of each other have identical solutions, so we can discard half of the starting combinations in this instance. (Modify R likewise.) This doesn't mean that the solution will be cut in half, but the complexity of finding it will be because you only have to do each operation on half as many sets. 2. Create as many branches as there are cards. For clarity, label them with the position of the card to be flipped. That's right, brute-forcing the search for a solution creates an N-ary tree, where N is the number of cards! Except it isn't. (See below.) 3. For each branch, calculate the state of each set of cards if you were to flip the card indicated by the branch's label. For each set that reaches a completed state, delete that set and decrement R by 1. Give this node the value of R and the state of the remaining sets. ("R" stands for "Remaining sets.") 4. Continue this search BREADTH-FIRST. The solution(s) is/are the shallowest node(s) with value "0" and the route to that/those node(s), so searching any branch shallower than the solution is insufficient and deeper than the solution is inefficient; thus, you want a search pattern that evaluates all branches to the same depth. 4a. HOWEVER, do NOT include a branch that represents flipping over the same card twice in a row, as this creates a loop. A loop is inherently less efficient than any other path running through that node, so it will not contain the solution. Thus, brute-forcing the solution is actually searching N trees of N-1 arity. 4b. If you want to abandon the tree model and just do a directed graph, after each node is calculated you can check if it's identical to any other node. If so, connect them and stop processing that branch. (If the node being duplicated is shallower than the latest node, this branch will not contain the solution. If the node being duplicated is at the same depth, it might represent convergent solutions. If both nodes are value "0," they represent independent solutions. If the node being duplicated is deeper than the latest node, you haven't followed the directions.) However, this might or might not be more efficient than simply continuing the search; it depends on how far you are from the solution. BONUS TREE: You can brute-force search for the all-down solution in the opposite direction! Do this by starting your tree with all cards face down. Construct the tree as previously, except for each node record the state the cards are currently in AS WELL AS all of the previous states to get to that node. Once you have accumulated all potential starting states of the cards, you have a solution (although possibly not the only one). Take the solution(s) with the shallowest depth and play the path from them back to the root node for the actual solution.
@davidadcock7981
@davidadcock7981 4 жыл бұрын
Beautiful script, execution, and edit. You, sir, are a genius. Best picture.
@jek__
@jek__ 4 жыл бұрын
This video was good, well edited and funny with the doppelganger The most confusing face-down card game I know involves putting a double faced card onto the table face down and not face up. Physically it is impossible, but logically you just need to have virtual faces that can be flipped out of and not flipped back into
@abdaniel487
@abdaniel487 4 жыл бұрын
This is really impressive editing, Matt. Good work!
@dracuul78
@dracuul78 4 жыл бұрын
Your videos are always worth watching; for their mathematical content, but definitely also for the technical complexity you put into them. I'm truly amazed how you recorded that and made it look so natural, with all the listening head nods and reactions, and even a casual deck toss to the other side. Looking forward to the next one!
@RandalLSchwartz
@RandalLSchwartz 4 жыл бұрын
To cycle through binary flipping one bit at a time, the simplest is using grey-code flips. For 4 items: 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1. For 5 items: 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1, 5, 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1. Eventually you'll hit it.
@esotericVideos
@esotericVideos 4 жыл бұрын
Not gonna lie, the 2:30 hand-off trick was pretty impressive.
@leroidangleterre
@leroidangleterre 4 жыл бұрын
I really like the editing with the interaction with the two of you.
@angelowentzler9961
@angelowentzler9961 4 жыл бұрын
"Filming and editing by Matt Parker and Matt Parker"
@nicnakpattywhack5784
@nicnakpattywhack5784 4 жыл бұрын
i am more amazed on how you got both videos PERFECTLY TO THE NEAREST PIXEL lined up.
@AdroitConceptions
@AdroitConceptions 4 жыл бұрын
4 bit grey code can go through all possible combinations in 15 flips, so 15.
@esquilax5563
@esquilax5563 4 жыл бұрын
There are 15 combinations, but can you go through them all in 15 bit flips? For example, going from 0001 to 0010 takes 2 flips
@Pfooh
@Pfooh 4 жыл бұрын
@@esquilax5563 Gray code.
@K-o-R
@K-o-R 4 жыл бұрын
@@esquilax5563 Yes, but that also hits/eliminates 0011. You "count" in an non-standard way.
@JWentu
@JWentu 4 жыл бұрын
Of course someone said "Gray" before me...
@1Resare
@1Resare 4 жыл бұрын
JWentu It’s funny that it is an insight joke, until you generalize an answer.
@_ten
@_ten 4 жыл бұрын
I'm honestly amazed at the synchro between the two Matts.
@1Resare
@1Resare 4 жыл бұрын
Martin I believe that the sound of first take is played during the second. Matt is careful to only talk over the other take when it is scripted. During edit the audio from the first take can be seemingly edited out by unmuting the second take only during the silence of the first.
@aikimark1955
@aikimark1955 4 жыл бұрын
It's like Mastermind, but with less detailed feedback
@gabemerritt3139
@gabemerritt3139 4 жыл бұрын
Only have to get the order not the color so it doesn't need as much info
@trash3719
@trash3719 4 жыл бұрын
I love when you make two of you. I know it's hard work to time things and the result is amazing!!
@VorpalGun
@VorpalGun 4 жыл бұрын
I would love to see the behind the scenes of this video production. Very impressed with you nailing the timing.
@michaelkallista5913
@michaelkallista5913 4 жыл бұрын
This would have been so much harder to pull of than most people would realize. Very well done. Anyone who has played with video production would be like me and not car about the card game but purely focus on the production and editing techniques used 😂
@joedixon5577
@joedixon5577 4 жыл бұрын
The amount of effort in this video is ridiculous! I love it
@martinconrad9260
@martinconrad9260 4 жыл бұрын
BRILLIANT editing!
@rossgirven5163
@rossgirven5163 4 жыл бұрын
Passing the cards to yourself at 2:33 was a neat trick. Easy to do but effective. What stumped me was when Matt 1 picked the same cards up from off camera at 3:03 after Matt 2 had already played with them.
@noreply5576
@noreply5576 4 жыл бұрын
He reached out of frame, pretty sure it's a duplicate set of the same cards.
@kylewollman2239
@kylewollman2239 4 жыл бұрын
I've never seen Matt be quiet for so long in any of his videos. This must've been torture for him.
@ilan5821
@ilan5821 4 жыл бұрын
This was all 1 cut (technically two cuts, one for each matt) and you managed to make the conversations make sense with the right timing, AND that card pass was seamless like damn you're good at editing
@pbenikovszky1
@pbenikovszky1 4 жыл бұрын
2:33 what a cut!!!
@TopSpot123
@TopSpot123 4 жыл бұрын
Brain breakingly well done. Added shadow to your arm too, and the card toss. Exquisite. Not to mention the perfection of the performance(s). Oh, and a neat puzzle too!
@mjswart73
@mjswart73 4 жыл бұрын
I would really love to see a behind the scenes on this. Perfect for your channel 2?
@devoltar
@devoltar 4 жыл бұрын
The brute tactic would be an electrical engineering class basic - Gray code! mathworld.wolfram.com/GrayCode.html - That gives you the order to cover every possibility in single moves. Similar to binary but out of order to make every step a single bit flip. Since all cards face down isn't an option, the minimum number to cover all combos is 2^n-1 where n is the number of cards. (15 for 4).
@paulw987
@paulw987 4 жыл бұрын
I think it should be 2^n-1. Curiously, at n = 4, you get the same value either way, namely 15.
@JamesExplains
@JamesExplains 4 жыл бұрын
@@paulw987 That's a good point!
@devoltar
@devoltar 4 жыл бұрын
@@paulw987 correct, that was a typo.... edited :-) cheers
@movax20h
@movax20h 4 жыл бұрын
3:59 Sounds like a Gray Code. Let see.
@МаксимЯромич
@МаксимЯромич 3 жыл бұрын
When everyone forgets about the card trick and wonders how Matt was able to make the video xD
@KitcatEatsCatnip
@KitcatEatsCatnip 3 жыл бұрын
amazing editing
@moonlightcocktail
@moonlightcocktail 4 жыл бұрын
This is the first time I have been this early... I'm going to think about how this puzzle works. The answer is 15. Generally, it is 2^n - 1. For 1 card it's certain that you have 1 turn, and for 2 cards you have a maximum 3. My solution involved writing the state of the cards as a binary string, with "1" corresponding to a face-up solution. Then the flipping of cards corresponds to changing the bit-state of one of the bits. If we further translated the bits to decimal notation, we would have a number between 0 and 15. Flipping would correspond to addition (or subtraction) of a 2^x-1 where x would be the position of the card. Some things I would like to note: The 15-step solution doesn't depend on the fact that after each turn we are given a response, because its property is that no matter what the original state of the cards were, at some point in the 15 steps it will become certain that all cards are down. I originally thought that the information in the response we were given could help further optimize the process, but this doesn't seem to be the case. Also, I can't verify this, but I have a strong suspicion that for C cards there are C*(C-1)^((2^(n-1))-2) unique solutions of length 2^n - 1. Technically there are half as many, but the reverse of a solution is also a solution, so I didn't halve my answer.
@Parax77
@Parax77 4 жыл бұрын
almost! you don't need the zero position.. so count to 15.
@moonlightcocktail
@moonlightcocktail 4 жыл бұрын
@@Parax77 thanks! I now have a 15-step solution. It's probably not the only existing one, but... I have some notes: 1. For N cards, the solution has 2^N -1 steps. 2. There exist S unique solutions, where S is a term that contains N!... somewhere. 3. My solution corresponds to the ordering of numbers 7 3 1 0 8 12 14 6 2 10 11 9 13 5 4. Each unique solution corresponds to some ordering as well. Only some ordering ( better word would be permutations ) of 0 - 14 is a solutions hence why I said that thing about N! I'll write more about this tomorrow, since It is 00:28 in my time zone.
@sighmon5640
@sighmon5640 4 жыл бұрын
just counting in binary doesnt give you the optimal path, as you would have to flip over multiple cards at once to go from say 1 to 2 (or 001 to 010). does your 15-step solution account for this?
@moonlightcocktail
@moonlightcocktail 4 жыл бұрын
@@ffsnipe8298 Hello. I have a somewhat unrelated comment. I tried to find a good way to visualize the transformations, so I drew the points 0 to 15 evenly spaced on a large circle, and used lines to draw transformations. The result looked like a cool double fan pattern. Nothing particularly important I just thought it was cool. I'm going to expand this to higher powers of 2, and see if an analogue exists for different bases. Also it feels eerily familiar to the Mathologer video about the cardiods
@SwapnilV
@SwapnilV 4 жыл бұрын
All possible combinations is like 4 bit binary. so total possible combinations 2^4. The maximum iterations will guessing every binary number by flipping only where the bit is 1. If by doing that is not the solution then we need flip the same again and then try the next binary number until we get a solution. So the maximum iterations X required to get a solution is X=((2^4)*2)-1
@ZweiSpeedruns
@ZweiSpeedruns 4 жыл бұрын
for the 3 card puzzle with all face up excluded: the optimal solution is 121321. The same mathematics don't quite work out the same way, so finding this sequence is something I actually found more difficult than the actual puzzle.
@AA-100
@AA-100 Жыл бұрын
1,2,1 guarantees a 3 move solution, either all cards face up or all face down
@Tentaclear1
@Tentaclear1 4 жыл бұрын
For anyone wondering about 2:33, I’ll try to offer an explanation. The lighting in the video is very flat, to make the editing work since you can’t see shadows clearly. What happens is Matt 2 moves to the side so that the point of the “split” between the 2 takes is now closer to the right, instead of the “split” being in the middle of the screen. So when Matt 1 throws the cards, they land normally and Matt 2 picks them up and continues on. During the entire take for Matt 2, the cards are edited out and hidden until 2:33, when they’re made to reappear exactly at the time of the throw. TLDR, the cards were invisible on the table the whole time until 2:33
@yaksher
@yaksher 4 жыл бұрын
@2:55 Okay, well, the obvious and painstaking solution is to iterate over every combination of flipped or not from the initial. i.e. Flip 1, flip 1, flip 2, then 1, flip 1 and 2, flip 3, etc. Basically, by flipping individual bits count to 2^N - 1 where N is the number of cards. I don't think you can do any better without psychology.
@kamatikos
@kamatikos 4 жыл бұрын
Last semester, I wrote a blind-search algorithm that solves 8-tile puzzles, which can be formulated as equivalent to this puzzle. However, due to the massive state-space, a large number of states can't be navigated to a solution due to being practically intractable.
@edmundwoolliams1240
@edmundwoolliams1240 Жыл бұрын
The best opening would have been: “To play this I need to have a friend, but the problem is I have no friends - y’now, mathematicians and friends, don’t really mix...”
@sly1024
@sly1024 4 жыл бұрын
It's called gray code, and you need 15 moves: en.m.wikipedia.org/wiki/Gray_code
@bsharpmajorscale
@bsharpmajorscale 4 жыл бұрын
He's really good at playing off of himself, I feel like he could host a maths show with a wacky maths-themed CG sidekick/mascot.
@unperrier5998
@unperrier5998 4 жыл бұрын
Basically it's a game of mastermind but much more limited: 4 pegs of only 2 colors and we only know whether they're all 4 of the right color.
@WebberJason
@WebberJason 4 жыл бұрын
Really slick editing Matt
@rix0rrr
@rix0rrr 4 жыл бұрын
That is some amazing split camera game! Top notch!
@kenhaley4
@kenhaley4 4 жыл бұрын
Twin video was very clever. Especially the part where the cards are passed from Matt 1 to Matt 2. No break in continuity--well done!
@SarahScratches
@SarahScratches 4 жыл бұрын
me: They are wearing the same t-shirt... *awkward* them: Nice t-shirt!
@Kyrelel
@Kyrelel 4 жыл бұрын
Men are not bothered by such things, whereas women would lose their shirt (did I spell that correctly?)
4 жыл бұрын
I've just seen this video. I know I'm out of schedule so I don't mind answering here. My intuition is that the number of maximum moves is (2^n)-1, done in that way you can do all binary numbers in a row just changing a digit from one to another. So, with four cards that would be a maximum of 15 moves.
@sk8rdman
@sk8rdman 4 жыл бұрын
So far I've gotten to every one of these puzzles too late. SPOILERS BELOW! For this puzzle one key insight is to think of the arrangements of cards like a binary number. In this case, it is 4 bits, so a total of 16 possible arrangements. Of course, we have to exclude 0 and 15, so a total of 14. Next you have to realize that to solve the puzzle you simply need to find the arrangement that is the inverse of the starting arrangement. To do this, develop a series of flips that visits all 14 possible combinations. You might need to visit some arrangements more than once, but 14 moves should be a lower bound for the minimum. Because of this problem's connection to the traveling salesman problem, It may not be simple to prove a solution for higher numbers of cards. It may be similar to the super permutations problem in that regard.
@AA-100
@AA-100 Жыл бұрын
15 is actually included as having all cards face up is allowed as a starter. This also creates an upper bound for the mininum of 4 turns
@Kinglink
@Kinglink 4 жыл бұрын
"This is interesting." Tosses the card to the other side. "Bah ok, that's clever, but he just tossed it and then later had the other take use those cards..." Takes the cards back. "HE'S A WIZARD!!!!"
@tzisorey
@tzisorey 4 жыл бұрын
This is basically just like when you're using a superpermutation to try every possible garage door remote code in 11 seconds, right?
@michaelalexanderparente9128
@michaelalexanderparente9128 4 жыл бұрын
Matt Parker's Maths Puzzles = MPMP = M²P² = (MP)² Matt can simply not avoid the chance to make a square.
@Robi2009
@Robi2009 4 жыл бұрын
Since the Coriolis video, I am still amazed how you do these "2 Matts at once" videos...
@lucius1985
@lucius1985 4 жыл бұрын
I love the way you presented the video. Well done Matt!
@wtfpwnz0red
@wtfpwnz0red 4 жыл бұрын
That was slick with the card handoff
@euanmcdougall1917
@euanmcdougall1917 4 жыл бұрын
Based on trial and error I have formed an equation based on the number of cards: n SPOILER n+n-1+n-2...+1 The logic of this is the optimal strategy is to flip all the cards once to start off with (eg with 3 cards, cards 1 and 3 are face up to begin with, and after flipping all 3 card 2 is the only card face up. As you systematically do this you eliminate the possible BEGINNING STATES and their certain combinations of cards, eg only card 1 was face up, or only cards 1 and 2 were face up to begin with in our example. You can remove 1 possible combination for every card you flip if you do it effeciently. So the answer is the number of possible combinations. The number of combinations for n cards follows a factorial (!) Logic, where with each additional card there are exponentially more combinations which follow the above equation. So the answer is for 4 cards it takes a maximum of 10 moves to win (4+3+2+1)
@jrddino
@jrddino 4 жыл бұрын
Factorial isn't addition...
@dzejms2256
@dzejms2256 4 жыл бұрын
8:41 "... there's Mastercard."
@janewan1196
@janewan1196 4 жыл бұрын
Your editing is CLEAN!!! I try so hard to find imperfections, but they just aren’t visible!!
@Mrsparky492
@Mrsparky492 4 жыл бұрын
I immediately think of super-permutations which I know Matt loves.
@kasamikona
@kasamikona 4 жыл бұрын
It's a little frightening how good Matt's getting at talking to himself.
@yangtra2534
@yangtra2534 4 жыл бұрын
Solid edit work on the cards there
@JohnOverstreet
@JohnOverstreet 3 жыл бұрын
Good work passing the cards from the first to the second Matt.
@JulianMakes
@JulianMakes 4 жыл бұрын
I’d love to see how you made this video! Great setup love it.
@mytypeofjordan
@mytypeofjordan 4 жыл бұрын
How tf did you toss it to yourself in that edit? v impressive
@devomart
@devomart 4 жыл бұрын
I had to rewatch that happen 10 times to finally try and guess how he did it haha
@theunknown4834
@theunknown4834 4 жыл бұрын
Captain disillusion here
@niekgorissen9045
@niekgorissen9045 4 жыл бұрын
The right one was recorded second. He left the cards there the first time. Later he gets four new cards from out of frame, these are different cards.
@andymcl92
@andymcl92 4 жыл бұрын
My guess. Everything on the right was filmed after everything on the left. Left Matt throws the cards off to the side (you can see a subtle lighting difference in the background near the middle, and it shifts as the cards are thrown). Then left Matt picks up duplicate cards from under the camera. Later, right Matt picks up the cards that have secretly been sitting there the whole time, but the mask gets moved so they come in to view 'after' they have been thrown.
@pascal1947
@pascal1947 4 жыл бұрын
I agree. I was impressed by the highly synchronized dialog. Then when you tossed the deck to yourself I said WHOA and backed it up to get a closer look. I could not detect a break in the video. Pretty cool
@MarceldeJong
@MarceldeJong 4 жыл бұрын
When he grabbed the cards the second time. That blew my mind.
@GaryFerrao
@GaryFerrao 4 жыл бұрын
There are tricks that you can do only in live shows. Then there are tricks that you can do only behind a camera. Matt can do both!~
@Somebodyelse2
@Somebodyelse2 4 жыл бұрын
Phenomenal editing, truly bravo
@anonymoususer2756
@anonymoususer2756 3 жыл бұрын
The answer is 15 and here is a combination of moves that will guarantee it: 121312141213121 This is because there are two ways for each of the four cards to be facing, meaning there are 16 possible combinations. If you turn over the first card, you can reach a new combination. By turning over the second card then the first card, you can reach both of your two initial combinations except with the second card facing the opposite way. Then when you flip the third card over and then one, two and one in that order, you'll reach the first four combinations except now with the third card turned etc... This will cover every single possible permutation and guarantees all the cards will face down within 15 or less moves. Pretty EZ.
@Gravedigga63
@Gravedigga63 4 жыл бұрын
Honestly the choreography with yourself in 2 takes was way more impressive than the car trick, that was genuinely really impressive.
@voodootrois
@voodootrois 4 жыл бұрын
Welcome to the Festival of the Spoken Nerd DVD unboxing video...
@fcolecumberri
@fcolecumberri 4 жыл бұрын
your editing skills are really paying off, this video was aweasom
@MCLegoboy
@MCLegoboy 4 жыл бұрын
Matt Parker's Maths Puzzles can be shortened to *Mip Squared* Matt Parker's Maths Solutions can be shortened to *Mippums*
@cauebahia
@cauebahia 4 жыл бұрын
That was awesome! Perfect timing on that conversation!!
@py-guru-jeebykrishalsharma2207
@py-guru-jeebykrishalsharma2207 3 жыл бұрын
Editors: Did you use only one chair? Well it doesn't matter
@davidrosa9670
@davidrosa9670 4 жыл бұрын
Just now, i'm studying digital electronics for my computer's engineering career here in Argentina, and i've been introduced to Gray code, which, i believe, will give you the optimal strategy to play this game. However, i'm kind of busy with my studies to check this out, so i'll be gratefull if anyone else tries this and lets me know how it goes.
@hkanything
@hkanything 4 жыл бұрын
A binary counter that you are only allow to flip one bit at a time, now iterate all numbers in 3 bits.
@sabriath
@sabriath 4 жыл бұрын
It's a hilbert curve on a 4th dimensional "square" object, excluding the 1,1,1,1 position since the rule is that they cannot all be "face down." One such would be: 0000, 0001, 1001, 1101, 0101, 0100, 1100, 1110, 1010, 0010, 0110, 0111, 1111, 1011, 0011 Taking the digit that changed in the sequence as your choice for the swap (since only 1 digit changes between each sequence), you have the order to take: 41214132124121 This means the smallest amount of moves you can make for a guaranteed victory would be 14.
@esquilax5563
@esquilax5563 4 жыл бұрын
1000 is missing from your list. It would have to be at least 15, since there are 15 bit strings to be potentially tried
@BrunoBarcelosAlves
@BrunoBarcelosAlves 4 жыл бұрын
I think you're off-by-one here. In your walk you missed 1000. I believe the smallest amount of moves is 15, you have to be able to reach all other 15 positions from any given position.
@sabriath
@sabriath 4 жыл бұрын
@@esquilax5563 ...I accidentally put 1111 in the stream, the 1000 should be in place of the 1111 in the list somewhere, but my scrap paper is now just a huge mess of lines and circles. There are 16 positions, 15 moves, that's correct, I counted the tags wrong. I'm a programmer, off-by-one errors are common, lol
@TheyCallMeNewb
@TheyCallMeNewb 4 жыл бұрын
That was an extraordinarily well realised reduplication. Bravo!
MPMP: Can you play Scrabble over a video call?
19:39
Stand-up Maths
Рет қаралды 112 М.
Landmark Numbers and Bad Number Analogies
16:06
Stand-up Maths
Рет қаралды 248 М.
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,1 МЛН
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 13 МЛН
Nastya and balloon challenge
00:23
Nastya
Рет қаралды 63 МЛН
Man Mocks Wife's Exercise Routine, Faces Embarrassment at Work #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 4,4 МЛН
Let's Play: Bar Billiards
21:29
Tom Scott
Рет қаралды 1,3 МЛН
Ellipsoids and The Bizarre Behaviour of Rotating Bodies
25:34
Stand-up Maths
Рет қаралды 289 М.
How to mathematically hang a picture (badly).
18:27
Stand-up Maths
Рет қаралды 445 М.
Will a falling pencil hit the table? We do the maths!
16:19
Stand-up Maths
Рет қаралды 290 М.
The almost impossible chessboard puzzle
32:17
Stand-up Maths
Рет қаралды 1 МЛН
Why Computers Can't Count Sometimes
8:44
Tom Scott
Рет қаралды 4,4 МЛН
Why does this balloon have -1 holes?
32:40
Stand-up Maths
Рет қаралды 1,3 МЛН
Why don't Jigsaw Puzzles have the correct number of pieces?
26:13
Stand-up Maths
Рет қаралды 1,1 МЛН
This Is NOT 50/50
11:01
Vsauce2
Рет қаралды 3 МЛН
Как мы играем в игры 😂
00:20
МЯТНАЯ ФАНТА
Рет қаралды 3,1 МЛН