Shuffling Card Trick - Numberphile
HTML-код
- Опубликовано: 1 окт 2024
- Free audio book: www.audible.com...
More links & stuff in full description below ↓↓↓
Jason Davison shows us a cool card trick using the so-called Gilbreath Principle. More card videos from Numberphile: bit.ly/Cards_Sh...
Jason's website: davisonmagic.com
Support us on Patreon: / numberphile
NUMBERPHILE
Website: www.numberphile...
Numberphile on Facebook: / numberphile
Numberphile tweets: / numberphile
Subscribe: bit.ly/Numberph...
Numberphile is supported by the Mathematical Sciences Research Institute (MSRI): bit.ly/MSRINumb...
Videos by Brady Haran
Brady's videos subreddit: / bradyharan
Brady's latest videos across all channels: www.bradyharanb...
Sign up for (occasional) emails: eepurl.com/YdjL9
Numberphile T-Shirts: teespring.com/...
Other merchandise: store.dftba.co...
I saw this trick in a magic trick book once, but the book's explanation for why it worked was essentially "It's just a mathematical fact that this works." I'm very happy to see an in-depth explanation for this.
The most impressive trick I saw is the Upside Down writing :-)
I can write upside down with my wrong hand, it's not super difficult
+Nyt Mare Even more impressive when you already struggle to draw a "spade" or a "club" under normal conditions...
+Nyt Mare Or you could just write 'h pow' E pow '2 pow '1 pow. Look at it upside down
+Nyt Mare I could read upside down at one stage (havent tried in almost 20 years), but riding a packed subway train/tube teaches you that :D
+Zakatos °°°6 pow' 8 pow' L pow '9 pow
In the comments: people complaining that the so-titled "card trick" is a trick.
Iykury haha
This guy looks like he trains dragons
+Steve Dice Yeah, looks like the dragons tails have hit him in the nose more than a few times
wtf? hahaha
false.
😂😂😂
the real magic here is that he writes upside down on the paper
+NoneG3 not to mention the way he holds the sharpie.
The thing I'm most impressed by is him writing upside-down. What!
+Shilag Or you could just write 'h pow' E pow '2 pow '1 pow. Look at it upside down
Many many years ago I had a Paul Daniels card trick pack of cards. It was a pack of special cards and a little booklet of maybe 25 tricks. The cards were special in that they were slightly narrower at one end, so you could do a lot of tricks involving getting someone to pick a card and then making sure it went back in the pack upside down. So people could shuffle the cards, and as long as they didn't drop them on the floor, you could still find the chosen card. However, my favorite trick did not use the altered cards property, it just used the ordering of the cards presented here. And even though it was 40 years ago, I never forgot that order - a clear advantage of using a saying as a memory aid. What I didn't know, and learned from this video, is that order is "famous". I assume that means Mr Daniels did not invent it, which - if true - is a little disappointing.
Edit: I just Googled it, and apparently it comes from a book from 1902 and may even be older. Mind blown.
Mad kudos to Jason for showing off his upside-down and backwards writing skill in this video!!
Actually more impressed by that than the maths lol
That's amazing! I don't think I could write upside down nearly as well as Jason.
I'm at 0:06, I don't know what the trick is about, but I can already see that the cards are not in a random order. They're RBRBRBRB all the way through. I think I've seen too many of these by now =p
+Buttercak3 yeah, every card trick is set up , yeah they came out as you said, but i could only take and shuffle the cards as you said, i dont find that impressive , in math it is, but as a trick
+Buttercak3 Hallo :D
+Buttercak3 I don't even think about it being to trick the person you show it to, I just find it impressive that the card doesn't "mix"!
+Buttercak3 that is literally the trick. That is what the goal of the trick is, he was just being sarcastic
And ... Every 52 cards, there are 4 aces! Strange!
Indeed.
+Tennison Chan Not only that... There are 4 of *every card!*
funny_monke6 Coincidence? I think not.
Tennison Chan 5o
A hip looking guy on Numberphile? What's this? :p
He's not a professor?
+Mixa As long as there are enough people around using words like "hip", it all cancels out, don't worry ;P
+Mixa Dr. James Grime (aka singingbanana) is pretty hip tbh.
Here after watching some anime about gambling on netflix.
"Consecutive even though they are mixed up." Jason Davison, 2016.
This trick is amazing! Thank you so much!
Someone please correct me if I'm wrong, but to my understanding:
The trick requires the deck to be prepared such that each pair has R & B; each foursome has D, C, H, & S; and each 13-some has A-K.
The cut, count, and riffle shuffle will always rearrange the cards in an order that also conforms to those patterns.
So theoretically, can't the trick immediately be performed again without having to re-prepare the deck, since it's still in an acceptable order?
Right. Those properties are preserved but the initial countdown & cut would break those properties if the stacks were just put together. Many tricks that use this principle use a sneaky step to reverse the top stack again so the properties are preserved.
The most impressive part in this video was when he began to write upside down.
For those interested, there is a book called Mnemonica which captures the sequenced deck and allows a magician to do many things like this. It isn't quite as mathy, but it is very interesting and I suggest you check it out.
That hurt my head. I'm going to have sit down and think through why the shuffle doesn't place even 2 blacks or 2 reds together.
+emsaaron if left half of the shuffle has rbrbrb, right half has rbrbrb, and they shuffle perfectly, you'd have rr, bb, rr and the trick fails. So I don't think your explanation works.
Am I right that this isn't possible with a 32-card set (7,8,9,10,J,Q,K,A)?
Because every 8th card had to be the same number and also the same color (because 8 is a multible of 2) which is not possible.
Or in general: It isn't possible if the different kind of cards (numbers) are a multible of 2 (or 4, which is included in 2).
Or is there any other permutation for these cases to make the trick work?
Busting this one out next time i'm down the pub. What could possibly go wrong.
You know guys... this is numberphile... every card trick will be math based and meant to just "trick" you, not amaze with smoke and juggling blades...
I mean, for christ's sake, the man doing the trick is a mathematician, not a magician!
He's no mathemagician! He's a MATHEMATICIAN!!! (Sorry, Just realized that mathematician and magician rhyme)
Was about to write a comment about not starting with 0 when numbering something, then I realized its Numberphile not Computerphile^^
Paused at 0:03, I see a pattern. I'M SUSPICIOUS!
The pattern is the Eight kings threaten thing
just did it at home and it worked. I am pretty impressed :D
It's an interesting principle, but that's a pretty underwhelming card trick.
Writing upside down seems quite a feat , probably valuable for a magician !
numberphile....I have 2 questions maybe you could make a video about...
1: if pi is infinite and can contain any number imaginable....can it contain another pi? Because if it can, it's not non-periodical, as pi would be repeating itself. But if it doesn't contain another pi, it means there's a number combination into found in pi, which means pi isn't infinite. Either way you choose, one half of definition of pi doesn't work...
2: say you have a graph x^∞. What happens? ok for f(0)=0 and for f(1)=1 but what would happen in the negative quadrants? is it treated as an odd or even exponential function? is the limx->-∞ + or -∞?
+blazejecar 1. It's not known whether pi contains every _finite_ sequence of digits. However, it certainly doesn't contain every infinite sequence of digits and, in particular, it can't contain a copy of itself. If, for example, the sequence of digits from the k-th digit onwards was the same as the sequence of all digits, then the sequence of digits would have to repeat every k digits. But that would mean that pi was rational and we know it's not.
2. x^∞ isn't well-defined so you can't graph it.
+blazejecar Pi has an infinite number of digits, which means an infinite number of places a sequence of digits can start. The problem is that there are a "countable infinity" of digits in Pi, that is, you can line them up. They go on forever, but they can be put in an order without missing any. The reason you can't find every real number in the digits of Pi, is because there are an "uncountable infinity" of real numbers. That is, you can't even put them in any order before you skip most of them. This is proven by Cantor's diagonalization. So there are too many real numbers for each of them to appear in the too few digits of Pi.
The part of your argument which falls through is that Pi _can_ be infinite _and_ still not be periodical _and_ still not contain every number combination.
+Ppaatt
note... just reread your comment and realized you were saying pi was countable... misread. carry on :)
lol no... any PARTICULAR decimal number (like for instance pi or 22/7) ALWAYS has a countable set of numbers after the decimal. To be a countable infinite set one must only be able to map each number in the set to an injective function. Since there is an nth number for every n in the set of numbers after the decimal in pi, even though its infinite, it is a countable infinite set.
Compare with the numbers between 0 and 1... if we start at n1 0.00001 and go to n2 0.00002, there will always be MORE NUMBERS between those two n's and therefore the set is infinite and uncountable... while pi has PARTICULAR numbers, it is necessarily countable, and infinite.
+Jared Thomas Perhaps it is you who needs to reread... first line: "note... just reread your comment and realized you were saying pi was countable... misread. carry on :)"
For number 1: pi can contain any digit, aka 0-9
For number 2: infinity is a concept, not a number, therefore that equation is impossible.
If only our math high-school teacher came with a pack of cards when he taught us Permutations.
All math teachers need some course on how to sell their merchandise. Cause if they're just writing letters and numbers on a blackboard, kids will look for the nearest exit.
Thank you Numberphile, bringing cool thematics back in mathematics.
(thematics is not a real word, the youtube red line says so, I imagined it might be. Now I just squared it and looks negative)
1:00 those cards have NO runs of 3 or more, Witch isn’t expected from randomness
To the people who are wondering about the Upside down writing.... Jason is left handed...Few of them write everything upside down...bending their hand other way unlike right handed..so, he can easily write upside down with straight hand..
Ah yes, Brady's fabled Speedmaster. What a sight to behold 0:35
Does anything get messed up if they initially deal down an odd number of cards? If they dealed so they had to shuffle 1 pack of 25 with 1 pack of 27, could that mess up the ordering?
but it depends on the riffle shuffle, doesn't it? shouldn't 7 riffle shuffles make the deck almost random?
This guy looks like he's gonna try to sell me his mixtape
This is one of the better non skilled card trick I've ever seen.
If those modulo-properties exist before the "Brady-shuffle" and persists after it couldn't Brady have done it repeatedly?
And if cutting doesn't disturb the order isn't any sequence of cuts and "Brady-shuffles" doing the trick?
Would make it more impressive. (Even more as it already is!)
No, the properties do not entirely persist. I'm no math expert, but I know magic. Shuffle two or more times (7 for perfect randomization) it will mess up the order.
+Robin Koch Ok, I tried it. It doesn't work, indeed.
It turns out, that the inertial properties are stronger then the one after the "Brday shuffle".
Before it the colors, suits and values repeat *in the same order*.
After it they don't .
Therefore the whole modulo-trick doesn't work a second time.
But it's cool anyway. (I had little hope one won't have to sort the deck before every execution. ;-))
+Robin Koch I guess one thing that would work at least is to cut the deck as many times as you want, since that only means you're starting at another point in the "cycle"
Kakegurui has taken me here.
(Trying to do the gilbreath shuffle just to be like Runa)
In my opinion that mnemonic isn't as memorable as this one: "King HenRy, the Knave! Six Fine, UnForTuNate Queens now Sigh in Heaven." (K 10 3 J 6 9 A 4 2 8 Q 5 7)
Talk about the gilbreath principle
I don't get any of this. How am I supposed to understand numbers written on orange paper?
#BringBacktheBrown
The explanation goes over my head very quickly.
didnt get what he said at 8:36 "so to do this trick, we're going to (unknown word) the cards.."
Sounds like "celibate" >_> but that doesn't really make sense
I believe "setup the cards"
Ah, yea, that's it 8D
+Numberphile, I have a question which I have wondered for a while now, and I was wondering if you could calculate the total number of possible key combinations that are possible on a piano if a human had infinite hands. (So of the 88 keys how many ways are there to play the notes together (and singularly) in any combinations up to all 88 keys at once. (e.g all 88 keys, all keys excluding g7 and b3, no keys, and so forth for all the other combinations which are possible.))
Your piano keys have two states they can be in, pressed or not pressed. 1 or 0. You can simplify your question with binary! With binary counting you can get every possible combination. So let's look at just 2 keys, the combinations are 01, 10 and 11. Since you mentioned that no keys being pressed should also be counted we also add 00 as a combination. So for just 2 keys the max combinations is 2^2=4. Now we scale it up. 88 keys gives us 2^88 possible combinations.
everyday I´m shuffling
This trick does not work with decks of 32 cards (7 up to Ace) (very popular in Germany) :-( but you can (kinda) still do it is you leave out the mod4 part of the trick...
Great video!
The Gilbreath Principle
why do you have to do that in that particular order (eight kings bla bla fair ladies bla bla)
i was riffleshuffling the other day and thought, how many perfect riffleshuffles can you perform on a deck of cards until it returns to the starting point. So i wrote a small program to calculate it, and found some interesting results:
first of all, for 52 cards, the answer is 8.
next, the numbers had no clear consistency. i tried to find any sort of formula to calculate it but the results seemed pretty random to me, Except for powers of 2.
for any number 2^n, the result is n. I've tried for a couple of minutes to figure out why but didn't seem to get anywhere. And so I turn to you Numberphile, oh lords of the mathematics, I have results, yet no conclusions, and it would be amazing if you could get to this topic because I'm really interested.
+ido katz
step 1: number your cards with binary
step 2: for 2^n cards, a perfect riffleshuffle is a circular right shift operation on all the card numbers, take n=8 for example: 11111111 stays the same, 11111110 turns to 01111111
step 3: n bit number returns to original value after n circular shift
Look up how to do a faro shuffle. It's all rather simple but fascinating
Could you make a video explaining why the digit sums of cubes follow a pattern of 1, 8, 9?
+Jacob Peacock Got my vote. That would be interesting. I wasn't aware of the pattern.
Whats with cards videos these days?) VSauce, standupmaths, Numberphile here..
Maybe I'm crazy but this guy's face reminds me of Jesse Pinkman from Breaking Bad.
So this trick is completely ruined if you ask to shuffle the cards before the trick. Still pretty cool from a maths perspective.
What kind of sorcery is this??
Never knew Harry Kane is a math and cards enthusiast
What I didn’t understand in the performance is that it’s all math and no sleight
Is this Marcus butler's evil twin brother? XD
gilbreath... Immiediately when I heard deal down and riffle shuffle I knew it was about Gilbreath
This one made famous by Leannart Green
It is a great channel...
360p ... this channel is really getting worse and worse /s
+Stylo Monnik you're just here too early - it will be processed to 1080p before I even finish typing this comment!
+Numberphile he wrote /s at the end, he was being sarcastic.
+Stylo Monnik Or you just showed up before RUclips finished processing the video.
Numberphile /s means sarcasm. It was a prank bro. sorry
+Stylo Monnik 720p hd...
What is the probability that I shuffle a deck of cards and there are no pairs together? (eg. 99/88/22.... next to each other?)
I've tried this a ton and always get a pair!
"Even more random order"
So you admitted that the first order wasn't random?
No.
All this while i sat thinking that there's some inherent mathematical property among the cards that allows them to be perfectly aligned from any order we start, and then you reveal some cheap magician parlor trick used to set the cards up beforehand!!!
That's not math, that's a waste of time.
Do the cards have to be in the Kings threaten some sick knave something in the beginning?
+matekusz1 No, but they look properly shuffled like this, and it's easy to remember. If you do it randomly you might make a mistake (any other sequence would work though, you can even do 4 different sequences if you want).
Brilliant explanation. I have known this trick for some years but didn't really understand how it worked. I also didn't know that if it was set in a sequence of thirteen there would be one of each value.
Before the cards are counted and shuffled the pack can be cut as many times as you like, which doesn't affect the outcome.
Nice trick :) Just wondering, is it possible to adapt it to a 32 card Hungarian deck? Basically the same, but cards from 2 to 6 are missing.
Someone do sneaky things with subtitle
Maybe I missed something but what prevents someone from shuffling two hearts/two aces etc together upon that single riffle shuffle?
+ATRonTheGamer It has to do with the fact that each card value (ace, 10, 9, etc.) is set exactly 13 positions away from cards with the same value. So even if you rigged the shuffling in such a way as to place two aces next to each other, they would always be in separate "chunks." With suits, it's a similar thing, except each suit is 4 positions away from similar suits.
A way of imagining it would be so: Say you've reversed and split the deck, and are about to riffle shuffle the two halves together. You take a peek at the bottom card of the left portion of the deck, and see that it's an ace. So you plan on shuffling in cards from the right portion of the deck until you see another ace, whereupon you will have succeeded in "rigging" the shuffle so that they are next to each other. What you'll find out, though, is that it always takes twelve cards before you find another ace - meaning one ace is in position #13 and the other is in position #14. Even if you shuffled a few cards before choosing one to try to rig it with, the total will always be 13.
The best way to understand this is to just take out a physical deck and try it. it might make the pattern easier to see.
Or you could just you know watch about this concept on vsauce's channel. Easier to understand and more entertaining :)
"UPSIDE DOWN WRITING"
guys....he's left handed, that's how left handed people write
Kakegurui
Numbers are like three planes geometry. 8 in each plane vertical to one another. Shuffling is the varieties. Split at half the deck.
Thubs up for upside down writing! ..and for the matching hair color to the sweater and for the whole video of course. :)
That upside-down writing tho! Like a Baws! he doesnt even flaunt it either... that blew my mind...
My maths tutors all know how to write upside down. Wait is it a math thing that I will never be able to achieve?
I think he cheated in poker, because that his nose is like mine😂
Would this work with the standard CHaSeD deck setup of increasing by 3 each time?
and this is why you should always shuffle multiple times, and preferably with multiple shuffle methods.
Arghhhh! My brain hurts :-(
But it's SO clever, I can't stop watching...
What watch is Jason wearing? Missed the entire video because I was trying to find a good shot of it.
Any sufficiently advanced technology is indistinguishable from magic.
A mathematician can surely ruin a card trick lol.
Can you post how to make an elliptical pool table/loop table or post the dimensions, please?
I don't get it, how do you ensure that no two same colours are shuffled next to eachother?
pls tell me what does it imply when we get 'negative' area as an answer to a question in maths ?
So after the person took out some number of cards and shuffled them in that way, they should still cycle through correctly, which means you should be able to repeat that step as many times as you want, right?
+Peter Schmock No because the pattern will be different, even if some properties are conserved. The starting case is in a very particular order.
What’s wrong with the English subtitles?
I have a question for you, can you actually divide 100 by 3, I have been told there is a way to do it with remainders but I still believe that it's impossible.
if you do it with remainders you'll be left with 33 and 1 remaining
But it wouldn't work if you start with a deck sorted by suits... especially if the person you were doing the trick for decided to cut only 3 cards.
He said 20-40 cards
I've been listening to Jonathan Strange and Mr. Norrell! It's so great!!
are you a wizard? I tried this trick and didn't work for me. :(
Tommaso Paoli he had the cards arranged in a certain order before they were shuffled
so many card trick this month
"for _a_ sick knave" (A = Ace) works too
Didn't uderstand why (something I dont know the name) of 12 is 2, and of 6 is 1.
What is the name of this "function" and how do I represent it?
Thanks
The function is 'modulo' or often just 'mod.' It gives the remainder after dividing, so 6 modulo 5 is 1 because 6 = 5*1 + 1, and 12 = 5*2 + 2 so 12 mod 5 is 2.
+deigo tuzzolo Modulo arithmetic is the same as dividing, but we only care about the remainder after all whole number divisions. 12 modulo of is 2, because 5 goes into 12 twice (which we ignore) and leaves 2, which 5 does not go into. Similarly, 5 goes into 6 once with 1 left over, so 6 modulo of 5 is 1.You notate this as, for the 12 modulo of 5 example, as 12 mod(5)=2Here is the wikipedia article on the subject, which no doubt explains it better than me en.wikipedia.org/wiki/Modulo_operation
modula of a number is the remainder after you have divided by that number. modula 5 of 12 is 2 because 5 goes into 12 twice but then had a reminder of 10. modula 5 of 11 is 1 because 5 goes into 11 twice but has a remainder of 1. the remainder is what you are concerned about, however I do not know the notation I'm sure it can be found in Google
+deigo tuzzolo It's the modulus function, usually (in programming anyway) represented by %.
12%5=2 since the whole remainder of 12/2 is two (12=5+5+2).
6%5=1 since the whole remainder of 6/1 is one (6=5+1)
12%4=0 since there is no remaining whole number when 12 is divided by 4 (12/4=3 exactly)
+deigo tuzzolo Its called modulo
12 modulo 5 is 2
6 modulo 6 is 1
modulo means the rest of a division,
so 12 modulo 5 means the rest of 12 divided by 5
-> 12 / 5 = 2 with rest 2
or 12 = 2*5 + 2
thats why 12 modulo 5 is 2
But can he do it on a rainy night at Stoke?
So basically, you stacked the deck and then did an unrealistic shuffle.
+PlasteredDragon As opposed to real card tricks, where proper magic is involved.
It's a maths channel, if you want proper magic tricks you're in the wrong place, he's just using a simple trick to demonstrate maths relating to permutations.
+PlasteredDragon Wait though, what's unrealistic about the shuffle? Isn't it just a normal riffle shuffle? After a cut no less.
+Cyrribrae Yeah, riffle shuffles are nowhere close to random though. I think its 7? riffle shuffles combined with other methods to be random.
+Cyrribrae You forgot he reversed the order of the cards.
I did this and I got two pairs cards that where the same color...
Isn't this the same trick Vsauce did in their latest video?
+Guunzi _ yeah same principle
+iwanab Similar principle, but not the same trick
+Guunzi _ and Matt Parker!
Robert Kubica
Brown paper???