The most ridiculously complicated maths card trick.

Поділитися
Вставка
  • Опубліковано 4 сер 2021
  • Check out the Jane Street podcast: Signals and Threads. My goodness it's nerdy. I love it. signalsandthreads.com/
    You can watch the original live-stream of the trick here. I actually did it twice! Yeah, now you're convinced, you sceptical bunch you. • Matt performs the Any ...
    Here is my previous video about perfect bridge deals. • How did the 'impossibl...
    52-Card Perfect Shuffles on Numberphile. • 52-Card Perfect Shuffl...
    The Solutions to Elmsley’s Problem by Persi Diaconis & Ron Graham. statweb.stanford.edu/~cgates/...
    Thanks to Cameron Zach for being the first to send me a valid new solution to Elmsley’s Problem. Here is their code: www.dropbox.com/s/na4t1j0ksaj...
    Maths on the Back of an Envelope by Rob Eastaway. mathsgear.co.uk/products/sign...
    All the fancy animations are done by William Marler. To see more: check out their Learn With Will channel. / @learnwithwill
    Thanks to all of my Patreon supporters who made up much of the live audience for the trick. You too can help support me and get advanced warning of other such things! / standupmaths
    CORRECTIONS
    - None yet: let me know if you spot any mistakes!
    Filming and editing by Alex Genn-Bash
    Amazing animations by Willian Marler
    Other adequate graphics by Matt Parker
    Music by Howard Carter
    Design by Simon Wright and Adam Robinson
    MATT PARKER: Stand-up Mathematician
    Website: standupmaths.com/
    US book: www.penguinrandomhouse.com/bo...
    UK book: mathsgear.co.uk/collections/b...
  • Розваги

