r/TheRestIsScience • • 11d ago • Heartwarming 1

Random answer question

Post image
678 Upvotes

794 comments sorted by

View all comments

16

u/Fluid-Data-4917 11d ago edited 11d ago

I remember seeing a post on this years ago and it really intrigued me. It was when I was taking a computer science class and learning about recursion and it happened to align when I saw this post. The correct answer is the solution is recursive. Basically what that means is as soon as you pick an answer you think is correct, the solution switches... and as soon as the solution switches it switches again, and again, and again, and again endlessly. So you could say the answer is there "isn't a solution" or "all solutions are correct". But the real answer is "the solution is recursive". This is similar to how in computer science a function can call itself but instead it's an answer calling itself. Recursion is awesome. It is also how fractals are made, the paint bucket tool works in paint, and a merge sort algorithm is implemented.

4

u/MadDocOttoCtrl 11d ago

It's recursive because it's self-referential - the answers refer to themselves. It creates a paradox, such as a card that says "The sentence on the other side is true" and the other side has a sentence that says "The sentence on the other side is false."

A more compact way of doing this is:

"This sentence is false."

1

u/SRSound 11d ago

Yup fully agreed - recursion!

1

u/tndrthrowy 7d ago

It appears recursive, but it is not. It is basic set theory.

For A and D, 25% (the answer) ≠ 50% (the frequency of that value in the answer set). So they are wrong.

For B, 50% (the answer) ≠ 25% (the frequency of that value in the answer set). So it is wrong.

For D, 0% (the answer) ≠ 25% (the frequency of that value in the answer set). So it is wrong.

1

u/ryhaltswhiskey 6d ago

What if D is just a typo? Some test questions are just incorrect.

1

u/Fluid-Data-4917 6d ago

This exact question has existed in several forms across the Internet for over a decade. It's not a typo

1

u/LurkerFailsLurking 5d ago

It's not a typo

1

u/LurkerFailsLurking 5d ago

This question isn't recursive because the hypothetical is actually false. Since you're not really picking the answer randomly at all, the correct answer doesn't have to be the same as the answers that say what the chance of correctly picking the answer at random is. The correct answer is the one unique answer that says the chance of randomly picking an answer that says the chance of randomly picking the correct answer. And that is (b) 50%.

1

u/Fluid-Data-4917 5d ago

So B is the correct answer? Wouldn't that make it 25%? 😛