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!
@no1bro1202024 жыл бұрын
We actually did a very similar thing to this, and it also turned out very well!
@k0pstl9392 жыл бұрын
That's what I started thinking is have an impartial person
@bizziegrace2 жыл бұрын
we did the little sheets too and it was a game changer to make sure you get something somewhat like what you want
@Triantalex Жыл бұрын
??.
@065TimАй бұрын
We did this is elementary school.
@mep55005 жыл бұрын
The real problem with secret santa is that nobody actually keeps it a secret
@KucheKlizma5 жыл бұрын
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_blitz5 жыл бұрын
I always keep it secret, until we all get our gifts bc we all do a group giving
@skyjoe555 жыл бұрын
I lie about who i have
@rkah61875 жыл бұрын
@@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.
@sarahfitzgerald8014 жыл бұрын
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
@shantanukulkarni0078 жыл бұрын
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.
@shantanukulkarni0078 жыл бұрын
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
@shantanukulkarni0078 жыл бұрын
Damn I am turning into Sheldon :(
@RalphDratman8 жыл бұрын
No, you are not. I think your idea is exactly right! Why, anyway, would that person be unhappy?
@onam30008 жыл бұрын
that would defeat the purpose
@MegaKaitouKID14128 жыл бұрын
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.
@skyjoe555 жыл бұрын
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
@marykint70225 жыл бұрын
Can you you put it on the App Store?
@skyjoe555 жыл бұрын
@@marykint7022 its only very rough unfriendly processing code
@marykint70225 жыл бұрын
Oh ok never mind :)
@Jacqueline-rl8pu4 жыл бұрын
Sue Sylvester is that you?
@Melanie-yep4 жыл бұрын
There’s a website for this my friend group has used for a couple years: Sneaky Santa
@CrystalClearMaths2 жыл бұрын
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.
@v0id_d3m0nАй бұрын
haha that's fun
@Mobin928 жыл бұрын
The trick is to don't say anything if you pick your own name. That way you get to buy something for yourself. .____.
@FrostRose8 жыл бұрын
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.
@jensraab29028 жыл бұрын
+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
@WiigWiig7 жыл бұрын
Everyone buys their own present, thinking they got one over on the system, not realizing that not a single gift was exchanged by anybody.
@lyricbot85135 жыл бұрын
But the other person who picked their own name will speak up
@stewartbugler5 жыл бұрын
Ted Jones exactly why i looked at the replies
@Xeverous8 жыл бұрын
Unpacks present... *another klein bottle*
@polixstar82498 жыл бұрын
just like i wanted
@ConfuzzledTomato7 жыл бұрын
May be ppl think u stink
@1224chrisng6 жыл бұрын
*thanks Cliff*
@1TW1-m5i6 жыл бұрын
Klien bottle guy has an easy job of picking
@tamarpeer2615 жыл бұрын
I really wanna like your comment. But I can't.
@trolleymouse8 жыл бұрын
> another klein bottle GEE I WONDER WHO BOUGHT THAT
@eddotron12248 жыл бұрын
TrolleyMouse oh thanks Cliff, again....
@blanchild8 жыл бұрын
ahahahah
@gmandurj408 жыл бұрын
I hope to one day be as passionate about anything as Cliff is about Klein Bottles.
@BlobVanDam8 жыл бұрын
I would love to get a Klein bottle from Cliff as a secret Santa gift. In fact, that's now my life goal.
@Supermario07277 жыл бұрын
TrolleyMouse xDDD
@kidkecleon5 жыл бұрын
3 people never works, if A picks B, then obviously A is getting a gift from c.
@Unc35 жыл бұрын
unless someone picks himself
@morganbegg35355 жыл бұрын
But what if B picks A?
@9nikola5 жыл бұрын
@@morganbegg3535 Then C picks themselves and they start over again.
@EclipsedLuna-cx3ff5 жыл бұрын
@@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.
@calendars45 жыл бұрын
Why didn’t I think of this
@ZenoDovahkiin4 жыл бұрын
I love how on this channel, they had to specify *substandard* calculator to make the gift unappealing.
@joycelinlgbtq4 жыл бұрын
Matt Parker has a BAMBOO caclculator made from BAMBOO that he'd like to introduce you to. Oh, and did i mention its BAMBOO?
@TRRailfan3 жыл бұрын
A superstandard calculator would be very appealing
@him050Ай бұрын
Certainly not an FX99!
@noahdoss19672 жыл бұрын
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
@angusmcnay54492 жыл бұрын
You and I must live in a different US
@stellasdoesstuff2 жыл бұрын
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
@abigaillemonade14972 жыл бұрын
I did that and I'm in the uk
@toffinabof13532 жыл бұрын
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
@LMI1012 жыл бұрын
That is white elephant
@JohnChencoughcough7 жыл бұрын
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 Жыл бұрын
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.
@Sharkon368 жыл бұрын
Let's be honest, a Hannah Fry video is the best Christmas present
@lucasbernard53048 жыл бұрын
exactly what I was thinking
@FireAngelOfLondon7 жыл бұрын
Sharkon36+ UnM, no. A video? A date would be a lot better...
@hitlife297 жыл бұрын
definitely
@Dezey.a5 жыл бұрын
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
@lilianat84134 жыл бұрын
Dezeya what app?
@aki-lucky83454 жыл бұрын
Wow
@yodasoja20114 жыл бұрын
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.deanna4 жыл бұрын
Michael Arnold if the app was smart it wouldn’t need redraws because it wouldn’t let you pick yourself.
@yodasoja20114 жыл бұрын
@@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.
@macronencer8 жыл бұрын
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 :-|
@numberphile8 жыл бұрын
+macronencer that's cool
@macronencer8 жыл бұрын
Thanks! I like Hannah's solution though: it's certainly simpler than mine :)
@bengski688 жыл бұрын
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?
@Shadowstray8 жыл бұрын
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.
@natfailsyoutube81638 жыл бұрын
+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.
@Paris-gy5eg8 жыл бұрын
Did you just call a Klein Bottle as a trashy present?!
@MrRishik1238 жыл бұрын
I sense a war brewing. The klein bottle man v Hannah fry. This war would run for decades as both have loyal fans. #TeamKlein
@besserwisser40558 жыл бұрын
Its not a true klein bottle
@jacksainthill89748 жыл бұрын
It's only trashy on the _inside_.
@Paris-gy5eg8 жыл бұрын
Jack Sainthill what inside?
@jacksainthill89748 жыл бұрын
Peravit Raviruchiphun Tell you later. Don't go away.
@ieyke8 жыл бұрын
This is exactly the type of mostly pointless math that I'd sit around pondering.
@ЛйлиТеоьДворянство5 жыл бұрын
I got this as an exam question
@JonathanSharman5 жыл бұрын
@Ben Chermside Are you forgetting the shuffle?
@jubileeYAVEL5 жыл бұрын
I know right!
@user-jn4sw3iw4h4 жыл бұрын
@@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.
@vladimirlenin56374 жыл бұрын
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
@mucuslime4 жыл бұрын
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?
@i.cantdrinkmilk4 жыл бұрын
Mucus this sounds similar to a white elephant gift exchange
@GenericSupervillain34 жыл бұрын
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_lemos2 жыл бұрын
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.
@planetearth80442 жыл бұрын
I read this as each person got the present that they gave out, wouldn't that be a funny coincidence?
@puffball20595 жыл бұрын
I’m insulted. You said a crappy present but there was a wrapped klein bottle.
@adrigax4 жыл бұрын
Maybe it's a crappy klein bottle, with only 3 dimensions.
@sohamsengupta64704 жыл бұрын
Cliff Stoll makes sales ,I get a cool blown glass bottle, we all win!
@charliedobbie89163 жыл бұрын
I reckon it'd be quite fiddly to wrap a Klein bottle...
@RoaldvdM3 жыл бұрын
@@charliedobbie8916 not with klein paper! just getting that out of the shop may be tricky.
@_No_Time_3 жыл бұрын
The guy who offered the bottle already drinked it humu humu PS: you drink a Klein bottle by doing triple lutz
@otakuribo8 жыл бұрын
"Derangement" has got to be my favorite mathematical term ever ever.
@KirbyTheKirb8 жыл бұрын
Elliot Grey I agree. It is a great term.
@Mic_Glow4 жыл бұрын
Sounds like a parody animated series title.
@deadmeat14714 жыл бұрын
Theres lots of degeneracy in physics too
@Platina_4 жыл бұрын
Not to burst your bubble, but it's actually 'de-arrangement' XD
@Donteatacowman4 жыл бұрын
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
@NathanTAK2 жыл бұрын
That's not really a Secret Santa then, is it? More of a Surprise Santa.
@mcd082 жыл бұрын
@@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
@lestranged2 жыл бұрын
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.
@korncobb88082 жыл бұрын
Ive done that before!
@Leto_02 жыл бұрын
Why would you not want to know who got you the gift? The only reason for that would be prank gifts
@TheMarkoSeke8 жыл бұрын
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 :)
@erinpac8 жыл бұрын
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.
@Coeurlarme5 жыл бұрын
@@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_Cross5 жыл бұрын
What if you don't have an Amazon wish list?
@MsJerrySparkle4 жыл бұрын
@Crow they might have not had time or money for it, or didn't find it. you can't really demand very specific things
@GenericSupervillain34 жыл бұрын
Take all the stress away, everyone just buys themselves something and say it's from Secret Santa. Guaranteed success, everyone gets something they want.
@qed4563 жыл бұрын
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 !
@cameronball39984 жыл бұрын
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
@kamekomiyamora2 жыл бұрын
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 😂
@rohar89642 жыл бұрын
SAME- and we have twins in our group and they didn’t want to get each other so it was so much harder
@NathanTAK2 жыл бұрын
The third time they refuse the computer is when you withdraw your name from the pool
@strom512 жыл бұрын
There's a website for secret santa
@BritneyHIAM2 жыл бұрын
@@rohar8964 ugh twins are always so annoying
@tomo8910vids8 жыл бұрын
Next on BuzzFeed: £5 Secret Santa Vs. £100 Secret Santa
@madatreatz8 жыл бұрын
*$, $$ or $$$
@ionlymadethistoleavecoment17237 жыл бұрын
Tom Lambert I just had the thought: $5 secret Santa vs 10,000 degree knife.
8 жыл бұрын
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.
@jasonc86728 жыл бұрын
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?
8 жыл бұрын
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).
@emperorpalpatine74548 жыл бұрын
Brady, surely a Klein bottle is a great present! A Parker Square would have been a better example ;)
@bentoth95558 жыл бұрын
A Parker Square would be almost the perfect gift. Almost.
@pastaisyummy11104 жыл бұрын
Me: *should be productive* KZbin: here's a video of a Mathmatican explaining how to make the most fair secret santa using math
@hugoclarke32843 жыл бұрын
@Roger Loquitur Equal probability
@chiragvyas27637 жыл бұрын
Hannah's laughter is positively infectious!
@Gamesaucer8 жыл бұрын
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.
@cbernier38 жыл бұрын
People pick the cards randomly, you don't just hand them out in order.
@Gamesaucer8 жыл бұрын
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.
@dadorse8 жыл бұрын
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.
@Gamesaucer8 жыл бұрын
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.
@Gamesaucer8 жыл бұрын
Ola Kaldestad smh, learn to read before you post.
@kaizoebara8 жыл бұрын
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_Cookie6 жыл бұрын
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
@meloniejen84005 жыл бұрын
Rip
@ClownOwO4 жыл бұрын
MrCorvusC one time i saw someone receive a framed image of the gift giver, holding the frame
@caracaes4 жыл бұрын
Apart from it being wrapped in a freaking magazine, that's a great present...
@FukUNerd4 жыл бұрын
@Oskar winters We get it, you're vegan
@Lulink0138 жыл бұрын
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.
@TheScientificCookie8 жыл бұрын
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.
@filipsperl8 жыл бұрын
beat me to it :)
@gr1nder078 жыл бұрын
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_Bard8 жыл бұрын
Thank you sir, came here to say that.
@lyricbot85138 жыл бұрын
Lulink ikr
@kymmie4lyfe4 жыл бұрын
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).
@chameleonfoot2 жыл бұрын
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.
@MorB1732 жыл бұрын
With 3 people everyone knows everyone‘s secret santa anyway. So it’s pointless to do it really since it’s never „secret“.
@gunghoun2 жыл бұрын
@@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.
@Sekti428 жыл бұрын
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.
@Thundawich8 жыл бұрын
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
@TylerDavis06 жыл бұрын
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.
@EGarrett018 жыл бұрын
I just clicked on it because Hannah was in it.
@petersmythe64628 жыл бұрын
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.
@MackJCM8 жыл бұрын
Equal probability of derangements was not one of the assumptions. This meets all of the assumptions, and is therefore perfect.
@kynigosthewolf45738 жыл бұрын
Yeah but the idea is not to share any information.
@samuelsilman65228 жыл бұрын
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-go5yw3gf6o8 жыл бұрын
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.
@Supermario07277 жыл бұрын
Peter Smythe "If".
@erinlisaaulfinger95945 жыл бұрын
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.
@gritz17014 жыл бұрын
I pulled my own name about 3 years ago, That year i got a present that i really wanted.
@klicerfn2484 жыл бұрын
That means someone else got their own name too unless there was a odd number of people
@ПавлоСурженко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.
@klicerfn2484 жыл бұрын
@@ПавлоСурженко even number of people then?
@ПавлоСурженко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.
@G20978 жыл бұрын
9:59 I want to know who works in an office with a colleague named 'Klapaucius', because sadly I do not.
@TheLuizSouza7 жыл бұрын
That's a Sims 1 reference (I think you got that, but just in case...)
@donaldmcgillavry6 жыл бұрын
It's from Stanisłav Lem, both Klapaucius and Trurl ) en.wikipedia.org/wiki/The_Cyberiad
@rolandeauten87986 жыл бұрын
I want to work (somewhere, anywhere) with Hannah Fry 😍
@sharpfang5 жыл бұрын
Trurl, obviously!
@Porglit8 жыл бұрын
0:45 Hey now, Hello Internet Vinyl is NOT junk...
@PixelBytesPixelArtist8 жыл бұрын
project rèvolution!
@Porglit8 жыл бұрын
Riley Russell It was included in the examples of "junk" gifts
@rileyrussell23668 жыл бұрын
Porglit I know, I don't know why I pinged you lol
@АсенДоцински8 жыл бұрын
Porglit I was about to say the same thing, untill I realised I have nothing to play it on...
@Porglit8 жыл бұрын
Асен Доцински I don't either, but if it's HI then it can't be junk
@TriggerMeKaNiK8 жыл бұрын
Hannah is love, Hannah is life.
@kylerichardson5144 жыл бұрын
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.
@nipuniperera99184 жыл бұрын
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.
@TheMrVengeance2 жыл бұрын
@@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.
@piegolorodolfi45562 жыл бұрын
Yep, i noticed the Same flaw in their sistem.
@maximebeauchemin21004 жыл бұрын
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
@ratatataraxia8 жыл бұрын
Love Hannah!
@wiertara13378 жыл бұрын
Yeah, it's a cool movie
@geraldmerkowitz43608 жыл бұрын
There is 69 like on your comment I don't want to ruin it, it fits qiute well
@Canzandridas8 жыл бұрын
In less than an hour, 150 likes lol
@iskrem5968 жыл бұрын
Archibald Belanus 314 now.
@paytonrichards64508 жыл бұрын
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
@Rpodnee8 жыл бұрын
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?
@denniswieger1728 жыл бұрын
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...
@toprak34798 жыл бұрын
I thought the same but it's kind of pointless, because nobody ever does secret santa with less than 7-10 people.
@nathanl58568 жыл бұрын
+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.
@Rpodnee8 жыл бұрын
+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.
@CrashRaindog8 жыл бұрын
I really like it when Hannah talks maths to me
@CharliMorganMusic7 жыл бұрын
Crash Raindog me too
@chedddargoblin2 жыл бұрын
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
@joshualao7 жыл бұрын
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. ☺️
@daddymuggle5 жыл бұрын
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.
@anastasiaklyuch27464 жыл бұрын
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!
@jps764 жыл бұрын
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.
@anastasiaklyuch27464 жыл бұрын
@@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.
@daddymuggle4 жыл бұрын
@@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.
@anastasiaklyuch27464 жыл бұрын
@@Not_an_alligator well DUH
@reissecupfilms8 жыл бұрын
HOW DARE YOU CALL A KLEIN BOTTLE CRAPPY
@pmcpartlan8 жыл бұрын
For the record it was "another klein bottle" assuming you have loads.
@snowfloofcathug8 жыл бұрын
Pete McPartlan no matter how many they will always stay awesome
@atracor8 жыл бұрын
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!
@23Scadu8 жыл бұрын
If you already have a klein bottle you don't need another, because the one you have already contains it.
@LoLeanderx8 жыл бұрын
-Have you ever done this? -Nope. I died. 😂
@ImperiousViking8 жыл бұрын
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.
@Momohhhhhh8 жыл бұрын
Indeed, a three-person secret santa wouldn't be too smart in real life. Luckily, it still serves as a lesson in probabilities.
@samrichardson6308 жыл бұрын
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.
@DarinMcGrew6 жыл бұрын
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.
@non-inertialobserver9468 жыл бұрын
Did Numberphile just call the klein bottle crappy?! >:(
@CommonChicken8 жыл бұрын
Pisoi Gaming I just left a very similar comment. I'd be happy if someone got me a Klein Bottle
@entropyzero55888 жыл бұрын
The emphasis was probably on the _another_ part - I'd be happy about _a_ Klein Bottle, sure - four? Not so much ;)
@tiberiu_nicolae8 жыл бұрын
I was looking away and that 2:46 siren set me in apocalypse mode.
@extropian3148 жыл бұрын
And it's just like the HG Wells _Time Machine_ sirne when the Morlocks are coming out.
@chrisneto8 жыл бұрын
reminds me of silent hill 1, spooky
@milanradovic978 жыл бұрын
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-Shock8 жыл бұрын
air raid siren*
@toushei8 жыл бұрын
This is just like a solution to James Grimes's assassin problem!
@bengski688 жыл бұрын
Right, and this is precisely the solution that he presented
@chinareds548 жыл бұрын
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.
@bengski688 жыл бұрын
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
@DHREAVER7 жыл бұрын
+chinareds54 which means this doesn't work at all for groups of 3 and is pretty sketchy for 4.
@TomDufall6 жыл бұрын
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-explains5 жыл бұрын
I do that for literally any mathematical application.
@rigille4 жыл бұрын
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 :)
@tom47944 жыл бұрын
@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").
@tom47944 жыл бұрын
@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.
@dananskidolf4 жыл бұрын
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.
@caitepriestley8814 жыл бұрын
worst gift: I once received three sticks of charcoal for secret santa
@tallgoofyb4 жыл бұрын
caitepriestley what country? Your charcoal comes in sticks??
@imsmolandangery42744 жыл бұрын
Like for drawing?
@lovelylinds4 жыл бұрын
Well, maybe they want you to make them a nice charcoal drawing. 😂
@joebykaeby8 жыл бұрын
Flirtiest Numberphile video ever?? XD
@Mewyabby8 жыл бұрын
Smiling while being female = flirting. GRAND.
@concrete_dog8 жыл бұрын
Ohoh not just the smiling :)
@joebykaeby8 жыл бұрын
+Mewyabby There's no need to put words into my mouth I just thought their interaction was cute
@valentinidk61018 жыл бұрын
True 😂😂
@JerehmiaBoaz8 жыл бұрын
You didn't see the Holly Krieger videos? The 63 and -7/4 one especially.
@ChrisBeard8 жыл бұрын
QR subliminal adverts work well! I've just bought a book and I don't know why!
@numberphile8 жыл бұрын
+Chris Beard I don't think it's subliminal, just hidden. Unless your brain reads QR codes.
@thatweirdguyoverther8 жыл бұрын
Numberphile doesn't your brain read QR?
@faokie8 жыл бұрын
Stop trying to snow crash me
@Nikolaj118 жыл бұрын
Half the office fills one hat. The other half fill another. The two groups swap hats to pull from.
@Nikolaj118 жыл бұрын
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?
@Nikolaj118 жыл бұрын
***** What are you talking about?
@Nikolaj118 жыл бұрын
***** No it isn't, what in my reply specifically is problematic.
@Nikolaj118 жыл бұрын
***** What does that matter if they are thought up randomly?
@Xqvvzts8 жыл бұрын
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.
@HunterBelkiran7 жыл бұрын
I could happily listen to Hanna explain just about anything, I think.
@sanman27546 жыл бұрын
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.
@ald52678 жыл бұрын
I would be very suspicious if someone in my office bought me a "Hello Internet vinyl edition" for the Secret Santa... Very. Ha!
@angelicnoah8 жыл бұрын
Al D
@noredine8 жыл бұрын
Is that a Klein Bottle at 0:26 , the one with the "hole"
@noredine8 жыл бұрын
it was a klein bottle , i guess i should have watched more
@mihard77888 жыл бұрын
delet this
@UMosNyu8 жыл бұрын
That joke flew right over my head...
@noredine8 жыл бұрын
You're not my general , Green
@noredine8 жыл бұрын
UMos just search for "numberphile klein"
@Dixavd8 жыл бұрын
Wow at 9:54 ! Does Brady force Animator Pete to always make Brady number 1 haha
@pmcpartlan8 жыл бұрын
Yes, it's in my contract
@zh848 жыл бұрын
Pete McPartlan I also spotted the Cyberiad reference in the list of names...
@habus_7 жыл бұрын
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
@evantyler86475 жыл бұрын
Have everyone choose their sets in secret, and move the cards together after
@rkah61875 жыл бұрын
Then don't tell them how you arranged the cards. They don't need to hear the method behind it, just pick one
@evantyler86475 жыл бұрын
@@rkah6187 that works to
@majorjohnson80015 жыл бұрын
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.
@DocFunkenstein4 жыл бұрын
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.
@vitaplex18 жыл бұрын
finally a new video :D
@numberphile8 жыл бұрын
There was one last week!?
@vitaplex18 жыл бұрын
Numberphile oh yes but isnt it normally 2 uploads per week?
@someguyusingyt90918 жыл бұрын
Numberphile you can never satisfy us😈
@rikimiki128 жыл бұрын
Not with Hannah
@oresteszoupanos8 жыл бұрын
Sneaky QR code at 7:37... ^_^
@CookieDotJar8 жыл бұрын
This solution has a minor issue in that you know that whoever you are buying for is definitely not buying for you.
@CookieDotJar8 жыл бұрын
That would solve the issue if there's an even number of participants, but with an odd number the problem still occurs.
@hindigente8 жыл бұрын
You're absolutely right, although in some cases one single cycle is desirable.
@DavidVaughan008 жыл бұрын
Same problem as Enigma?
@youtubeforme77358 жыл бұрын
And hte bigger issue that you know who is buying for you. It's the person to your left.
@CookieDotJar8 жыл бұрын
It's not, the card shuffling sorts that issue.
@francescodantonio73128 жыл бұрын
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.
@anonnymous66778 жыл бұрын
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
@brianmoehring28348 жыл бұрын
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.
@Snakke408 жыл бұрын
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!
@Shadowmere298 жыл бұрын
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.
@culwin8 жыл бұрын
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).
@exm32665 жыл бұрын
Considering that it's KZbin, before I saw the channel name I thought this was a rant about the social ramifications of anonymously exchanging holiday gifts.
@erobed212 жыл бұрын
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).
@andyli18908 жыл бұрын
"*another Klein bottle*" I think any numberphile fan would know who's gift that was from
@ElectricityTaster7 жыл бұрын
Can anyone ever have enough Klein bottles? NEIN!
@forcelifeforce6 жыл бұрын
It's "whose" gift.
@maxmuller4456 жыл бұрын
@@ElectricityTaster Korrekt!
@alexmcgaw8 жыл бұрын
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
@DanDart8 жыл бұрын
Didn't understand instructions: assassinated my colleagues
@SenorTallon8 жыл бұрын
Ah, I was about to say that! Gather the "real fans"! :p
@kantodream97148 жыл бұрын
So I'm not the first one to have noticed that :(
@cloudycloudi6318 жыл бұрын
Alex McGaw I knew I had heard the same solution to a problem earlier. Couldn't quite remember where
@Guglhupfscout248 жыл бұрын
Guess who is not getting invited to Hannah's christmas party ;)
@mechwarreir28 жыл бұрын
psst numberphile.... IT ISNT EVEN DECEMBER YET
@numberphile8 жыл бұрын
+mechwarreir2 it is around time for Secret Santa though
@trejkaz8 жыл бұрын
Yep, our office Xmas party is in 2 days and I still haven't had time to get mine.
@ryansramblingrants16588 жыл бұрын
In America, Christmas starts in October.
@hamishrae18268 жыл бұрын
In America, die
@tenedria8 жыл бұрын
assigning secret Santa should be done before December to give enough time to get the gift before malls are filled of people
@MegaTinni4 жыл бұрын
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.
@grayaj232 жыл бұрын
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.
@rusinsr8 жыл бұрын
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!
@Ketchupplant8 жыл бұрын
Yea and you know that the person who picked the card that was right of yours will be buying you something.
@kujmous8 жыл бұрын
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.
@Ketchupplant8 жыл бұрын
I see. App it is.
@TeamRomeroJacobs8 жыл бұрын
thought the same. remember the cards have been shuffled
@Lattamonsteri8 жыл бұрын
rusins the order was also shuffled in the beginning so the one card to the left isn't necessarily one integer bigger :)
@hugoiwata8 жыл бұрын
You are number six. I'M NOT A NUMBER I'M A FREE MAN!
@Bandit-23th8 жыл бұрын
less the 5 mins. Perfect seeing how long I last. in math class
@Drew_23087 жыл бұрын
Never enjoyed math so much as when it's coming from Hannah Fry, and I love math.
@v0id_d3m0nАй бұрын
What a brilliantly elegant and simple solution! Love it!
@francoistrempe8 жыл бұрын
I hope my secret santa gets me a Hello Internet Vinyl!
@numberphile8 жыл бұрын
+francoistrempe depends who pulls your name from the hat, I guess
@patrickwienhoft79878 жыл бұрын
6:30 that's wrong If B recycles, everyone knows C picked B as it is the only name left. That makes the right branch fail 50% of the time, too. So everyone is equally likely to pick each name at the end.
@KarstenOkk8 жыл бұрын
Not everyone. In this case, A and B would know. In fact, I believe that with only three people, A will always know the exact arrangement. The point is not to do Secret Santa with three people. You probably know each other well enough to get two presents for everyone.
@patrickwienhoft79878 жыл бұрын
KarstenOkk No, everyone will. C drew B himself. B recycled his own card, so he knows C drew it and A knows B put back card B too, because that's the only one he would've put back. But actually you're right. There are only two ways of permuting 3 elements without fixpoint - shifting everything to the left and shifting everything to the right. So from your own card you could always tell... So you should always play with at least 4 persons.
@KarstenOkk8 жыл бұрын
Patrick Wienhöft Ah, you're suggesting people know if someone recycled. In that case, yes. But without that knowledge, A still knows everything.
@erinpac8 жыл бұрын
No; you always know. The options are A=B, B=C, C=A and A=C, B=A, C=B. So, you know one of those 3 regardless of whether you are A, B or C, even if nobody recycles. You know who you are buying for. Therefore, you know which of those two sets it is, and you know all the assignments.
@confucheese8 жыл бұрын
3 people just doesn't work if you want to maintain anonymity, you can always figure out who picked who.
@ceruchi20846 жыл бұрын
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.
@elfstarlight4 жыл бұрын
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)
@Chewy4278 жыл бұрын
skip to 8:04
@barrivia8 жыл бұрын
I want to pick my own name so I don't have to bother buying anyone anything and I don't get a rubbish present. It's the best present of all!
@irok17 жыл бұрын
I actually did that when we drew names a month ago. I didn't say anything until now. It is going to be great
@danielcausebrook67818 жыл бұрын
*The standard "hat" system has more flaws than they mention.* If you pick your own name and replace it, you know someone after you will end up picking it. If everyone else sees you replace a card, they know this too. This reveals information, (potentially) breaching anonymity. This means that the first person is guaranteed total anonymity, but for each redraw down the line, more information is revealed about each. The second to last person will end up knowing exactly who buys for them if they redraw. *For example:* in a 'game' with 10 people, if the 7th person has to redraw, everyone knows that it is one of the next 3 people that will be buying for the 7th person. Though this doesn't strictly violate anonymity, it's not a great system as it could reveal a lot of information. Specifically, there's a 1 in 3 chance people 8, 9, and 10 have person 7. It's also known that people 1-6 do not have person 7. If this happens multiple times, that's a large loss of anonymity, especially for the last ones to draw.
@feynstein10048 жыл бұрын
Not necessarily. If you replace your card, the cards can be reshuffled. Thus the next person has no idea which card's yours and anonymity is preserved.
@feynstein10048 жыл бұрын
***** I get that. Shuffling doesn't fix all problems. But it does fix the first person OP mentioned.
@matthewsirkin96606 жыл бұрын
No it doesnt. Unless you start over, reshuffling the remaining cards wont stop people from knowing that 1-6 dont have person 7
@matthewsirkin96606 жыл бұрын
Also the 3 person example straight up doesnt work. If player A pulls C, then he knows exactly who the other people have because B can't pull himself. So by pulling C, he can deduce that B will be buying him a present
@MrAgentTurner4 жыл бұрын
I despise math but this channel manages to somehow make it interesting
@yingo40983 жыл бұрын
Hannah: and puts it in a bowl _shows hat_ you've lost me
@alfredshitcock2608 жыл бұрын
The way Hannah talks makes me tingle
@vape95465 жыл бұрын
Yeah it's sexy
@tobiasgertz78004 жыл бұрын
I think I'm team Hannah and not team Holly anymore
@ect40938 жыл бұрын
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).
@Aexerus8 жыл бұрын
Erik Takke not if there are only 2 people doing it
@ect40938 жыл бұрын
But playing with 2 people defeats the purpose, you know anyway who picked you :D. You are right though!
@reasonnottheneed8 жыл бұрын
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.
@Leonardo62988 жыл бұрын
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.
@SmileyMPV8 жыл бұрын
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.
@andrewphilos8 жыл бұрын
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.
@SmileyMPV8 жыл бұрын
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.
@andrewphilos8 жыл бұрын
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.
@markkeilys8 жыл бұрын
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.
@dliciouscrabmeat63558 жыл бұрын
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.
@Urclapped465 жыл бұрын
I’ve done 5 secret Santa’s in my life and picked my own name 3 times
@MGJerry692 жыл бұрын
Hannah's answer to the last question is literally an example of "Do as I say, not as I do" moment XD