Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected].
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try [email protected] or [email protected]
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
view the rest of the comments
I was able to think this through by an inductive argument. Here's how I thought about it:
If you are the only person with blue eyes, you leave night 1 when you see no one else with blue eyes. I'll call this the "Algorithm for 1 Blue-Eyed Person".
Say that you have blue eyes and you see only one other person with blue eyes. You expect them to use the "Algorithm for 1 Blue-Eyed Person", but they don't leave night 1. The only way the algorithm would fail is if you yourself also has blue eyes, so you would both leave night 2. This is now the "Algorithm for 2 Blue-Eyed People".
Now say there are three blue-eyed people, including you. You look at the other two blue-eyed people and expect them to do the "Algorithm for 2 Blue-Eyed People" and leave on night 2. But they don't use the algorithm, which would only happen if you had blue eyes as well. So this becomes the next algorithm... etc.
In a group with 100 blue eyes, each of them see 99 other blue eyes and expect them to do the "Algorithm for 99 Blue-Eyed People" and leave by night 99, which doesn't happen so you all leave on night 100.
Thanks. Yes, I'm managing to absorb it now.
Though the hardest part is getting an intuition about why the "algorithm 1" "algorithm 2" thinking happens at all when they's a group of 100 people and everyone can see at least 99 blue eyed people. I get the induction, but why does anyone think 'well algorithm 1 people would leave first night' when there obviously can't be anyone in this group. The only immediate question on everyone's mind is "are there 99 blue eyed people (what I see) or 100 (me included)?"