КОМЕНТАРІ • 711

  • @standupmaths
    @standupmaths  2 роки тому +194

    The live stream was on my second channel and it happened without warning. ua-cam.com/users/mattparker2 Well, I gave advanced notice to people who support me on Patreon. Join in and get a heads-up about other similar stuff: patreon.com/standupmaths

    • @bretscofield
      @bretscofield 2 роки тому +4

      Patreon is well worth it. For anyone reading this not part of his Patreon -- join now (by Aug 7th, 2021), and get a free toroidal balloon mailed to you. I mean, if that doesn't entice you, I don't know what will.

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

      1:20
      I definitely read it as standup mathemagician

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

      i think this one inst a parker square

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

      YOU MONSTER! I am so mad that I was not aware of this livestream.

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

      @@bretscofield are you his alternate account

  • @dawiddexter
    @dawiddexter 2 роки тому +998

    Getting almost picked at 2:31 was a rollercoaster of emotions

  • @ChrisWCorp
    @ChrisWCorp 2 роки тому +857

    I love how Matt was entirely invested in reading chat while preforming the card magic trick. Well done!

  • @Fogmeister
    @Fogmeister 2 роки тому +672

    The Parker Shuffle:
    Step 1. Split the card exactly in deck.

    • @nanamacapagal8342
      @nanamacapagal8342 2 роки тому +20

      KNIFE.

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

      I was looking for this. Parker syntax immediately came to mind.

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

      Mmm yep this makes perfect sense

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

      Faro shuffle is easy actually

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

      Just some practice and you will be able to tell which packet has more cards not only visually, but even by weight unconsciously.

  • @onradioactivewaves
    @onradioactivewaves 2 роки тому +105

    Matt Parker - Stand-up mathematician, sit down magician. I approve.

  • @Oneiroclast
    @Oneiroclast 2 роки тому +80

    This trick is somehow even more impressive after knowing how it's done. Not only do you have to do all that math in your head while keeping up convincing patter, but then you have to do a difficult sleight of hand maneuver perfectly 6 consecutive times.

  • @Sam_on_YouTube
    @Sam_on_YouTube 2 роки тому +517

    After watching this livestream, I suggested that when live, in person shows are possible again, you do a true Berglass effect trick live. The odds of it working are 1/52. And given the nature of your show, having a trick that fails 51/52 times in order to get the best ever video of someone performing the holy grail of mathematics is just up your ally.

    • @precumming
      @precumming 2 роки тому +171

      My magic peaked when I shuffled a deck of cards and my dad picked one and I said what it was, complete guess, he asked how I did it and I let him shuffle the deck and pick a card and I guessed it correct again, I was expecting to be wrong the second time and say that's how I did it - I guessed. Absolutely flawless performance I can't do again.

    • @lydianlights
      @lydianlights 2 роки тому +14

      @@precumming lol that's awesome xD

    • @mentalshark6728
      @mentalshark6728 2 роки тому +25

      I have a theory since I have been thinking about this for a very long time, where there are a few tricks to bump up that 1/52 chances. To start, you can actually move the cards up or down by not specifying in the beginning that the number to be "the card at that number" or" after dealing x amount of cards out of the deck, the top card is the specified card". Then there is the dealing from top or just flipping the deck. Also the advertising card and jokers could in theory be taken out as instructed. Since most magician never specified what exactly the audience should expect the effect to be, there are still rooms for magician to play with.

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

      Hasn't Matt already done that?

    • @vigilantcosmicpenguin8721
      @vigilantcosmicpenguin8721 2 роки тому +9

      It's a Parker trick!

  • @blablub2402
    @blablub2402 2 роки тому +240

    I can´t belive William Marler animates for Tom Scott AND you (and many more edu-tubers)

    • @elijahbuchanan2368
      @elijahbuchanan2368 2 роки тому +5

      @@iseriver3982 I can see Matt telling him about this part's math and William just saying nope.

    • @AshishKumar-qe4hq
      @AshishKumar-qe4hq 2 роки тому

      How do u know

    • @DasGanon
      @DasGanon 2 роки тому +14

      And in one of his many Easter eggs, he's got a cameo as the joker card at 3:15 (and Matt said later that the other face cards are members of FotSN)

    • @WilliamMarlerAnimation
      @WilliamMarlerAnimation 2 роки тому +34

      I’m still not used to people talking about me in comments 😂 thanks guys!

    • @WilliamMarlerAnimation
      @WilliamMarlerAnimation 2 роки тому +9

      @@iseriver3982 Me ☺️

  • @nerfthecows
    @nerfthecows 2 роки тому +357

    I love the look of relief when you got the right card, Also isn't funny how magicians have used the whole fact it was a brand new deck that was still sealed to show they didn't stack the deck but in reality they can only do it with a new deck.

    • @TBH_Inc
      @TBH_Inc 2 роки тому +31

      I mean, you could always rearrange the cards to new deck order, just would be a lot of work and it would look suspicious if you claimed it was a randomly shuffled deck, so ya, you either need to not show the cards or annouch they are in new deck order.

    • @daredaemon8878
      @daredaemon8878 2 роки тому +18

      Yup. Brand new decks come pre-stacked.

    • @yaskynemma9220
      @yaskynemma9220 2 роки тому +19

      Or have a memorized or stacked deck, even there is some stacks that you can make from shuffling the brand new order and dont seem stacked because of the lack of paterns

    • @Ylyrra
      @Ylyrra 2 роки тому +30

      That's the best kind of misdirection, make the thing that makes it easier/possible look like the thing that makes it harder.

    • @mr.goodsir3410
      @mr.goodsir3410 2 роки тому +1

      There are decks that come pre stacked, not in the order that you think. To a layman, it looks like a normal shuffled deck. ACAAN can be performed even without the new deck order.

  • @ezra7088
    @ezra7088 2 роки тому +14

    It was impressive that he managed to do all that math in his head, especially the multiplying 16 by 64 bit

  • @lladerat
    @lladerat 2 роки тому +319

    Lol Matt is our guy, christmas tree still standing in the background in august.

    • @standupmaths
      @standupmaths  2 роки тому +212

      I am still messing around with the code!

    • @Ninterd2
      @Ninterd2 2 роки тому +15

      @@standupmaths Have you made all the bad code work yet?

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

      @@Ninterd2 yeah some seemed cool in theory if they had worked

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

      well it was shot in May, but yeah...

    • @nugboy420
      @nugboy420 2 роки тому +6

      @@TrimutiusToo at this point he is prolly holding out on showing more of it til this christmas lol

  • @prasunadhikari6054
    @prasunadhikari6054 2 роки тому +304

    The rope trick was so great. Feel sorry for anyone who missed it.

    • @thatkindcoder7510
      @thatkindcoder7510 2 роки тому +10

      Mmm yes rope trick nice

    • @rewrose2838
      @rewrose2838 2 роки тому +182

      😂 I didn't see any stream, but I have a feeling it's the classic Matt Parker
      "guys I want you to go crazy in the chat when I hold up this rope and say my stupid line" 😁

    • @turun_ambartanen
      @turun_ambartanen 2 роки тому +10

      I feel betrayed

    • @Robert_McGarry_Poems
      @Robert_McGarry_Poems 2 роки тому +33

      @@rewrose2838 This was totally my thinking. 😂

    • @Sora_Halomon
      @Sora_Halomon 2 роки тому +21

      @@rewrose2838 The stream's in the description, it was absolutely amazing. Never thought Matt could pull something like that off

  • @stevebiggs
    @stevebiggs 2 роки тому +102

    Just HOW LUCKY is it that In and Out shuffles begin with I and O and map easily (visually) to 1 and 0... imagine it had been the other way around, that would be incredibly confusing!

    • @ornessarhithfaeron3576
      @ornessarhithfaeron3576 2 роки тому +9

      In that case I guess you'd just need to use one's complement, A.K.A. NOT(number), and you'd be good again.

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

      If it was the other way around, I’d just swap definitions of “In” and “Out” and it would work again.
      Currently, we’re tracking the positions of the outside cards. If they stay first and last, it’s called an “out” and v.v. But if you track the positions of the INSIDE cards instead, then you can call it an “out” if an INSIDE card moves OUT to the first and last positions. Done. 1 is still In and 0 is still Out. Fixed.

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

      He would have just done the whole video in opposite binary.

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

      @@estherpettigrew3042 the definitions of 'in' and 'out' faro shuffling are in mathematical literature, so it's nontrivial to swap them 'just for this video'. But Matt could have named them something else that would still make the same visual coincidence/pun. Maybe 'lift' and 'quirk' because 'L' and 'Q' vaguely resemble binary digits, Matt'd think of something better than that.

  • @mitodrumisra8972
    @mitodrumisra8972 2 роки тому +102

    I dunno whether you'll find this or not, but I really want to give a big thanks to you Mr.Parker. You are among one of the many guys who has made me drawn more into this wonderful and surreal world of mathematics.
    THANKS A LOT! 😊🙂

  • @fahrenheit2101
    @fahrenheit2101 2 роки тому +65

    "Put the card exactly in deck"
    Now that's a Parker sentence.

  • @TYKUHN2
    @TYKUHN2 2 роки тому +230

    It might be a bit easier to understand if you say "bitwise XOR" instead of "bitwise ADD" since the xor carries no implication of... well...carrying.

    • @TheGreatCigma
      @TheGreatCigma 2 роки тому +18

      This is the comment I was looking for.

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

      No need for me to post my own comment to this effect.

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

      Morgan Harris mentioned in their comment that the plus sign in the intro card @ 1:20 kind of looks like the XOR symbol (i.e. "standup ⊕ mathematician")
      What an easter egg! (Parker's XOR?)

    • @lichansan1750
      @lichansan1750 2 роки тому +5

      i found the/a neccessary XOR comment!

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

      I thought it is just me that is a bitconfused (pun intended) by bitwise ADD. Apparently not.

  • @TheJVBlackbelt
    @TheJVBlackbelt 2 роки тому +9

    Oh my goodness, seeing the little bits of math scribbled out on an open, empty envelope was the most relatable math thing I've ever seen

  • @mantictac
    @mantictac 2 роки тому +62

    Binary adding without carry is also known as XOR or exclusive OR, where the output is 1 if both inputs are different.

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

      thanks for that simple explanation I always wondered what it meant.

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

      Correct, but the output is also 1 if one input is different. From the other input, that is.

    • @hagen-p
      @hagen-p 2 роки тому

      (Referring to video position around 6:00.)

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

      @@Karolomen Well, that's the same he said 😂😂

  • @timgchannel3328
    @timgchannel3328 2 роки тому +24

    Magicians have been known to practice a trick like this for hours a day every day for years before they’re confident enough to do it in front of an audience.

    • @InShortSight
      @InShortSight 2 роки тому +17

      If there is one thing we know about Matt Parker by now, it's that he's not afraid to be wrong in front of an audience.

  • @rewrose2838
    @rewrose2838 2 роки тому +59

    😂 I didn't see any stream, but I have a feeling it's the classic Matt Parker...
    "guys I want you to go crazy in the chat when I hold up this rope and say my stupid line"

  • @joshuaprice1
    @joshuaprice1 2 роки тому +13

    Conspiracy: there were over 52*52 people in the chat and Matt looked through every comment to find one that he knew how to do

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

      I was looking for something like this... except that he was looking for a card that was already in that position in the new deck, and then just false-shuffles every single time.

  • @Ajunne
    @Ajunne 2 роки тому +13

    Being a hobbyist magician I was well familiar with the Elsmey count. Being a computer scientist by trade, I've only just discovered today that Alex Elmsley was also a mathematician who published a lot of mathematics papers. Mind: blown.

  • @ScytheCurie
    @ScytheCurie 2 роки тому +100

    As a magician, I can certainly say that your Faro Shuffle is better than most non-magicians! (When you were first learning it, I'm betting it took you a long time before you could perform the technique consistently, right? I know it definitely did for me!)

    • @magicman4326
      @magicman4326 2 роки тому +5

      Honestly, his faro is a lot better than many magicans i've seen too.

    • @PiersCawley
      @PiersCawley 2 роки тому +6

      I loved the moment it went from seriously seriously tricky to something that was just locked in though. Table faro next time I’m stuck with a deck and a pile of time.

    • @asailijhijr
      @asailijhijr 2 роки тому +5

      I think Matt qualifies as being a magician. I don't know if he's done any tricks at Festival of the Spoken Nerd, so he might be an amateur magician. He's definitely done math-based tricks on this channel before.

  • @theredturtle4471
    @theredturtle4471 2 роки тому +15

    Matt, you inspired me to do a boat load of work on ellipse circumferences over quarantine. Ive beat Ramanujan a couple times and i have some new ellipse integrals.

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

    The most impressive thing about this is the fact that matt can consistently do perfect riffle shuffles lmao

    • @wyattstevens8574
      @wyattstevens8574 10 місяців тому

      Brand new deck, remember? He *needs* it to be new!

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

    Ah, we have ourselves a Parker shuffle! It's a pain though, you've gotta be able to split the card exactly in deck, you've got to interweave them.

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

      Ah, Beat me to it haha

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

      Not a Parker shuffle. It works perfectly

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

      @@andywright8803 technically it isn't actually a shuffle, as you can keep track of where all the cards go.

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

      jetison333 no, it is a shuffle,there is no rules that said a shuffle had to randomize the deck
      And it is called Faro shuffle

  • @KarimMaassen
    @KarimMaassen 2 роки тому +31

    I still remember the rope trick. It was the highlight of 2021 so far. CRAZY

  • @Aiden-xn6wo
    @Aiden-xn6wo 2 роки тому +8

    This is the earliest I have watched any Stand-up Maths video.

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

      Indeed

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

      I don't even remember subscribing to this channel

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

    Love that the back on the envelope calculations are graphically shown as such:)

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

    I have just read the card tricks section of Things to Make and Do in the Fourth Dimension, which is where I thought this was going to start with

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

    I think it's really impressive how Matt was able to do the multiples of 52 and 64 in his head *while* reading chat!

  • @tomasbernardo5972
    @tomasbernardo5972 Рік тому +2

    The -1 holes balloon floating out of Matt's head was just hilarious to me 😂😂

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

    I do a little bit of card Magic and I just gotta give you props for having a pharao shuffle good enough for you not to be nervous doing it SIX TIME PERFECTLY infront of a "live" audience!

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

    Totally amazing that you memorized the 52 and 64 times tables. Very impressive!! ;-)

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

      I know right? Can't believe how effortless it was, too!

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

      Within a single day no less

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

    I remember watching this stream. The connection didn't work out in the beginning but the trick was amazing!

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

    I managed to catch the live stream, but I'd already forgotten you were doing a video on this, so it was a nice surprise to see today. Those animations by William are so good!

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

    I find it quite interesting that because the in and out shuffles are always symmetric, you cannot get any random shuffle from the perfect shuffles.

  • @gavin5410
    @gavin5410 2 роки тому +4

    This is the same exact trick as the one you showed a long time ago that uses 49 or 36 cards, except you use 2s instead of 3s. In the other one you would essentially do an inverse pharaoh shuffle, except you split the deck into 3 stacks instead of 2. Then you find the stack with the card you want, and put it on the top, middle, or bottom of the other 2 stacks, based on a ternary number representing the index you want the card to end up at. This trick is exactly the same! The differences are that you're only using two stacks, so the stack with your card in it can only go on the top or bottom -- therefore in and out shuffles, you're doing the whole trick essentially in reverse, and you're not showing the cards.

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

    mod 51 is awkward thanks to the pigeonhole principle.
    mod 53 works because there are only 52 cards.
    While not appearing quite as elegant, you can do both IN and OUT transformations mod 52.
    IN: (2i+1-floor(i/26)) mod 52
    OUT: (2i+floor(i/26)) mod 52

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

      But does it work? Imagine we are looking at the last card and then performing an OUT. 51 -> 2*51 MOD 51 = 0. But 51 should stay at 51 for an OUT shuffle. Or am I mixing up IN and OUT?

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

      @@totheknee Im not entirely sure I got everything right, but from what I can tell in David's comment above, it's mod 52, not mod 51 as you calculated. 51 mod 52 = 51, so 51 does stay at 51.

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

    I have always used elmsley principles of faro only for moving the card from the top to position, this is a really clever complement to it, thanks, even some years ago I came upwith a trick using the symmetry principle also from elmsley I think

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

    I remember that rope trick. That was AMAZING! Gotta check out the original stream for sure.

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

    This is really cool! I remember watching the 27-card trick (that uses base 3, because you make the same argument, but dividing it in 3 columns).
    In this one, we make a Faro shuffle, which is the same as dividing it in 2 parts, and we can work out ecerything in base 2. Brilliant! Great example of use of base 2.

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

    Honestly, your channel is gold!

  • @ngiorgos
    @ngiorgos 2 роки тому +35

    I'm at 16:00 and so far, the inverse version look a LOT like the the trick with the 27 cards where you bring any chosen card to any position, using ternary
    I always suspected that a version like that could work with the entire 52 card deck

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

      I thought about it as well!

    • @karlvyh
      @karlvyh 2 роки тому +9

      Yeah it seems like the same math, the 27 card trick uses ternary instead of binary since it deals into 3 piles (which also prevents inverting it into a reasonable shuffle). A 3-pile perfect shuffle would be very impressive.

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

      The ternary trick works for up to 81 cards with a 4th lay out of the cards.

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

      @@aaronbredon2948 yeah, after that I tried to see if a 4th lay out can make it work with 52 cards. Since 52

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

      @@ngiorgos the trick is
      1: make sure the deck is a multiple of 3 (the math is harder if the piles are different size)
      2. Adjust placement based on pile size. 51 cards is 17 cards per pile, so the 28th card is card 11 in the middle stack.

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

    I love your videos and your books, you have been getting me fascinated with maths.

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

    2:45 Shoutout to Jonathan Tanner’s suggestion. Good to see another Penn & Teller and Hitchhiker’s Guide fan

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

      without relooking at the video to confirm that would be the 3 of clubs and position 42

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

    I like how the happy little house is in his head at 3:02

  • @nurdle8673
    @nurdle8673 2 роки тому +25

    The intro quality is getting out of hand!

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

    Hi Matt, I think this application to be the new Masked Magician is great!

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

    I was there for that rope trick live... it was awesome... though I had quite a delay in my stream so couldn't explode at the right time... Though my "side Matt" message made it...

  • @precumming
    @precumming 2 роки тому +9

    Nice, one of the first cards suggested was 3♣, you know you have classy viewers

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

    The audio to that extended intro makes me smile every time. Love it.

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

    Man, you have such good production quality. Enjoy every video.

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

    As a closeup magician, who does mainly cards effects, i love this! :D

  • @precumming
    @precumming 2 роки тому +15

    5:47 that's XOR (my favourite bitwise operator, not only because programmers try to use ^ for powers). There's no "bitwise add", addition is just normal with carrying.

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

      XOR's like the odd one out. You've got the bland OR, NOR, AND, NAND, and NOT, which work as you'd expect, then there's XOR. Much confusion

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

      @@thatkindcoder7510 what about xnor it's even weirder than xor

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

      @@thatkindcoder7510 Bitwise AND and OR are easy to use, bit shifts are really useful, but nothing makes you feel more like a genius than being able to use XOR to solve a problem far more efficiently.

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

      @Alutic It's just AND with an extra step, the true AND

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

      XOR is my favorite because of how often it comes up in cryptography. Always nice to see it pop up in other applications as well!

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

    That intro was EPIC!

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

    1:14 caught me off guard in the best way. I love your theme

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

    I'm sure it's mentioned, but the bitwise operator you're using (bitwise and except don't carry) is an XOR operation (exclusive OR)

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

    Wow, that shuffling is really satisfying to watch

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

    Oh, I remember that live stream. That rope trick really WAS amazing!

  • @BryanLeeWilliams
    @BryanLeeWilliams 2 роки тому +4

    Well, I remember making python code that shuffled and tracked the positions of the cards.
    I also forgot to finish up and figure out the algorithm Matt used which I planned on doing before this video came out.
    Cestlavie

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

      Can you hack where microsoft solitaire plays on its own to shuffle the deck to give a perfect initial layout ?

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

    Matt Parker is basically if Michael Palin traveled back in time and took up mathematics.

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

    The ins and outs don't have different mods at all! You just have the plus one in the wrong place - you can write the in formula as (2i mod 51) + 1 and it all works out

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

    Brilliant, Matt. Thank you.

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

    I can palm, vanish and appear cards, know a few tricks card tricks and beyond too. I have NEVER been able to Farrow Shuffle properly. Much respect, especially being able to do it multiple times in a row.

  • @billr3053
    @billr3053 2 роки тому +17

    So does this mean that if a card is ALREADY in its target position, you're still going to do 6 shuffles? In general there seems to be no shorter solution with your method where you effectively need less-than 6.

    • @returnexitsuccess
      @returnexitsuccess 2 роки тому +13

      Well since you have to mentally figure out the starting and ending position anyway, you have an even more impressive trick where you do no shuffles and the card is in the right spot. You are right however where even if there is a way to get the card into position with one shuffle, this method will still have you do six shuffles.

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

      @@returnexitsuccess Isnt there away where the deck is split, the stooge/whoever choses a card, its removed from the deck and placed at the top of the half deck it has come from ,the half packs then joined , shuffled and the card arrives at the location number you requested. ( same method really just a bit more thought)

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

      Just do 8 perfect out shuffles and the whole deck is back to where it started.

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

    HOW ARE YOU PRODUCING GREAT VIDEOS SO FAST???

  • @xfreeman86
    @xfreeman86 2 роки тому +11

    If the trick relies on the order of cards in a fresh deck, you could get there much faster with a single cut. I guess if you're quick enough mentally, with enough diversion banter, doing it with shuffles will be more impressive to an observer.

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

      Yeah, that's the way I do it

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

    It was impressive being able to calculate multiples of 52 and 64 on the fly like that. Good show!

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

    Matt you've honestly been spoiling us lately, I'm trying to study for my HSC maths trial!!

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

    Impressive feat and the fact that you remembered all the calculations.

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

    I am disproportionately proud of you as well, Matt

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

    Yet another amazing video. Thanks!

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

    Oh wow, it's been a long time. That rope trick was absolutely mind-blowing.

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

    Only checked the stream video to verify that the rope trick was done exactly like I thought it was. It was. Well executed.

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

    Thank you Jane Street.

  • @vwabi
    @vwabi 2 роки тому +23

    This is basically the third video in the 'dream trilogy': Dream got lucky in Minecraft -> Bridge players got lucky with farrow shuffles -> Matt uses a farrow shuffle to do magic.

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

      Yup

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

      Wait is it not spelled Pharaoh

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

      @@OrangeC7 It's actually "Faro" shuffle, named after a french gambling game from the late 1600s

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

      @@loreleihillard5078 oh, I thought it was banned after a person, cool.

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

    "and it was just the one piece of rope the whole time" and chat going crazy has the same feeling as you cutting up a double moebius strip and screaming "A SQUARE!" and the live audicente going crazy

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

    I remember that livestream, that rope trick was amazing!

  • @Erik_The_Viking
    @Erik_The_Viking 10 місяців тому

    Faro Shuffle FTW - my favorite card trick. I learned this 30 years ago at a math conference.

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

    2:23 Oh look, there I am :)
    Even though I knew you knew what you were doing, it was still incredibly impressive to see you pull off the trick in front of hundreds of people, live!

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

    09:20 - Hey, I watch and listen right to the end !

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

    I haven't watched yet, but I'll say how I once designed an any card to any position trick. In 2012, I saw the 27 card trick shown by Matt on the Numberphile video 'Beautiful Card Trick' and extended it to all 52 cards and a chosen position. The audience choses a card and does not reveal it, and choses a number from 1 to 52 and tells me the number. Each round I deal the cards face up into piles (I can't remember how many piles), ask the audience which pile their card is in, and collect the cards. After (I think it was 3) 3 rounds, we count down the deck to their chosen number and there is their card.
    The 27 card trick places the card by encoding the position in base 3 by the position you collect the identified pile to when collecting the deck. The system for how to encode a position in my trick was more complicated because 52 didn't divide into the number of piles I dealt - basically just memorizing what the encoding is for each number. It would be possible to identify their card to position 1, and then move it, but that added either extra deals or slight of hand, and dealing 52 cards more than 3 times gets real boring.

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

    I love that "Queen" has a guitar in the deck animations at the end (though it should be electric)
    Edit: got to the part where he explained who they were actually based on, nvm.

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

    That extended intro was JUICY

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

    Great video... probably the hardest way to do the trick, but the maths behind is amazing!

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

    The intro sequence of this video slaps so hard!

  • @uplink-on-yt
    @uplink-on-yt 2 роки тому

    Something else that is new: ability to express one’s opinion (math solutions in this case) without going through journals and peer review. You get to see people’s research and “research” thought processes with no filter, fast. You get both recreational mathematics and recreational insanity, but it’s a lot faster than in the 50s.

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

    I'm glad I watched you on the royal institute's channel and came to check out yours a year ago.

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

    That Space-Card intro was pure Fire!!!

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

    It is seriously impressive how fast you did all that math live

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

    Absolutely Incredible

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

    The mastery required to do the math in your head and then execute a series of perfect riffle shuffles is astounding! Holy crap that is an impressive trick

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

    Nice deck of cards! Steve Mould being J, holding a staff with Tau symbol; Helen Arney being Q, holding a guitar; and Matt Parker being K, holding a staff with Pi symbol... Oh, mentioned at 31:40. Turns out, it's an ukulele. (Yes, I prefer Hawaiian spelling OO-koo-LEH-leh, as stated on Wikipedia)

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

      How else would you spell ukulele?

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

      Also William Marler as the joker visible at 3:16

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

    I still cant tell if your cup is empty.
    Great vid as always, youre such a legend

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

    One pretty small thing about the index.
    Instead of just saying it starts from zero, we can say that we are not looking at the *position* of the card, rather how many cards are on top of them.
    Therefore, it is the 17th card, but there are 16 cards on top of it. And we wanted it to go to 23th position, so that means there are 22 cards on top of it.
    Edit: Sorry, it is mentioned at 28:49

  • @Koisheep
    @Koisheep 2 роки тому +9

    I've followed Matt from long before he decided to shave his head and I keep being impressed by the increased effort he's been putting into SFX like damn

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

      And it all began with the VFX explosion that was GLORIA IN X-SQUARIS

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

    Shoutout to all the folks who were part of the audience cheering and clapping and being astonished by the tricks that totally happened.

  • @reddragon3132
    @reddragon3132 2 роки тому +4

    Come on Matt there's no need to use multiple doublings (or other methods ;) ) to calculate 16*64. That's just power of two knowledge!!

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

      True.
      2⁴ × 2⁶ = 2⁸
      But not every mathematician knows their powers of 2.
      Edit: Including me, apparently. 2⁸ should be 2¹⁰

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

      If I was doing this, I'd probably do the whole calculation in octal. The division by 52 (well, technically the search for a multiple) would still be a slow step, but every other calculation becomes almost free.

  • @sauna-man3024
    @sauna-man3024 2 роки тому

    Before watching the video I thought "Great, I can try this on people at work" but I quickly realized that our breaks aren't long enough.