this post was submitted on 16 Jan 2025
55 points (98.2% liked)

Ask Lemmy

27480 readers
2670 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, 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 spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust 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:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

See title

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 3 hours ago* (last edited 1 hour ago) (1 children)

Poor people have it.

Rich people need it.

If you eat it, you die.

What is it?

[–] [email protected] 2 points 1 hour ago

Tap for spoilerNothing

[–] [email protected] 3 points 4 hours ago

Everyone knows the hardest riddle of all time:

"What's in my pocket?"

You even get to keep a gold ring if you use that one!

[–] [email protected] 3 points 6 hours ago* (last edited 6 hours ago)

What has 11 heads, 2 wings and 22 legs?

AnswerA football team.

Not a particularly hard one, but I always enjoyed it.

[–] [email protected] 3 points 9 hours ago* (last edited 9 hours ago) (2 children)

Famously the hardest logic puzzle in the world: Blue Eyes

https://xkcd.com/blue_eyes.html

A group of people with assorted eye colors live on an island. They are all perfect logicians -- if a conclusion can be logically deduced, they will do it instantly. No one knows the color of their eyes. Every night at midnight, a ferry stops at the island. Any islanders who have figured out the color of their own eyes then leave the island, and the rest stay. Everyone can see everyone else at all times and keeps a count of the number of people they see with each eye color (excluding themselves), but they cannot otherwise communicate. Everyone on the island knows all the rules in this paragraph.

On this island there are 100 blue-eyed people, 100 brown-eyed people, and the Guru (she happens to have green eyes). So any given blue-eyed person can see 100 people with brown eyes and 99 people with blue eyes (and one with green), but that does not tell him his own eye color; as far as he knows the totals could be 101 brown and 99 blue. Or 100 brown, 99 blue, and he could have red eyes.

