The most ridiculously complicated maths card trick.

Поделиться
HTML-код
  • Опубликовано: 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...
  • РазвлеченияРазвлечения

Комментарии • 712

  • @standupmaths
    @standupmaths  2 года назад +194

    The live stream was on my second channel and it happened without warning. ruclips.net/user/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.

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

  • @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 ☺️

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

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

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

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

  • @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! 😊🙂

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

  • @fahrenheit2101
    @fahrenheit2101 2 года назад +65

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

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

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

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

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

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

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

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

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

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

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

  • @KarimMaassen
    @KarimMaassen 2 года назад +31

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

    • @hoisinholdup
      @hoisinholdup 2 года назад +10

      Physics will never recover

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

  • @littleboylost1o1
    @littleboylost1o1 2 года назад +3

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

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

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

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

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

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

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

    Honestly, your channel is gold!

  • @souptime8635
    @souptime8635 2 года назад +2

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

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

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

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

  • @tomasbernardo5972
    @tomasbernardo5972 Год назад +2

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

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

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

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

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

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

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

  • @precumming
    @precumming 2 года назад +9

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

  • @nw2s
    @nw2s 2 года назад +1

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

  • @RPG_ash
    @RPG_ash 2 года назад +1

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

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

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

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

    Yet another amazing video. Thanks!

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

    Brilliant, Matt. Thank you.

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

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

  • @yedmavus
    @yedmavus 2 года назад +3

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

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

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

  • @loreleihillard5078
    @loreleihillard5078 2 года назад +1

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

  • @rosscoles6371
    @rosscoles6371 2 года назад +3

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

  • @jasoncolbee7376
    @jasoncolbee7376 2 года назад +1

    I am disproportionately proud of you as well, Matt

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

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

  • @niklas0000
    @niklas0000 2 года назад +3

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

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

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

    Thank you Jane Street.

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

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

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

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

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

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

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

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

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

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

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

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

    Wow, that shuffling is really satisfying to watch

  • @nurdle8673
    @nurdle8673 2 года назад +25

    The intro quality is getting out of hand!

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

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

  • @0xTJ
    @0xTJ 2 года назад +1

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

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

    Absolutely Incredible

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

    I remember that livestream, that rope trick was amazing!

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

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

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

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

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

  • @maxwellsequation4887
    @maxwellsequation4887 2 года назад +2

    HOW ARE YOU PRODUCING GREAT VIDEOS SO FAST???

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

  • @jesuschrist3872
    @jesuschrist3872 2 года назад +1

    That intro was EPIC!

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

    I came back from the bonus video to give a like for the rope trick.
    Also, "I appreciate what you are doing". Subtle :D

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

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

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

    The intro sequence of this video slaps so hard!

  • @AthAthanasius
    @AthAthanasius 2 года назад +1

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

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

    I remember being there for the original stream, I think the rope trick was actually ever so slightly more impressive than the card trick. Probably would reserve that one for a finisher if you did another magic set. Still amazed!

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

    Oh my God, that movie effect during the sponsored part at the end had me DYING 🤣🤣🤣

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

    What timing, I was just watching the Numberphile videos on card tricks when this popped up.

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

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

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

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

  • @supersuede91
    @supersuede91 2 года назад +1

    I love you Matt!

  • @markeisenhuth1904
    @markeisenhuth1904 2 года назад +1

    I’m very impressed with how easily Matt can do math in his head 😉

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

    That extended intro was JUICY

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