The Problems with Secret Santa - Numberphile

  Рет қаралды 1,867,668

Numberphile

Numberphile

7 жыл бұрын

Dr Hannah Fry discusses Secret Santa, anonymity and derangements. And a better way to do it.
More links & stuff in full description below ↓↓↓
More Hannah on Numberphile: bit.ly/hannah_vids
Hannah's co-written Xmas book: amzn.to/2g8mIn6
Hannah's love/math book: bit.ly/frylovebook
Numberphile poster: store.dftba.com/products/numb...
Graham's Number T-Shirt: store.dftba.com/collections/n...
Other Numberphile T-Shirts: teespring.com/stores/numberphile
Hannah on Objectivity: • Blackballed (feat. Han...
Support us on Patreon: / numberphile
NUMBERPHILE
Website: www.numberphile.com/
Numberphile on Facebook: / numberphile
Numberphile tweets: / numberphile
Subscribe: bit.ly/Numberphile_Sub
Numberphile is supported by the Mathematical Sciences Research Institute (MSRI): bit.ly/MSRINumberphile
Videos by Brady Haran
Brady's videos subreddit: / bradyharan
Brady's latest videos across all channels: www.bradyharanblog.com/
Sign up for (occasional) emails: eepurl.com/YdjL9
Numberphile T-Shirts: teespring.com/stores/numberphile
Other merchandise: store.dftba.com/collections/n...

Пікірлер: 2 800
@mep5500
@mep5500 5 жыл бұрын
The real problem with secret santa is that nobody actually keeps it a secret
@KucheKlizma
@KucheKlizma 4 жыл бұрын
The worst one I've have the misfortune of partaking in in school we didn't even know who we're buying presents for. Needless to say the result was a lot of crying girls and a lot of boys who got a lot of awkwardly girlish presents. I think we just ended up solving it with some simple barter after the crying ceased.
@thunderbolt_blitz
@thunderbolt_blitz 4 жыл бұрын
I always keep it secret, until we all get our gifts bc we all do a group giving
@skyjoe55
@skyjoe55 4 жыл бұрын
I lie about who i have
@rkah6187
@rkah6187 4 жыл бұрын
@@KucheKlizma Yeah, we had that, too. Our teacher then sort of just dumped all the presents on the table and everyone picked one by one. It wasn't fair at all, especially because somebody bought gift cards, others bought a pair of crisps from the cafeteria.
@sarahfitzgerald801
@sarahfitzgerald801 4 жыл бұрын
Or, what happened to me is everyone else was told who their secret santa was after getting their presents from them except for me, still don't know who had me
@shantanukulkarni007
@shantanukulkarni007 7 жыл бұрын
If you pull your own name, keep it and dont tell anyone. That way you buy yourself the best present, the thing you always wanted and you dont even have to waste your money on some random person. Best case scenario.
@shantanukulkarni007
@shantanukulkarni007 7 жыл бұрын
And if you have to show other people what you got. Just buy the costliest gift like a car. So everybody can be jealous that you are so popular that people in office will even buy car to please you
@shantanukulkarni007
@shantanukulkarni007 7 жыл бұрын
Damn I am turning into Sheldon :(
@RalphDratman
@RalphDratman 7 жыл бұрын
No, you are not. I think your idea is exactly right! Why, anyway, would that person be unhappy?
@onam3000
@onam3000 7 жыл бұрын
that would defeat the purpose
@MegaKaitouKID1412
@MegaKaitouKID1412 7 жыл бұрын
If it's a Secret Santa in the office or something, with people you don't know well and maybe even don't particularly like, yes it defeats the purpose of getting people you don't like gifts that they don't want, but that purpose is essentially empty consumerism. Pulling yourself and keeping yourself means you can spend that money on something that will actually be used. That said, gift exchanges that are anonymous are usually done all at once. So you have to be sure to keep anyone from seeing the fact that the gift you're adding to the pile is the same one you're taking out of the pile.
@vapurrreon
@vapurrreon 4 жыл бұрын
We had “assigned” secret santas that our boss (not playing secret Santa) pulled for everyone, to avoid this. Beforehand, we were given sheets to fill out about what we like/bad gift ideas. Worked pretty well!
@no1bro120202
@no1bro120202 4 жыл бұрын
We actually did a very similar thing to this, and it also turned out very well!
@k0pstl939
@k0pstl939 2 жыл бұрын
That's what I started thinking is have an impartial person
@bizziegrace
@bizziegrace 2 жыл бұрын
we did the little sheets too and it was a game changer to make sure you get something somewhat like what you want
@Triantalex
@Triantalex 8 ай бұрын
??.
@skyjoe55
@skyjoe55 4 жыл бұрын
For when my friend group did this a week or two ago, i spent 3 hours making an app so that it was completely fair I was very close to making it give everyone my name
@marykint7022
@marykint7022 4 жыл бұрын
Can you you put it on the App Store?
@skyjoe55
@skyjoe55 4 жыл бұрын
@@marykint7022 its only very rough unfriendly processing code
@marykint7022
@marykint7022 4 жыл бұрын
Oh ok never mind :)
@Jacqueline-rl8pu
@Jacqueline-rl8pu 4 жыл бұрын
Sue Sylvester is that you?
@Melanie-yep
@Melanie-yep 4 жыл бұрын
There’s a website for this my friend group has used for a couple years: Sneaky Santa
@Mobin92
@Mobin92 7 жыл бұрын
The trick is to don't say anything if you pick your own name. That way you get to buy something for yourself. .____.
@FrostRose
@FrostRose 7 жыл бұрын
You'd be doing everyone a favor by soaking up what would otherwise have been a failure, that would've wasted everyone's time. So really, it's a very altruistic thing to do... Especially if you're rubbish at giving presents.
@jensraab2902
@jensraab2902 7 жыл бұрын
+Simon N. Simonsen "So really, it's a very altruistic thing to do." - I don't think so. Consider all your colleagues looking at your very nice present (which you bought yourself for yourself) thinking "why did I get a crappy present?!?" and getting envious! :-p
@WiigWiig
@WiigWiig 7 жыл бұрын
Everyone buys their own present, thinking they got one over on the system, not realizing that not a single gift was exchanged by anybody.
@lyricbot8513
@lyricbot8513 5 жыл бұрын
But the other person who picked their own name will speak up
@stewartbugler
@stewartbugler 5 жыл бұрын
Ted Jones exactly why i looked at the replies
@CrystalClearMaths
@CrystalClearMaths 2 жыл бұрын
I used to work in an office with just one colleague. Every Christmas, the two of us would have a Secret Santa! It worked really well.
@ZenoDovahkiin
@ZenoDovahkiin 4 жыл бұрын
I love how on this channel, they had to specify *substandard* calculator to make the gift unappealing.
@joycelinlgbtq
@joycelinlgbtq 4 жыл бұрын
Matt Parker has a BAMBOO caclculator made from BAMBOO that he'd like to introduce you to. Oh, and did i mention its BAMBOO?
@TRRailfan
@TRRailfan 3 жыл бұрын
A superstandard calculator would be very appealing
@JohnChencoughcough
@JohnChencoughcough 7 жыл бұрын
A nice thing about Dr. Fry's method is that it makes sure that the entire group has a single complete circle of gift giving. With a sufficiently large group, I tend to find that Secret Santa results in isolated groups of gift givers.
@JonathanLidbeck
@JonathanLidbeck Жыл бұрын
Exactly, and that weakens the claim that the system is entirely secret--once you learn the identity of your recipient anyway. You have also learned that you are not their recipient.
@Xeverous
@Xeverous 7 жыл бұрын
Unpacks present... *another klein bottle*
@polixstar8249
@polixstar8249 7 жыл бұрын
just like i wanted
@ConfuzzledTomato
@ConfuzzledTomato 6 жыл бұрын
May be ppl think u stink
@1224chrisng
@1224chrisng 5 жыл бұрын
*thanks Cliff*
@thomasw4422
@thomasw4422 5 жыл бұрын
Klien bottle guy has an easy job of picking
@tamarpeer261
@tamarpeer261 5 жыл бұрын
I really wanna like your comment. But I can't.
@Sharkon36
@Sharkon36 7 жыл бұрын
Let's be honest, a Hannah Fry video is the best Christmas present
@lucasbernard5304
@lucasbernard5304 7 жыл бұрын
exactly what I was thinking
@FireAngelOfLondon
@FireAngelOfLondon 7 жыл бұрын
Sharkon36+ UnM, no. A video? A date would be a lot better...
@hitlife29
@hitlife29 7 жыл бұрын
definitely
@kidkecleon
@kidkecleon 5 жыл бұрын
3 people never works, if A picks B, then obviously A is getting a gift from c.
@Unc3
@Unc3 5 жыл бұрын
unless someone picks himself
@morganbegg3535
@morganbegg3535 5 жыл бұрын
But what if B picks A?
@9nikolai
@9nikolai 5 жыл бұрын
@@morganbegg3535 Then C picks themselves and they start over again.
@EclipsedLuna-cx3ff
@EclipsedLuna-cx3ff 5 жыл бұрын
@@mathygamba Let's say that A is giving a gift to B. C cannot give a gift to B because A is already doing that. C obviously cannot give a gift to him/herself so C can only give a gift to A. B can then only give a gift to C.
@calendars4
@calendars4 5 жыл бұрын
Why didn’t I think of this
@Dezey.a
@Dezey.a 4 жыл бұрын
When I did a secret santa with my friends we used an app that chose for us and it emailed us a list of what the person likes within the budget
@lilianat8413
@lilianat8413 4 жыл бұрын
Dezeya what app?
@aki-lucky8345
@aki-lucky8345 4 жыл бұрын
Wow
@yodasoja2011
@yodasoja2011 4 жыл бұрын
And if the app maker was smart, they'd use this algorithm to ensure a constant run time, especially for large groups. With the number of retries possible, a group of 20 people could take an hour to run (if it was unlucky enough to need redraws multiple times)
@xander.deanna
@xander.deanna 4 жыл бұрын
Michael Arnold if the app was smart it wouldn’t need redraws because it wouldn’t let you pick yourself.
@yodasoja2011
@yodasoja2011 4 жыл бұрын
@@xander.deanna yeah...by using the algorithm described in this video. If it used the first algorithm described in this video, it could get to the last person's turn to draw and have no options because only their name is left, thus forcing a redraw.
@trolleymouse
@trolleymouse 7 жыл бұрын
> another klein bottle GEE I WONDER WHO BOUGHT THAT
@eddotron1224
@eddotron1224 7 жыл бұрын
TrolleyMouse oh thanks Cliff, again....
@blanchild
@blanchild 7 жыл бұрын
ahahahah
@gmandurj40
@gmandurj40 7 жыл бұрын
I hope to one day be as passionate about anything as Cliff is about Klein Bottles.
@BlobVanDam
@BlobVanDam 7 жыл бұрын
I would love to get a Klein bottle from Cliff as a secret Santa gift. In fact, that's now my life goal.
@Supermario0727
@Supermario0727 7 жыл бұрын
TrolleyMouse xDDD
@ieyke
@ieyke 7 жыл бұрын
This is exactly the type of mostly pointless math that I'd sit around pondering.
@user-cu1so2wf2g
@user-cu1so2wf2g 5 жыл бұрын
I got this as an exam question
@JonathanSharman
@JonathanSharman 5 жыл бұрын
@Ben Chermside Are you forgetting the shuffle?
@jubileeYAVEL
@jubileeYAVEL 4 жыл бұрын
I know right!
@user-jn4sw3iw4h
@user-jn4sw3iw4h 4 жыл бұрын
​@@JonathanSharman Actually Ben is correct on this one (i was looking through the comments to see if anyone had beaten me to that remark) The process as explained: - shuffle the numbers (you are/ you are buying for are the same on each card) - cut the cards in half and shift 'you are buying for' 1 position to the left or right (the fact that this guarantees on-one is buying for themselves, is actually the stated goal of doing it this way). - pick up a bundle. (end up exactly in the situation Ben described, if you see who picks up which bundle) You get a gift from 1 neighbour and give to the other (same direction for all involved), the only thing that actually got shuffled is which number is assigned to each person (the extra variable introduced to make the rest work) With an extra step, you can get this to work though. If after shuffling and shifting 1, you staple the new sets back together (keeping the 'no-one picks themselves' fix intact), then shuffle again.
@vladimirlenin5637
@vladimirlenin5637 3 жыл бұрын
Mostly important maths is the best kind of maths because if you are right you feel important and if your wrong it doesn't matter
@noahdoss1967
@noahdoss1967 2 жыл бұрын
Secret Santa appears to work differently in Britain. In the US, you don’t know who is going to buy you a present, but when you give/get the present it’s revealed
@angusmcnay5449
@angusmcnay5449 2 жыл бұрын
You and I must live in a different US
@stellasdoesstuff
@stellasdoesstuff 2 жыл бұрын
I've done it both ways in the US. I even had a secret santa where it went over a few weeks, and each week was a gift, and we got revealed on the last gift
@abigaillemonade1497
@abigaillemonade1497 2 жыл бұрын
I did that and I'm in the uk
@toffinabof1353
@toffinabof1353 2 жыл бұрын
For me it's always been, pick names, don't tell anyone who has who, give presents, awkwardly laugh at the reveal of the person who got you after you open. I'm in the UK
@LMI101
@LMI101 2 жыл бұрын
That is white elephant
@mucuslime
@mucuslime 4 жыл бұрын
I remember doing a gift exchange where you bought a present, then everyone was handed a random present. Then, a story was read, and with a certain keyword, the gifts would move left or right with one keyword for each direction. Once the story was over, everyone opened the present they had. It’s not really a secret santa, but how random is it? Would it not just depend entirely on the amount of keywords?
@elliottlikesplants
@elliottlikesplants 4 жыл бұрын
Mucus this sounds similar to a white elephant gift exchange
@GenericSupervillain3
@GenericSupervillain3 4 жыл бұрын
It's not really random at all, it's actually predetermined, assuming the story was already written and not being made up on the spot by the exchangers.
@cassio_lemos
@cassio_lemos 2 жыл бұрын
Actually it is random since the distribution of the gifts was random. The story just doesn't affect the randomness, it only realigns the order of the gifts and the order of the receivers, but the randomness is the same.
@planetearth8044
@planetearth8044 2 жыл бұрын
I read this as each person got the present that they gave out, wouldn't that be a funny coincidence?
@macronencer
@macronencer 7 жыл бұрын
I actually ran a Secret Santa in an office once, and I came up with a solution involving an elaborate Excel spreadsheet and the random() formula function, plus a bit of careful printing involving keeping two as-yet-unseen sheets of paper stapled together while cutting and folding tickets. The tickets in this case actually had names on them, and were folded so that the gift recipient was not visible. It was a lot of work, but fun to design. Most people in the office thought I was bonkers, but I did manage to run a fair event by going to all that effort. Of course, there's the other problem - how to get your wrapped gift to the designated distribution point without anyone knowing that one was bought by you (e.g. by looking at the wrapping). That's actually a very hard problem to solve in an open plan office :-|
@numberphile
@numberphile 7 жыл бұрын
+macronencer that's cool
@macronencer
@macronencer 7 жыл бұрын
Thanks! I like Hannah's solution though: it's certainly simpler than mine :)
@bengski68
@bengski68 7 жыл бұрын
So in the excel sheet when playing around with random() and such, how did you ensure a derangement? That is, how did you ensure that no one was assigned to themselves?
@Shadowstray
@Shadowstray 7 жыл бұрын
I was just writing a macro for this earlier today... Not an elegant solution, but it basically has two columns. Givers in one, receivers in the other. At each step the macro goes down the second column and picks a random person from the first. And then I've got checks to make sure the giver doesn't match the receiver, and an extra loop to make sure nobody gets picked as receiver more than once. The trick though, is having a friend in another department, who can run the macro, mail each giver the name of their partner anonymously, and keep the resulting list for potential tracking purposes. Just in case someone fails to deliver a gift or delivers something seriously inappropriate.
@natfailsyoutube8163
@natfailsyoutube8163 7 жыл бұрын
+Shadowstray Off the top of my head, why not sort the people randomly then have the person they buy for be the person below them (or the person at the top for the bottom-most name, of course you can still do this part in a 2nd column with a simple formula). While it's not as random as it could be as it won't make small subsets of the total list buying presents for each other, my intuition is that that is not necessarily desireable; and besides this would be quick to implement and probably easier to confirm that it is working relatively bug free ;) EDIT: damn it; it's the algorithm suggested in the video... I just got to that part. Oddly it doesn't mention the lack of randomness of the method, that's a bit disappointing for a Numberphile video.
@otakuribo
@otakuribo 7 жыл бұрын
"Derangement" has got to be my favorite mathematical term ever ever.
@KirbyTheKirb
@KirbyTheKirb 7 жыл бұрын
Elliot Grey I agree. It is a great term.
@Mic_Glow
@Mic_Glow 4 жыл бұрын
Sounds like a parody animated series title.
@deadmeat1471
@deadmeat1471 4 жыл бұрын
Theres lots of degeneracy in physics too
@Platina_
@Platina_ 4 жыл бұрын
Not to burst your bubble, but it's actually 'de-arrangement' XD
@daddymuggle
@daddymuggle 4 жыл бұрын
The 3 person game is worse than stated: If A chooses A, fail. If A chooses B, then B must choose C and C choose A, else fail. => A knows full outcome. If A chooses C, then B must choose A, C choose B, else fail. Those are the only two valid selections, hence all players know who their Santa is.
@anastasiaklyuch2746
@anastasiaklyuch2746 4 жыл бұрын
Also if A choses C and B picks B, then B has to pick a second card but will now know that card B will be taken by C!
@jps76
@jps76 4 жыл бұрын
The game fails Everytime on the premise that it takes only one person to know who their secret santa for the game to fail. But the premise that all players will know who their secret Santa all the time...let's test that. A picks B. B knows he can only get A or C validly. Assume on the first try that B doesn't get himself. If B gets A, then the game will ultimately be a wash when C picks C. At this point, A knows the B can only get C. What does C know? Assuming the perfect condition where no one picks themselves, C know that A got B or C. C knows that B got A or C. My question is, in this perfect yet possible situation, is there a case where C will not know if he's getting a gift from A or B? My guess is that this is possible, but someone prove me wrong because I can't think no more.
@anastasiaklyuch2746
@anastasiaklyuch2746 4 жыл бұрын
@@jps76 Actually, since there is only two valid permutations with 3 players, then regardless of your turn, you will know who your SS is. Once a game with no self-pulling has been played, (lets call them L M and N for the random order of pulling,) M will have either L or N card in his hand, and if he has L, then L has to have N (else N picked himself) and N have M, so M knows his SS. 3-man Secret Santa is impossible.
@daddymuggle
@daddymuggle 4 жыл бұрын
@@jps76 in the three person game, there are only two valid outcomes. That's not a premise, it's a conclusion. Now, your question is whether a player can be unaware of who their secret santa is. The answer is yes, they can if they don't understand the game. That's certainly a possibility. Here are the two valid outcomes: 1. A -> B -> C -> A 2. A -> C -> B -> A Another way of understanding this is: you can't give to yourself. Therefore you can't give to your own secret santa. (For otherwise, the third person would have to give to them self). It follows that your secret santa is whoever you aren't giving to.
@anastasiaklyuch2746
@anastasiaklyuch2746 4 жыл бұрын
@@Not_an_alligator well DUH
@pastaisyummy1110
@pastaisyummy1110 4 жыл бұрын
Me: *should be productive* KZbin: here's a video of a Mathmatican explaining how to make the most fair secret santa using math
@hugoclarke3284
@hugoclarke3284 3 жыл бұрын
@Roger Loquitur Equal probability
7 жыл бұрын
Isn't anonymity violated in any case with three people anyways? Everyone knows that the person that bought their present is the one they didn't buy the present for.
@jasonc8672
@jasonc8672 7 жыл бұрын
If I am A and I picked B name, A still could have been picked by B or C. My pick has no bearing on that, right?
7 жыл бұрын
Jason C You are A, you picked B. B could pick A or C, but if they pick A, C will have to pick C, which will force redoing everything. Therefore, any successful run of picks will result in A picks B, B picks C, C picks A (for some values of A, B, C).
@Paris-gy5eg
@Paris-gy5eg 7 жыл бұрын
Did you just call a Klein Bottle as a trashy present?!
@MrRishik123
@MrRishik123 7 жыл бұрын
I sense a war brewing. The klein bottle man v Hannah fry. This war would run for decades as both have loyal fans. #TeamKlein
@besserwisser4055
@besserwisser4055 7 жыл бұрын
Its not a true klein bottle
@jacksainthill8974
@jacksainthill8974 7 жыл бұрын
It's only trashy on the _inside_.
@Paris-gy5eg
@Paris-gy5eg 7 жыл бұрын
Jack Sainthill what inside?
@jacksainthill8974
@jacksainthill8974 7 жыл бұрын
Peravit Raviruchiphun Tell you later. Don't go away.
@Donteatacowman
@Donteatacowman 4 жыл бұрын
The companies I've been with that did Secret Santa, including this year, had you fill out a list of tenish categories of likes and dislikes (brands, things in the price range you'd like, themes and interests for gifts). It was also secret until the gift exchange where you reveal who you got when you give them their gift. I'm still hype for this video but I'm 45 seconds in and none of the top comments seem to mention this even though I thought it was common practice. An eternally-secret gift for a rando in your office seems like a recipe for failure and I'm not sure math will help
@NathanTAK
@NathanTAK 2 жыл бұрын
That's not really a Secret Santa then, is it? More of a Surprise Santa.
@mcd08
@mcd08 2 жыл бұрын
@@NathanTAK I always thought the secret was who was the gift giver, not the present itself lol 😆 in my workplace we did something similar too. We just wrote down 2-3 options we wanted and kept it at about 50 bucks. If someone put 2 things that, when added, gave to around 50 bucks people would buy the two things. It was awesome tbh
@lestranged
@lestranged 2 жыл бұрын
yes every time I have done it, you find out at the end who gave you a present. I used to organize one for a group of online friends ( who lives all over the world) and you had to know who gave you a gift because of the return address on the package.
@korncobb8808
@korncobb8808 2 жыл бұрын
Ive done that before!
@Leto_0
@Leto_0 2 жыл бұрын
Why would you not want to know who got you the gift? The only reason for that would be prank gifts
@puffball2059
@puffball2059 4 жыл бұрын
I’m insulted. You said a crappy present but there was a wrapped klein bottle.
@adrigax
@adrigax 4 жыл бұрын
Maybe it's a crappy klein bottle, with only 3 dimensions.
@sohamsengupta6470
@sohamsengupta6470 4 жыл бұрын
Cliff Stoll makes sales ,I get a cool blown glass bottle, we all win!
@charliedobbie8916
@charliedobbie8916 3 жыл бұрын
I reckon it'd be quite fiddly to wrap a Klein bottle...
@RoaldvdM
@RoaldvdM 3 жыл бұрын
@@charliedobbie8916 not with klein paper! just getting that out of the shop may be tricky.
@_No_Time_
@_No_Time_ 2 жыл бұрын
The guy who offered the bottle already drinked it humu humu PS: you drink a Klein bottle by doing triple lutz
@Lulink013
@Lulink013 7 жыл бұрын
but if someone picks C first, then the second person picks their own name (B), sure they will pick a new paper (A) and will know that the first person took the C paper. That person now knows every single person's paper.
@TheScientificCookie
@TheScientificCookie 7 жыл бұрын
Yup. In fact everybody will definitely know who picked what in a 3 person system. But that is through inference and not directly. Just something we overlook to simplify the problem with the given 2 rules at the start of the video.
@filipsperl
@filipsperl 7 жыл бұрын
beat me to it :)
@gr1nder07
@gr1nder07 7 жыл бұрын
There's only 3 people, so by inference everyone will know by the end. Person 2 always knows what card must be left based on what card they have. Persons 1 and 3 figure it out based on what persons 2 and 3 do
@Patrick_Bard
@Patrick_Bard 7 жыл бұрын
Thank you sir, came here to say that.
@lyricbot8513
@lyricbot8513 7 жыл бұрын
Lulink ikr
@ratatataraxia
@ratatataraxia 7 жыл бұрын
Love Hannah!
@wiertara1337
@wiertara1337 7 жыл бұрын
Yeah, it's a cool movie
@geraldmerkowitz4360
@geraldmerkowitz4360 7 жыл бұрын
There is 69 like on your comment I don't want to ruin it, it fits qiute well
@Canzandridas
@Canzandridas 7 жыл бұрын
In less than an hour, 150 likes lol
@iskrem596
@iskrem596 7 жыл бұрын
Archibald Belanus 314 now.
@cameronball3998
@cameronball3998 4 жыл бұрын
My friends and I did this a few weeks ago... there were five of us. It was a nightmare, it took us probably 20 times, not exaggerating, for someone to not get themselves. I repeatedly insisted that we should just have a computer decide for us, but they insisted we needed to do it the “traditional” way. It borderline made me mad lol
@kamekomiyamora
@kamekomiyamora 2 жыл бұрын
Oh wow :O I did this with my band, 5 people as well. First try, and no one got themselves. When the day came to give the gifts, it ended up being a circle. It wasn't my idea but I told em its supposed to be a secret, but people forgot to put names on their gifts, so we just handed it to each other 😂
@rohar8964
@rohar8964 2 жыл бұрын
SAME- and we have twins in our group and they didn’t want to get each other so it was so much harder
@NathanTAK
@NathanTAK 2 жыл бұрын
The third time they refuse the computer is when you withdraw your name from the pool
@strom51
@strom51 2 жыл бұрын
There's a website for secret santa
@BritneyHIAM
@BritneyHIAM 2 жыл бұрын
@@rohar8964 ugh twins are always so annoying
@chiragvyas2763
@chiragvyas2763 7 жыл бұрын
Hannah's laughter is positively infectious!
@LoLeanderx
@LoLeanderx 7 жыл бұрын
-Have you ever done this? -Nope. I died. 😂
@tomo8910vids
@tomo8910vids 7 жыл бұрын
Next on BuzzFeed: £5 Secret Santa Vs. £100 Secret Santa
@madatreatz
@madatreatz 7 жыл бұрын
*$, $$ or $$$
@ionlymadethistoleavecoment1723
@ionlymadethistoleavecoment1723 7 жыл бұрын
Tom Lambert I just had the thought: $5 secret Santa vs 10,000 degree knife.
@chameleonfoot
@chameleonfoot 2 жыл бұрын
5:30 Another problem here is that B can pretty easily suss out who is their secret santa, since they saw their own name and put it back, pulled out A, and then the only name left is B for C.
@MorB173
@MorB173 2 жыл бұрын
With 3 people everyone knows everyone‘s secret santa anyway. So it’s pointless to do it really since it’s never „secret“.
@gunghoun
@gunghoun 2 жыл бұрын
@@MorB173 Yes, that's a problem with a 3 person group. But the general idea remains the same no matter how large the group is. If the second last person pulls their own name and puts it back in to pick someone else, they will immediately always know who has drawn their name: the last person. If anyone ever pulls their own name, that reveals information to the whole group by narrowing down the possible gift givers for that person. In such a case it is definitely someone who picks after they do.
@kylerichardson514
@kylerichardson514 4 жыл бұрын
On your improved secret Santa you are missing a step to make it actually work. You need to make it anonymous the order that the cards are picked up in. Otherwise, by just paying attention to who came before or after them, depending on the shift, they know who is giving to them. You need to then tape the new cards together and shuffle them again before drawing.
@nipuniperera9918
@nipuniperera9918 4 жыл бұрын
That's why the cards are shuffled before being cut in two. If you're particularly paranoid, you could tape the two halves together (facing each other) and get people to pull it out of a hat.
@TheMrVengeance
@TheMrVengeance 2 жыл бұрын
@@nipuniperera9918 - Shuffling before the cut does nothing. Once you cut the card, the top says "You are 5" and the bottom says "You buy for 5". Now you shift the top row over 1 to the right to get the derangement like in the video. That means whoever picks left of you buys for you. And whoever picks right of you is who you buy for. And that means everyone knows who everyone is buying for, as long as they pay attention. You need to shuffle AFTER the cut and derangement. And the only way to do that (without making a mess) is by fixing the deranged pieces together again.
@piegolorodolfi4556
@piegolorodolfi4556 2 жыл бұрын
Yep, i noticed the Same flaw in their sistem.
@TheMarkoSeke
@TheMarkoSeke 7 жыл бұрын
To get rid off the problem of everyone getting a crappy gift, just make everyone submit their Amazon wish list for their Santa to be able to look at. That way it removes the stress from the buyer of buying something bad, and the receiver gets something they wanted :)
@erinpac
@erinpac 7 жыл бұрын
Just keep a short public list even if your secret santa group doesn't want to do that. Then if your person wants to sneak a peek (or any relatives that barely know you), they have the chance to.
@Coeurlarme
@Coeurlarme 5 жыл бұрын
@@erinpac Or write a list of things you like and don't like. I find Secret Santas to be funnier when there is a part of guessing what someone might like and being surprised by what your santa have chosen for you, rather than just it being a question of paying for an item in a list.
@Chris_Cross
@Chris_Cross 4 жыл бұрын
What if you don't have an Amazon wish list?
@MsJerrySparkle
@MsJerrySparkle 4 жыл бұрын
@Crow they might have not had time or money for it, or didn't find it. you can't really demand very specific things
@GenericSupervillain3
@GenericSupervillain3 4 жыл бұрын
Take all the stress away, everyone just buys themselves something and say it's from Secret Santa. Guaranteed success, everyone gets something they want.
@Gamesaucer
@Gamesaucer 7 жыл бұрын
I think you missed a step. If things go as you described, then you know for sure that the person who drew a pair of half cards before you is buying for you, and the person after if the one you're buying for (Or the other way around depending on which way you shifted the cards). To remedy this, you need to basically tape the cards back together after shifting them, and shuffle them again, so that the order they're picked in doesn't matter anymore, because no one knows what order the cards are in.
@cbernier3
@cbernier3 7 жыл бұрын
People pick the cards randomly, you don't just hand them out in order.
@Gamesaucer
@Gamesaucer 7 жыл бұрын
cbernier3 But even then you can know by tracking the cards that people pick and then picking the cards before or after them. There's no way to prevent that unless you shuffle them again.
@dadorse
@dadorse 7 жыл бұрын
Gamesaucer It's true, if the point of all this process is to make completely anonymous any pick, then this is definitely a flaw. It could work in some way, but in my opinion it's not rigorous.
@Gamesaucer
@Gamesaucer 7 жыл бұрын
Seth Bembeneck So this is how the proposed solution works. Say you shuffle the cards, and they end up in the order "1 6 3 7 4 5 2". Now they're cut into halves, and we end up with "1:1, 6:6, 3:3, 7:7, 4:4, 5:5, 2:2". How we shift them, and we end up with "1:6, 6:3, 3:7, 7:4, 4:5, 5:2, 2:1". You can easily see here that for whatever pair you pick, that you will be involved with the people picking the cards left and right of yours, so it's not anonymous.
@Gamesaucer
@Gamesaucer 7 жыл бұрын
Ola Kaldestad smh, learn to read before you post.
@qed456
@qed456 2 жыл бұрын
Love the cheerful energy of Prof Hannah to the extent that I only hear laugh , secret santa , laugh, Hannah's nice voice and no maths . That's fine with me !
@gritz1701
@gritz1701 4 жыл бұрын
I pulled my own name about 3 years ago, That year i got a present that i really wanted.
@klicerfn248
@klicerfn248 4 жыл бұрын
That means someone else got their own name too unless there was a odd number of people
@user-hq5fn6yv2v
@user-hq5fn6yv2v 4 жыл бұрын
@@klicerfn248 that is not true. Suppose there are 4 players, and the first one gives a present to themself, the second one gives to the 3rd one, the 3rd one gives to the 4th one, and the 4th one gives to the 2nd one.
@klicerfn248
@klicerfn248 4 жыл бұрын
@@user-hq5fn6yv2v even number of people then?
@user-hq5fn6yv2v
@user-hq5fn6yv2v 4 жыл бұрын
@@klicerfn248 with three people it's possible that you give a present to yourself, and the other two people give presents to each other.
@paytonrichards6450
@paytonrichards6450 7 жыл бұрын
with the 3 person hat thing if a picks b and b picks c then b can deduce that a picked b because b knows that a cant have a or c
@Rpodnee
@Rpodnee 7 жыл бұрын
That's true. I think you would need more people in your secret santa pool to make deductions impossible. I wonder what the minimum number of people is then?
@denniswieger172
@denniswieger172 7 жыл бұрын
if a pics c and b picks b - he has to put it back and get c so b knows that the only card left has b on it...
@toprak3479
@toprak3479 7 жыл бұрын
I thought the same but it's kind of pointless, because nobody ever does secret santa with less than 7-10 people.
@nathanl5856
@nathanl5856 7 жыл бұрын
+Rpodnee There is no minimum number that will guarantee that deductions are impossible under the "draw from a hat" system. They touched on this briefly in the video. Regardless of how many people you started with, if the 2nd to last person draws their own name they will know for sure that the last person is going to buy for them, since they will put back their name and draw the other one.
@Rpodnee
@Rpodnee 7 жыл бұрын
+Nathan L if they drew their own name they would restart the entire drawing process for everyone. I'm sure there is a minimum number that would make deductions impossible.
@TriggerMeKaNiK
@TriggerMeKaNiK 7 жыл бұрын
Hannah is love, Hannah is life.
@kymmie4lyfe
@kymmie4lyfe 4 жыл бұрын
this isn't the point of the video, but I LOVE Secret Santa at my work! :) We fill in information sheets (favorite candies, hobbies, favorite restaurant, snacks, shirt sizes, colors, etc) -- and everyone winds up with things they like. Plus we do Secret Santa for a whole week, wherein we have a gift limit amount and most of us give something small every day of the week. It's really fun and it works out super well! Plus it's fun to reveal yourself at the end of it (which is how we play).
@samrichardson630
@samrichardson630 7 жыл бұрын
The optimal solution should be: shuffle, cut, shift, staple, reshuffle. Otherwise you could choose to give or get a gift from someone just by picking the cards adjacent to the ones you saw them take. This still has the drawback that you know two people won't get each other. Shifting by a random interval would also work.
@emperorpalpatine7454
@emperorpalpatine7454 7 жыл бұрын
Brady, surely a Klein bottle is a great present! A Parker Square would have been a better example ;)
@bentoth9555
@bentoth9555 7 жыл бұрын
A Parker Square would be almost the perfect gift. Almost.
@kaizoebara
@kaizoebara 7 жыл бұрын
Worst secret santa present I ever saw was a raw (!) pork chop wrapped in a pro-wrestling magazine. P.S. It was an anonymous secret santa where people bought presents for a set amount of money and left them at a big table.
@Quicksilver_Cookie
@Quicksilver_Cookie 5 жыл бұрын
I'd argue it was one of the best presents. Usually you get something drab and useless. At least it was a funny one :D
@meloniejen8400
@meloniejen8400 4 жыл бұрын
Rip
@oskarwinters1873
@oskarwinters1873 4 жыл бұрын
hopefully wasn't for a vegan/vegetarian, otherwise that's so seriously cold office bullying.
@ClownOwO
@ClownOwO 4 жыл бұрын
MrCorvusC one time i saw someone receive a framed image of the gift giver, holding the frame
@caracaes
@caracaes 4 жыл бұрын
Apart from it being wrapped in a freaking magazine, that's a great present...
@caitepriestley881
@caitepriestley881 4 жыл бұрын
worst gift: I once received three sticks of charcoal for secret santa
@tallgoofyb
@tallgoofyb 4 жыл бұрын
caitepriestley what country? Your charcoal comes in sticks??
@imsmolandangery4274
@imsmolandangery4274 4 жыл бұрын
Like for drawing?
@lovelylinds
@lovelylinds 4 жыл бұрын
Well, maybe they want you to make them a nice charcoal drawing. 😂
@chedddargoblin
@chedddargoblin 2 жыл бұрын
My only criticism of the last method is that it’s impossible to have subgroups. My secret Santa can’t have me. For some people that’s desirable but I like the idea of having two people by random chance get each other, or even a three person group. Further, you obtain a little more information in this method, because you know your recipient can’t give you a gift, and if you obtain any more information due to carelessness or one/two people telling you (for instance to ask what gift they should get person C), you can deduce even more information about the exchanges
@CrashRaindog
@CrashRaindog 7 жыл бұрын
I really like it when Hannah talks maths to me
@CharChar2121
@CharChar2121 6 жыл бұрын
Crash Raindog me too
@reissecupfilms
@reissecupfilms 7 жыл бұрын
HOW DARE YOU CALL A KLEIN BOTTLE CRAPPY
@pmcpartlan
@pmcpartlan 7 жыл бұрын
For the record it was "another klein bottle" assuming you have loads.
@snowfloofcathug
@snowfloofcathug 7 жыл бұрын
Pete McPartlan no matter how many they will always stay awesome
@atracor
@atracor 7 жыл бұрын
Pete McPartlan you mean a storage room full of klein bottles which you can only reach with a robot? If you have less, you don't have enough!
@StraightOuttaJarhois
@StraightOuttaJarhois 7 жыл бұрын
If you already have a klein bottle you don't need another, because the one you have already contains it.
@erinlisaaulfinger9594
@erinlisaaulfinger9594 4 жыл бұрын
When I organized a Secret Santa for a group of people, we engineered it so that we (the execs) knew who nearly everyone else was getting something for. Two of us made the lists, so we also wouldn't be able to cheat and figure out who was getting us presents. It worked out pretty well. I'd say the majority of the gifts were earnest and well-thought-out. Of course, this was not an office situation, but a board of directors made up of people who were often friends, classmates, and who had been planning/hosting events together for at least one semester, if not much more.
@maximebeauchemin2100
@maximebeauchemin2100 4 жыл бұрын
I love this video, but there's another issue with the third branch that I would argue would result in a fail. If B picks B out of the hat and shuffles it back in, they now know that A picked C, and that C will have to pick B since B will keep drawing until they don't pick their own name. This scenario (where B knows everyone's secret Santa) would happen 25% of the time in this scenario. On top of that, if C sees that B put their name back in, they can also deduce all of the same information because they'd then know that A picked C
@Nikolaj11
@Nikolaj11 7 жыл бұрын
Half the office fills one hat. The other half fill another. The two groups swap hats to pull from.
@Nikolaj11
@Nikolaj11 7 жыл бұрын
Green Vein "Half the office" meaning all the people in one office split in two at random, obiously, why would they be two distinct groups based on this one-time split?
@Nikolaj11
@Nikolaj11 7 жыл бұрын
***** What are you talking about?
@Nikolaj11
@Nikolaj11 7 жыл бұрын
***** No it isn't, what in my reply specifically is problematic.
@Nikolaj11
@Nikolaj11 7 жыл бұрын
***** What does that matter if they are thought up randomly?
@Xqvvzts
@Xqvvzts 7 жыл бұрын
Because one of the rules laid out in the beginning is that "everybody has an equal chance of being picked up by anybody else". You have no chance to be picked by half of the office.
@EGarrett01
@EGarrett01 7 жыл бұрын
I just clicked on it because Hannah was in it.
@DarinMcGrew
@DarinMcGrew 5 жыл бұрын
Hmm... The times I've participated in a Secret Santa exchange, part of the game was the reveal at the final party. People had fun trying to guess who their Secret Santa was, and then they got to see whether they were correct at the end. It didn't remain anonymous beyond the final party.
@ceruchi2084
@ceruchi2084 5 жыл бұрын
I LOVED the solution here. Brilliant job, Dr. Fry. This is just the kind of twist that made me subscribe to Numberphile in the first place.
@tiberiu_nicolae
@tiberiu_nicolae 7 жыл бұрын
I was looking away and that 2:46 siren set me in apocalypse mode.
@extropian314
@extropian314 7 жыл бұрын
And it's just like the HG Wells _Time Machine_ sirne when the Morlocks are coming out.
@chrisneto
@chrisneto 7 жыл бұрын
reminds me of silent hill 1, spooky
@milanradovic97
@milanradovic97 7 жыл бұрын
extropian314 It's called an "air danger alarm" and it usually signals bombing. In some countries these alarms are tested every 5-10years, heard it once without knowing it was a test, almost crapped my pants
@Lightning-Shock
@Lightning-Shock 7 жыл бұрын
air raid siren*
@ImperiousViking
@ImperiousViking 7 жыл бұрын
not only that, but the first picker would know who everyone is buying for. If A picks B, then he knows B would have to pick C, otherwise C would pick C and there has to be a redo. If A picks C then B has to pick A and C has to pick B otherwise there is a redo.
@Momohhhhhh
@Momohhhhhh 7 жыл бұрын
Indeed, a three-person secret santa wouldn't be too smart in real life. Luckily, it still serves as a lesson in probabilities.
@asuperfrog
@asuperfrog 4 жыл бұрын
This proposed system falls apart if you can see people as they draw, because the person who picks the one on either side of you will be either the one you buy for or the one buying for you.
@JaydenNavarro
@JaydenNavarro 4 жыл бұрын
Isn't it worse than that? Even if you don't see them as they draw, as soon as they reveal their number on the whiteboard you'll know what "their number" is and can use the shift amount to easily determine who they're buying a gift for.
@joshualao
@joshualao 6 жыл бұрын
Last year, I spent an entire day figuring this one out but I wasn't smart enough to actually solve it. Ended up not going thru the secret Santa. When I saw this video I knew I'll finally get the answer. I'm glad the Internet exists. ☺️
@non-inertialobserver946
@non-inertialobserver946 7 жыл бұрын
Did Numberphile just call the klein bottle crappy?! >:(
@CommonChicken
@CommonChicken 7 жыл бұрын
Pisoi Gaming I just left a very similar comment. I'd be happy if someone got me a Klein Bottle
@entropyzero5588
@entropyzero5588 7 жыл бұрын
The emphasis was probably on the _another_ part - I'd be happy about _a_ Klein Bottle, sure - four? Not so much ;)
@ChrisBeard
@ChrisBeard 7 жыл бұрын
QR subliminal adverts work well! I've just bought a book and I don't know why!
@numberphile
@numberphile 7 жыл бұрын
+Chris Beard I don't think it's subliminal, just hidden. Unless your brain reads QR codes.
@thatweirdguyoverther
@thatweirdguyoverther 7 жыл бұрын
Numberphile doesn't your brain read QR?
@faokie
@faokie 7 жыл бұрын
Stop trying to snow crash me
@HunterBelkiran
@HunterBelkiran 7 жыл бұрын
I could happily listen to Hanna explain just about anything, I think.
@toushei
@toushei 7 жыл бұрын
This is just like a solution to James Grimes's assassin problem!
@bengski68
@bengski68 7 жыл бұрын
Right, and this is precisely the solution that he presented
@chinareds54
@chinareds54 7 жыл бұрын
The thing that Hannah didn't cover (which I guess isn't relevant) is that this solution also prevents there from being multiple separate loops (which is the main thing James was going for in the assassins game). This is actually a weakness for a Secret Santa solution, because it weakens the anonymity by 1. The one person you know for SURE cannot be buying your present is the person you are buying the present for. For complete anonymity, that should also be a possibility.
@bengski68
@bengski68 7 жыл бұрын
chinareds54 Right. It turns out that for largeish n (n≥5 is enough for this to be a decent approximation), the one-loop-derrangements (n-1)! out of the possible approximately (n!/e) derrangements, which is to say e/n out of the total possibilities. Interestingly, the fact that big-loop arrangements account for the plurality of all arrangements is exploited in the solution to the 100 prisoners problem: en.wikipedia.org/wiki/100_prisoners_problem
@DHREAVER
@DHREAVER 7 жыл бұрын
+chinareds54 which means this doesn't work at all for groups of 3 and is pretty sketchy for 4.
@Sekti42
@Sekti42 7 жыл бұрын
The proposed procedure gives a uniformly random cyclic permutation, but not a uniformly random derangement. This is unelegant, since then everyone knows one person, that they are definitely not receiving a present from (namely the person they buy a present for). Also: The example with three people is misleading, since everyone involved will learn which of the two derangements is chosen, just by considering who they have to buy a present for.
@Thundawich
@Thundawich 7 жыл бұрын
Well the first time I heard the cards solution to this sort of problem was with matt parker talking about their hitman game which needed a cyclic permutation to work
@TylerDavis0
@TylerDavis0 6 жыл бұрын
Correct, this method will never select some of the possible derangements. You would need to be able to split participants up into a random number of cycles of varying sizes in order to do that, but I'm not sure of a physical way of accomplishing that. It's simple with code.
@TomDufall
@TomDufall 6 жыл бұрын
Mathematician: Let's come up with a complex arrangement such that we get an ideal derangement with minimal risk of conflicts. Me as computer scientist: while(not valid): createNewDraw() - unless you're doing insanely large draws it's only taking a fraction of a second each time.
@ziad-explains
@ziad-explains 4 жыл бұрын
I do that for literally any mathematical application.
@rigille
@rigille 4 жыл бұрын
If createNewDraw is a random permutation the expected number of iterations is ≈ e² - e ≈ 4.7 for large numbers of people. It's not that bad even for large draws :)
@tom4794
@tom4794 4 жыл бұрын
@therainman777 He said "for large numbers of people" and "approximately", so while n is in the exact formula, the function converges (becomes closer to the approximation) as n increases, and it does so quickly enough that the exact value of n is irrelevant (it only matters that it's "large").
@tom4794
@tom4794 4 жыл бұрын
@TomDufall The flaw of this algorithm, repeating the draw on failure, is described at 6:23: it doesn't result in a uniform distribution; some outcomes are much more likely than others.
@dananskidolf
@dananskidolf 4 жыл бұрын
I wrote something like that for picking coordinates that obey a set of constraints. It ended up taking longer on average to create each coordinate than to run the main code on that coordinate. Don't optimise prematurely, but don't design code to be slow in the first place - make algorithms that give the correct answer rather than ones that guess, check and retry.
@erobed21
@erobed21 2 жыл бұрын
I built a macro in a spreadsheet that essentially did the second option - randomises the assignments, if nobody has themselves then call it complete, if someone does have themselves, re-randomise until you have a working random selection. To beef it up even more, the spreadsheet works then on using the person's logon ID to tell them who they are assigned to - so you can only see who your assignment is and not "pretend" to be other people to find out everyone else's assignment (and therefore find out who got you).
@G2097
@G2097 7 жыл бұрын
9:59 I want to know who works in an office with a colleague named 'Klapaucius', because sadly I do not.
@TheLuizSouza
@TheLuizSouza 6 жыл бұрын
That's a Sims 1 reference (I think you got that, but just in case...)
@donaldmcgillavry
@donaldmcgillavry 6 жыл бұрын
It's from Stanisłav Lem, both Klapaucius and Trurl ) en.wikipedia.org/wiki/The_Cyberiad
@rolandeauten8798
@rolandeauten8798 6 жыл бұрын
I want to work (somewhere, anywhere) with Hannah Fry 😍
@sharpfang
@sharpfang 4 жыл бұрын
Trurl, obviously!
@Porglit
@Porglit 7 жыл бұрын
0:45 Hey now, Hello Internet Vinyl is NOT junk...
@PixelBytesPixelArtist
@PixelBytesPixelArtist 7 жыл бұрын
project rèvolution!
@Porglit
@Porglit 7 жыл бұрын
Riley Russell It was included in the examples of "junk" gifts
@rileyrussell2366
@rileyrussell2366 7 жыл бұрын
Porglit I know, I don't know why I pinged you lol
@user-ph2nu9ky4e
@user-ph2nu9ky4e 7 жыл бұрын
Porglit I was about to say the same thing, untill I realised I have nothing to play it on...
@Porglit
@Porglit 7 жыл бұрын
Асен Доцински I don't either, but if it's HI then it can't be junk
@chedddargoblin
@chedddargoblin 2 жыл бұрын
I do Secret Santa with my 3 friends and we have to keep it a secret because even if you tell someone who isn’t your recipient they can most likely deduct who’s giving them a gift. PS we use elfster that handles it pretty well
@sanman2754
@sanman2754 6 жыл бұрын
I did this process this year. And I created a survey where you put a wishlist for your number rather than writing your name on the list. It has worked out rather nicely.
@ald5267
@ald5267 7 жыл бұрын
I would be very suspicious if someone in my office bought me a "Hello Internet vinyl edition" for the Secret Santa... Very. Ha!
@angelicnoah
@angelicnoah 7 жыл бұрын
Al D
@francescodantonio7312
@francescodantonio7312 7 жыл бұрын
If I'm A and I pick C from the hat I know that person B must have A, otherwise C would have himself (which he would point out), not making it anonymous.
@anonnymous6677
@anonnymous6677 7 жыл бұрын
also, if a picks c, and b picks himself, he has to put it back and take a, so he also knows who has who
@brianmoehring2834
@brianmoehring2834 7 жыл бұрын
Mc Karl: To some extent, it works in every scenario in which you know who you're giving the gift (though you just have partial information instead of complete information). You would need to use something like the card scheme to solve this.
@Snakke40
@Snakke40 7 жыл бұрын
Yeah you always have that problem with three persons that everyone knows who buys for who. Because if we assume there are no cheaters who stay with their own name, the one who buys you presents is the one you didn't draw!
@Shadowmere29
@Shadowmere29 7 жыл бұрын
You could just make a random derangement. Then for each person, use a random number generator to assign them to each position. Then, assuming that the random number generator has a perfectly uniform distribution, everyone would have exactly the same chance for any possibility.
@culwin
@culwin 7 жыл бұрын
No matter how many total people, the 2nd to last person can never pick themselves because everyone will know who the last person has (even if nobody is looking the 2nd to last person will know).
@MGJerry69
@MGJerry69 2 жыл бұрын
Hannah's answer to the last question is literally an example of "Do as I say, not as I do" moment XD
@yingo4098
@yingo4098 3 жыл бұрын
Hannah: and puts it in a bowl _shows hat_ you've lost me
@Dixavd
@Dixavd 7 жыл бұрын
Wow at 9:54 ! Does Brady force Animator Pete to always make Brady number 1 haha
@pmcpartlan
@pmcpartlan 7 жыл бұрын
Yes, it's in my contract
@zh84
@zh84 7 жыл бұрын
Pete McPartlan I also spotted the Cyberiad reference in the list of names...
@rusinsr
@rusinsr 7 жыл бұрын
But if you shift all tops 1 unit to the left, then you know you'll be buying a gift to the person on your left / next person to pick up a card!
@Ketchupplant
@Ketchupplant 7 жыл бұрын
Yea and you know that the person who picked the card that was right of yours will be buying you something.
@kujmous
@kujmous 7 жыл бұрын
rusins I think the idea is that the cards are reattached after the derangement and once again randomized. However there is a need to to have a derangement more complex than a shift/offset, because such a derangement would guarantee that no two participants could get each other.
@Ketchupplant
@Ketchupplant 7 жыл бұрын
I see. App it is.
@TeamRomeroJacobs
@TeamRomeroJacobs 7 жыл бұрын
thought the same. remember the cards have been shuffled
@Lattamonsteri
@Lattamonsteri 7 жыл бұрын
rusins the order was also shuffled in the beginning so the one card to the left isn't necessarily one integer bigger :)
@boingooingo3317
@boingooingo3317 2 жыл бұрын
I've been in 3 secret santas, one was over in Brazil with extended family. It was quite complicated, I think there was a pile of gifts on a table and people would take turns. You had two options: to either take a mystery gift from the table or 'steal' a gift that someone already had. In the case that someone had their gift taken, I think they'd either take from someone else or take a mystery gift. I know that a certain relative was allergic to chocolate but kept getting the chocolate-based gifta from the mystery presents, I forgot whether they had to keep it or choose a different present instead. But it was pretty fun!
@cringeproof100
@cringeproof100 2 жыл бұрын
That's called White Elephant!
@natewatson6962
@natewatson6962 2 жыл бұрын
You gotta stop putting chocolate in the pile
@labangrankvist2993
@labangrankvist2993 2 жыл бұрын
The funniest problem to me about the ABC example is there are also outcomes where it's simple to figure out who's buying what regardless of probability. If you're just three people playing and you're player C and end up with B's name you know for a fact that player A must be buying your gift since they can't have ended up with their own name.
@petersmythe6462
@petersmythe6462 7 жыл бұрын
One issue: You can only get mono-cyclic derangements. So for example: 123456789 Shuffle. 318742965 Cut and step. 531874296 So the graph is circular. This means several things. One of which is that there is an anonymity violation. If I'm number 1, I know that I am giving to number 3. Consequently, I know that number 3 is NOT giving to me! This is particularly noticeable for groups of 4: 1234 3241 1324 So again, I draw number 1. I know that I am giving to number 4. I also know that either 2 or 3 is giving to me. Further still, If I ask number 4 who they're giving to, it doesn't JUST give me the seemingly-irrelevant information of who they're giving to (number 2), but also the entire cycle. Because if 4 said they were giving to 2, then I'd know that 2 was giving to 3, not me, and therefore that 3 was giving to me, not themselves. Further still, if 4 doesn't know I'm giving to them, then I'm the sole proprietor of the information. 4 just gave me data they didn't have themselves. And of course, it isn't just 4 who can give me info they don't have. If 2 tells me they're giving to 3, then I know 3 is giving to me and 4 is giving to 2. If 3 tells me they're giving to me, then I know that 4 is giving to 2 and 2 is giving to 3. That means: In a cyclic group of 4, any two people sharing information is enough for the most well-informed person to know EVERYTHING, even about people not being discussed.
@MackJCM
@MackJCM 7 жыл бұрын
Equal probability of derangements was not one of the assumptions. This meets all of the assumptions, and is therefore perfect.
@kynigosthewolf4573
@kynigosthewolf4573 7 жыл бұрын
Yeah but the idea is not to share any information.
@samuelsilman6522
@samuelsilman6522 7 жыл бұрын
Peter Smythe I loved your comment!!! It blew my mind when you said that a person could give you data that he himself doesn't know.
@user-go5yw3gf6o
@user-go5yw3gf6o 7 жыл бұрын
You are only getting mono-cyclic derangements because you are placing all the tiles in a single line. Take a 12 card system for example. You could line them in 3 rows of 4. This will allow either horizontal derangement, vertical derangement or both. For added complexity you could also flip a coin. Heads steps once while tails steps twice. An appropriately sided dice could be used for larger groups. Anonymity violation only occurs if people are talking to other's about who is buying for who. In your 4 person example yes 1 piece of information from someone else can unravel the whole thing. However the more people that are added the more pieces of information you actually need. This in turn diminishes the issue. The issue is irrelevant as long as everyone plays by the rules and doesn't discuss with anyone who they are buying for which I understand can be somewhat unrealistic to expect.
@Supermario0727
@Supermario0727 7 жыл бұрын
Peter Smythe "If".
@CookieDotJar
@CookieDotJar 7 жыл бұрын
This solution has a minor issue in that you know that whoever you are buying for is definitely not buying for you.
@CookieDotJar
@CookieDotJar 7 жыл бұрын
That would solve the issue if there's an even number of participants, but with an odd number the problem still occurs.
@hindigente
@hindigente 7 жыл бұрын
You're absolutely right, although in some cases one single cycle is desirable.
@DavidVaughan00
@DavidVaughan00 7 жыл бұрын
Same problem as Enigma?
@youtubeforme7735
@youtubeforme7735 7 жыл бұрын
And hte bigger issue that you know who is buying for you. It's the person to your left.
@CookieDotJar
@CookieDotJar 7 жыл бұрын
It's not, the card shuffling sorts that issue.
@elfstarlight
@elfstarlight 4 жыл бұрын
pirate secret santa is clearly the best choice. my last workplace did it and it was actually a riot. (and is a great way to create natural team bonding)
@DocFunkenstein
@DocFunkenstein 4 жыл бұрын
Easy solution is to use two hats/bowls. Half of the group puts their name in hat A and picks from hat B, the other half puts their name in hat B and picks from hat A. Only issue there is an odd number of participants, which is easy to remedy by just picking the janitor or a temp or something.
@Bandit-23th
@Bandit-23th 7 жыл бұрын
less the 5 mins. Perfect seeing how long I last. in math class
@vitaplex1
@vitaplex1 7 жыл бұрын
finally a new video :D
@numberphile
@numberphile 7 жыл бұрын
There was one last week!?
@vitaplex1
@vitaplex1 7 жыл бұрын
Numberphile oh yes but isnt it normally 2 uploads per week?
@someguyusingyt9091
@someguyusingyt9091 7 жыл бұрын
Numberphile you can never satisfy us😈
@rikimiki12
@rikimiki12 7 жыл бұрын
Not with Hannah
@oresteszoupanos
@oresteszoupanos 7 жыл бұрын
Sneaky QR code at 7:37... ^_^
@SheWolfiie
@SheWolfiie 7 жыл бұрын
for some reason I always love how ordered probability trees are they're great 👌❤️
@MegaTinni
@MegaTinni 4 жыл бұрын
Or just arrange it through a website that does it flawlessy. You can even put in extra considerations like people of the same household cannot get eachother's names.
@alexmcgaw
@alexmcgaw 7 жыл бұрын
Great video -- this was also covered by James Grime with Matt Parker on his channel singingbanana, except it was to organise a game of Assassin (which is much more fun than secret santa) :P
@DanDart
@DanDart 7 жыл бұрын
Didn't understand instructions: assassinated my colleagues
@SenorTallon
@SenorTallon 7 жыл бұрын
Ah, I was about to say that! Gather the "real fans"! :p
@kantodream9714
@kantodream9714 7 жыл бұрын
So I'm not the first one to have noticed that :(
@cloudycloudi631
@cloudycloudi631 7 жыл бұрын
Alex McGaw I knew I had heard the same solution to a problem earlier. Couldn't quite remember where
@Guglhupfscout24
@Guglhupfscout24 7 жыл бұрын
Guess who is not getting invited to Hannah's christmas party ;)
@SmileyMPV
@SmileyMPV 7 жыл бұрын
You still have the problem that everyone knows that the one they got, didnt get them. For example, if I get to buy a present for Alice, I already know Alice must be buying a present for someone else.
@andrewphilos
@andrewphilos 7 жыл бұрын
SmileyMPV I bet you could create a variant that had that system. For example, if there are an even number of people, just split the set into two and flip the cards between them.
@SmileyMPV
@SmileyMPV 7 жыл бұрын
Andrew Weber That's even worse, now you actually know that the person you got must have you. Or in the case that you meant making two big cycles instead of one instead of making pairs, that wouldn't solve the problem. Really, the only 100% fair methods I have ever seen are either to use an online website, or to keep trying and every time anyone gets themself, redo everything.
@andrewphilos
@andrewphilos 7 жыл бұрын
SmileyMPV I think part of it is that we're actually trying to avoid small loops like that. If you have four people and A gets B, B gets C, and C gets A, then D is out in the cold. If you don't guarantee one loop like in the video, the possibility of someone getting left out is always there. Preventing the possibility of getting the same person who got you (a 2-person loop) I feel is a small price to pay. The only other option is what I offered: intentionally making smaller loops.
@markkeilys
@markkeilys 7 жыл бұрын
Then you know who is buying for who by looking at the list.. Unless you have a third party doing things which ruins the point of having a go to system for this.
@dliciouscrabmeat6355
@dliciouscrabmeat6355 7 жыл бұрын
SmileyMPV this is true, but if enough people are playing, this is not a problem at all assuming everyone keeps their mouths shut about who they are buying for.
@habus_
@habus_ 6 жыл бұрын
9:33 5 have to buy a present for 9, he knows that the last number on the table, have to buy a present for him, and the second one for 4
@evantyler8647
@evantyler8647 4 жыл бұрын
Have everyone choose their sets in secret, and move the cards together after
@rkah6187
@rkah6187 4 жыл бұрын
Then don't tell them how you arranged the cards. They don't need to hear the method behind it, just pick one
@evantyler8647
@evantyler8647 4 жыл бұрын
@@rkah6187 that works to
@majorjohnson8001
@majorjohnson8001 4 жыл бұрын
I think what was not presented well was that after shifting the top halves over, people are picking the new pairs at random. Its not "everyone picks a card, cuts it in half, and passes the top to the right." Its "shuffle, cut, shift, tape back together, pick at random." Or if you want to make it obvious, after shifting the top half to the right (or left) some amount, everyone tapes the card in front of them together and tosses it into the hat. *Then* everyone draws a card out of the hat.
@clarahowson2911
@clarahowson2911 5 жыл бұрын
Hi, I didn’t realise but my godmother got a signed version of your book for my birthday, and I had no idea that you were here on KZbin (by the way it is really cool and I absolutely love it)!
@rickseiden1
@rickseiden1 7 жыл бұрын
The CAB arrangement doesn't preserve anonymity. If B puts back their name, then pick again, they know who will be buying for them, and who they are buying for, and therefore who is buying for everyone. If A picks C, and B picks B, it must be treated as a fail.
@YasirTufekci
@YasirTufekci 7 жыл бұрын
Exactly the same as I thought! :)
@AnthonyCurley
@AnthonyCurley 7 жыл бұрын
Why is preserving anonymity important? It allows people to give crappy gifts and get away with it. I've always done secret santa where you actually give the gift in person, not anonymously, and it's always worked out with decent gifts.
@RockGodFuck
@RockGodFuck 7 жыл бұрын
+Anthony Curley because the video is literally about that?
@rmsgrey
@rmsgrey 7 жыл бұрын
If you only have 3 people, you can't have anonymity anyway - if I'm A and buying for C, I immediately know that B is buying for me (and vice versa) because the other possibility involved B buying for himself. You are correct that the penultimate person picking their own name out is a problem for larger groups, assuming they know who the last person to pick is.
@KarstenOkk
@KarstenOkk 7 жыл бұрын
+Anthony Curley Right, it's generally more about sharing the gifts equally and not getting tons of gifts for loads of people than it is about anonymity. I believe Hannah even said it somewhere like that.
@alfredshitcock260
@alfredshitcock260 7 жыл бұрын
The way Hannah talks makes me tingle
@vape9546
@vape9546 4 жыл бұрын
Yeah it's sexy
@tobiasgertz7800
@tobiasgertz7800 3 жыл бұрын
I think I'm team Hannah and not team Holly anymore
@Drew_2308
@Drew_2308 6 жыл бұрын
Never enjoyed math so much as when it's coming from Hannah Fry, and I love math.
@grayaj23
@grayaj23 2 жыл бұрын
Seeing the A is twice is likely to pic one vs the other makes me wonder if/how this is related to the Monty Hall problem. Oh! And a bonus, seeing Trurl and Klapaucius on your list of sample names makes me all kinds of happy.
@ect4093
@ect4093 7 жыл бұрын
One problem with the optimal solution: It is impossible for the person you picked to pick you, which makes it a bit less secret :D (if i understand your explanation properly).
@Aexerus
@Aexerus 7 жыл бұрын
Erik Takke not if there are only 2 people doing it
@ect4093
@ect4093 7 жыл бұрын
But playing with 2 people defeats the purpose, you know anyway who picked you :D. You are right though!
@reasonnottheneed
@reasonnottheneed 7 жыл бұрын
Erik Takke you could roll some dice to decide how many cards to shift by. The only problem, though, is that if one person finds out that they are buying for the same person who's buying for them, then everyone knows that they are buying for the same person who's buying for them. it's still anonymous conditioned on everyone following the rules, though.
@Leonardo6298
@Leonardo6298 7 жыл бұрын
For even numbers, if the shift is half the number of people, then you instantly know that you picked the person buying for you. Instead of shifting the cards, you could come up with a derangement of them and then shifting the top halves to match it. This way, you can pick the person who picked you without that being true of everyone. Although you would have to have a third party do the derangement or else you could easily see the number of buying pairs.
@hugoiwata
@hugoiwata 7 жыл бұрын
You are number six. I'M NOT A NUMBER I'M A FREE MAN!
@haylinicole7358
@haylinicole7358 2 жыл бұрын
I will definitely be suggesting this method at our next Christmas party to look extra smartical
@noraaaaa
@noraaaaa 2 жыл бұрын
it’s always a candle, blanket, or fuzzy socks
@andyli1890
@andyli1890 7 жыл бұрын
"*another Klein bottle*" I think any numberphile fan would know who's gift that was from
@ElectricityTaster
@ElectricityTaster 6 жыл бұрын
Can anyone ever have enough Klein bottles? NEIN!
@forcelifeforce
@forcelifeforce 5 жыл бұрын
It's "whose" gift.
@maxmuller445
@maxmuller445 5 жыл бұрын
@@ElectricityTaster Korrekt!
@francoistrempe
@francoistrempe 7 жыл бұрын
I hope my secret santa gets me a Hello Internet Vinyl!
@numberphile
@numberphile 7 жыл бұрын
+francoistrempe depends who pulls your name from the hat, I guess
@Grimlock1979
@Grimlock1979 6 жыл бұрын
I would just not tell that I pulled my own name. I would buy a useful present for myself, wrap it and act surprised when I unwrap it.
@GregoryTheGr8ster
@GregoryTheGr8ster 6 жыл бұрын
All I want for Christmas is Dr. Hannah.
@kujmous
@kujmous 7 жыл бұрын
But your Secret Santa is guaranteed to not be the person for whom you are Secret Santa.
@kujmous
@kujmous 7 жыл бұрын
This assumes a simple offset derangement.
@mielto1993
@mielto1993 7 жыл бұрын
another problem: you are :a b c buing for :a b c then shift: c a b a b c if you pick the first column you know that whoever pick the third column is your secret santa, and you also know that whoever picked second column is not your secret santa, so basically you know everything there is to know... you know you are c and third person is buying you a gift, you know second person is not buying you a gift therefore he is buying gift for the third person, and third person must therefore definitely be buying the gift for the second person
@kujmous
@kujmous 7 жыл бұрын
Yes. In a group of three, you can deduce everyone else's selections.
@MrTurkmenistan1000
@MrTurkmenistan1000 7 жыл бұрын
kujmous that is only true for 3 people
@douggwyn9656
@douggwyn9656 7 жыл бұрын
No, there is a solution but it does not involve people choosing in turn.
The Mathematics of Winning Monopoly
18:40
Stand-up Maths
Рет қаралды 2,9 МЛН
A Strange Map Projection (Euler Spiral) - Numberphile
12:55
Numberphile
Рет қаралды 1,3 МЛН
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 30 МЛН
Китайка и Пчелка 10 серия😂😆
00:19
KITAYKA
Рет қаралды 2,1 МЛН
WHY IS A CAR MORE EXPENSIVE THAN A GIRL?
00:37
Levsob
Рет қаралды 21 МЛН
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 26 МЛН
The mathematics of love | Hannah Fry
17:01
TED
Рет қаралды 1,2 МЛН
Does Hollywood ruin books? - Numberphile
13:03
Numberphile
Рет қаралды 418 М.
The Silver Ratio - Numberphile
16:21
Numberphile
Рет қаралды 901 М.
Newton vs Leibniz (feat. Hannah Fry) - Objectivity 190
7:53
Objectivity
Рет қаралды 393 М.
Bayesian Statistics with Hannah Fry
13:48
Stand-up Maths
Рет қаралды 357 М.
Tunnelling through a Mountain - Numberphile
8:06
Numberphile
Рет қаралды 590 М.
Zero Knowledge Proof (with Avi Wigderson)  - Numberphile
33:38
Numberphile2
Рет қаралды 254 М.
Weber's Law - Numberphile
9:03
Numberphile
Рет қаралды 952 М.
The Reciprocals of Primes - Numberphile
15:31
Numberphile
Рет қаралды 1,6 МЛН
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 719 М.
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 17 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 757 М.