The Guru is allowed to speak once (let's say at noon), on one day in all their endless years on the island. Standing before the islanders, she says the following:

"I can see someone who has blue eyes."

Who leaves the island, and on what night?

There are no mirrors or reflecting surfaces, nothing dumb. It is not a trick question, and the answer is logical. It doesn't depend on tricky wording or anyone lying or guessing, and it doesn't involve people doing something silly like creating a sign language or doing genetics. The Guru is not making eye contact with anyone in particular; she's simply saying "I count at least one blue-eyed person on this island who isn't me."

And lastly, the answer is not "no one leaves."

The answer

The answer is >!the 100 people with blue eyes leave on the 100th night.!< Double spoiler tagged so it hopefully works on every Lemmy client.

For the logic, imagine if it were actually just three people: the guru, one brown eyes, and one blue eyes. For the sake of clarity, I'll speak through the perspective of a blue eyes in these examples. Guru says "I see someone with blue eyes." Brown eyes also sees someone with blue eyes. But I see no one with blue eyes. I deduce that I must have blue eyes, and leave that same night.

Now >!imagine there are two blue eyes, two brown eyes, and the guru. Guru says "I see someone with blue eyes." Brown eyes both see two sets of blue eyes, but I only see one set of blue eyes. I figure if the other person sees no other blue eyes, they'll leave the first night. They don't, which can only mean that they also saw someone with blue eyes, which must be me. We both leave the second night.!<

You >!can expand this logic all the way out to 100, so on the 100th night, all the blue eyes leave.!<

[–] FourPacketsOfPeanuts 5 points 8 hours ago* (last edited 7 hours ago) (1 children)

I can't see how this expands from your last case of 2 blue eyes to any more blue eyes?

When there are two blue eyed people (and you can see one of them) then the guru saying they see a blue eyed person has value because you can wait and see what the only person with blue eyes does. If they do nothing it's because the gurus statement hasn't added anything to them (they already see someone with blue eyes). And this in turn tells you something about what they must see - namely that you have blue eyes.

But how does this work when there are 3 people with blue eyes?

There isn't anyone who might see no blue eyes. And you know this, because you see at least 2 sets of blue eyes. When no-one leaves on day 1 it's because they're still not sure, because there's no circumstance where the gurus statement helped anyone determine anything. So nothing happening on day 1 doesn't add any useful info to day 2.

So the gurus statement doesn't seem to set anything in motion?

[–] davidgro 4 points 7 hours ago* (last edited 7 hours ago) (1 children)

Same way it expands to two: When there are three blue eyes, then each of them guesses they might have brown or something and there could be only two blue on the island, in which case as described those two would have left on the second night.

But they didn't... So there must be three total. Same with 4, the 3 you can see would have left on night 3 if each of them saw the other two not leave on night 2...

Leaving or not is the only communication, and what the guru really did was start a timer. It has to start at 1 even though everyone can see that there's more than one simply due to the constraints of the riddle - if the guru were allowed to say 'I see at least 50 blue eyed people' then it would start at 50 because there's no other fixed reference available. Everyone knows there's either 99 or 100, but they don't know which of those it is, so need a way to count to there. They also think everyone else can see anything from 98 to 101 depending, so it's not as straightforward as thinking the count could start at 99.

[–] FourPacketsOfPeanuts 4 points 3 hours ago (1 children)

Same way it expands to two: When there are three blue eyes, then each of them guesses they might have brown or something and there could be only two blue on the island, in which case as described those two would have left on the second night.

I don't think that's right.

Let's try it out:

Basic case: 1 brown, 1 blue. Day 1. Guru says I see someone with blue eyes, blue eye person immediately leaves. End

Next: 2 brown, 2 blue.
Day 1; Guru speaks. It doesn't help anyone immediately because everyone can see a blue eyed person, so no one leaves first night.
Day 2; The next night, everyone knows this, that everyone else can see a blue eyed person. Which tells the blue eyed people that their eyes are not brown. (They now know no-one is looking at all brown eyes). So the 2 blue eyed people who now realise their eyes aren't brown leave that night on day 2. The end

Next case: 3 brown, 3 blue (I'm arbitrarily making brown = blue, I don't think it actually matters).
Day 1, guru speaks, no-one leaves.
Day 2 everyone now knows no-one is looking at all brown. So if anyone could see only 1 other person with blue eyes at this point, they would conclude they themselves have blue. I suppose if you were one of the three blue eyed people you wouldn't know if the other blue eyed people were looking at 1 blue or more. No-one leaves that night.
Day 3 I suppose now everyone can conclude that no-one was looking at only 1 blue, everyone can see at least two blue. So if the other blue eyed people can see 2 blues that means you must have blue eyes. So all blue eyed people leave Day 3?

Hmm. Maybe I've talked my way round to it. Maybe this keeps going on, each day without departure eliminating anyone seeing that many blue eyes until you get to 100.

It just seems so utterly counterintuitive that everyone sits there for 99 nights unable to conclude anything?

[–] davidgro 2 points 1 hour ago

Yeah. It does seem counterintuitive, but it's a result of the uncertainty that what they see is what others do. So they have to communicate a number, and the only way they can is leaving or not each night to count up to it.

I thought about it more and concluded that if the guru had said "I see only blue and brown eyed people" then everyone (but her) could leave the island using the same logic, regardless of how many of each color there was (greater than zero of course because otherwise she wouldn't see that color). Same for any number of colors too as long as she lists them all and makes it clear that's all of them and doesn't include herself.

[–] [email protected] 2 points 8 hours ago (1 children)

spoilerI think the problem is underspecified: it doesnt define what happens if they get it wrong. If they get it wrong are they barred from exiting? Or can they make a guess every night? Whats stopping them from all saying blue and the boat leaving with 100 blue eyed people on night 1? Or do they only get one guess?

Also it would have saved more people if the guru had simply stated the counts they daw because everyone could count the other people and then see what color was missing (their own eye color) and they could have all left night 1.

[–] Hugin 2 points 4 hours ago* (last edited 4 hours ago)

The everybody is a perfect logician part means no one gets it wrong and no one make a guess.

They also don't say the color of their eyes when they leave. They can just use logic to figure it out.

There are some other problems with this versions wording though. Usually you need to specify that the speaker doesn't lie.

[–] Snapz 3 points 9 hours ago

A dolphin is neither a horse nor a boat.

A boat is neither a horse nor a dolphin.

A horse is neither a dolphin nor a boat.

But what is the one common thing that would happen if you were to bite any of these three things?

[–] NeoNachtwaechter 8 points 14 hours ago* (last edited 13 hours ago) (3 children)

Look at these equations:

1^3 = 1^2

1^3 + 2^3 = (1+2)^2

1^3 + 2^3 +3^3 = (1+2+3)^2

1^3 + 2^3 +3^3 +4^3 = (1+2+3+4)^2

Question:

Can it go on like this forever, is it always a true equation? If yes, why? If no, why?

[–] DreamlandLividity 5 points 11 hours ago* (last edited 10 hours ago) (1 children)

Proof by induction?

1±2±3±...±n =(1+n)*n/2

plugging that into the right side of the equation to transform it:

((1+n)*n/2)^2 = (1+n)^2*n^2/4=n^2(n^2+2n+1)/4 = (n^4 + 2n^3 +n^2)/4

If this holds for n: 1^3 + 2^3 +3^3 + ... + n^3 = (n^4 + 2n^3 +n^2)/4

Then for n+1: (n^4 + 2n^3 +n^2)/4 + (n+1)^3 =? (1+n + 1)^2*(n+1)^2/4

(n^4 + 2n^3 +n^2)/4 + (n+1)^3 =? (n^2+4n + 4)(n^2 +2n + 1)/4

(n^4 + 2n^3 +n^2)/4 + (n+1)^3 =? (n^4 + 4n^3 + 4n^2 + 2n^3 + 8n^2 + 8n + n^2 + 4n + 4)/4

(n^4 + 2n^3 +n^2)/4 + (n+1)^3 =? (n^4 + 2n^3 + n^2)/4 + (4n^3 + 12n^2 + 12n + 4)/4

(n+1)(n^2 +2n + 1) =? n^3 + 3n^2 + 3n + 1

n^3 + 2n^2 + n + n^2 + 2n + 1 =? n^3 + 3n^2 + 3n + 1

n^3 + 3n^2 + 3n + 1 =? n^3 + 3n^2 + 3n + 1

Which is obviously true.

So yes, it holds forever.


[–] NeoNachtwaechter 2 points 11 hours ago

This is the way.

[–] [email protected] 3 points 10 hours ago (1 children)
[–] DreamlandLividity 1 points 9 hours ago

The graphical proof is really nice :)

[–] [email protected] 2 points 13 hours ago (1 children)

Your math teacher might not approve of this proofThe given examples suffice to prove the general identity. Both sides are obviously degree 4 polynomials, so if they agree at 5 points (include the degenerate case 0^3 = 0^2), then they agree everywhere.


[–] NeoNachtwaechter 2 points 12 hours ago

You are right LOL: I do not approve. But somehow I like the lazy approach :)

[–] [email protected] 3 points 11 hours ago

this is a great opportunity to bring in riddles from the Kids Write Jokes tumblr. not gonna spoiler the answers for... obvious reasons.

some of my favourites:

Knock Knock

Who’s there?

Doctor Dentist

Doctor Dentist who

How can you be a Doctor and a Dentist there is not enough time

what do dogs call Italy?

dogtaly

How many sharks does it take to make a grandpa shark?

1,280,000 sharks.

what does NASA stand for.

not another spaceship aaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhh

and my all time fave

can you fart?

do it now

[–] ace_garp 18 points 20 hours ago* (last edited 20 hours ago) (2 children)

Devinettes app has about 3 or 4 riddles that I haven't been able to crack in 8 years.

https://f-droid.org/en/packages/com.workingagenda.devinettes/

It gives no answers or hints, just reports 'correct' if you type the right answer in.

[–] FourPacketsOfPeanuts 1 points 8 hours ago

"failed to install due to unknown error" :(

Do you feel like posting the riddles here?

[–] davidgro 7 points 18 hours ago (1 children)

I think if I tried that, it would only be a day or two before I went digging into the source code.

[–] [email protected] 5 points 13 hours ago (1 children)
[–] [email protected] 2 points 10 hours ago

So due to the nature of it beeing riddles it is quite possible the answer is bugged and the hash wrong. But because nobody "knows" they have the solution nobody can say it is a bug.

[–] [email protected] 9 points 18 hours ago

What rock group has four guys who don't sing?

Click for answerMount Rushmore.

[–] Rhynoplaz 18 points 21 hours ago* (last edited 21 hours ago) (2 children)

I've always been fond of:

The person who makes me, doesn't want me

The person who buys me, doesn't need me

The person who uses me, doesn't even know it

What am I?

Maybe not the hardest, but it's a good one, and most people I ask, don't get it very quickly.

I'm not sure how to spoilers the answer, so I'll just give you time to guess the answer. It's more fun that way.

[–] [email protected] 18 points 21 hours ago (2 children)
[–] Shard 1 points 12 hours ago (1 children)

Tap for spoilerI was going to say baby diapers ...

[–] [email protected] 2 points 12 hours ago

After using diapers a baby often realizes it has them on and gets irritated and makes that loudly clear for everyone else.

load more comments (1 replies)
[–] [email protected] 10 points 21 hours ago (1 children)

https://join-lemmy.org/docs/users/02-media.html

The table doesn't highlight how necessary the literal word 'spoiler' is needed after the 3 colons. Very confusing imo

load more comments (1 replies)
[–] [email protected] 9 points 18 hours ago (1 children)

What, no Riddle of the Sphinx yet?

[–] [email protected] 3 points 11 hours ago

Be the change in the world you wish to see.

[–] [email protected] 13 points 20 hours ago* (last edited 20 hours ago) (1 children)

Light as a feather, but no man can hold me for long.

AnswerA breath

load more comments (1 replies)
[–] [email protected] 16 points 21 hours ago (1 children)

What is the only number spelled alphabetically correct in english?

Click here for Answer
Forty

load more comments (1 replies)
[–] [email protected] 5 points 18 hours ago

What walks on four legs at dawn, two legs at noon, and three legs at dusk?

spoiler-titleHumans in their three stages of life: crawling at birth, walking upright in main life, and walking assisted at the end

[–] FourPacketsOfPeanuts 9 points 21 hours ago* (last edited 21 hours ago) (2 children)

Some android apps don't honour spoiler tags (Boost) :( Feel free to link to your answer somewhere instead of spoiler tagging it if you feel extra nice :)

[–] Rhynoplaz 6 points 19 hours ago

I'm using boost. I've just been scrolling very slowly.

load more comments (1 replies)
[–] [email protected] 6 points 20 hours ago* (last edited 19 hours ago) (2 children)

If you've never played Betrayal at Krondor it's full of these treasure chests that you have to solve riddles to unlock. Here's a few good ones:

Whoever has it is angry

Whoever loses it is angrier

Whoever wins it has it no more

!A Dispute!<


Brought to the table

Cut and served

Never eaten

!Cards!<


We love it more than life

We fear it more than death

The wealthy want for it

The poor have it in plenty

!Nothing!<

[–] Valmond 17 points 19 hours ago (6 children)

All the spoilers are visible for me 😔

load more comments (6 replies)
load more comments (1 replies)
load more comments
view more: next ›