/sci/ needs to think
Suppose I have thought up an integer between 0 and 15 inclusive. Is it possible to deduce the number by asking me seven true or false questions if I may lie on at most one of the questions?
Will post the solution once enough thought has been generated!
>tfw /sci/ can't think outside of IQ and 0.999... = 1 threads
pls stop asking questions don't you know the universe can only take so much entropy?
>>7694597
Please do your homework alone. It's really not difficult to figure out.
>>7695221
>Will post the solution once enough thought has been generated!
If I really wanted homework help, why would I ask /sci/?
THIS IS NOT HOMEWORK
>>7695232
It's definitely a homework question for a freshman CS class.
>>7695238
That's totally possible, but it's not -my- homework question, nor do I study CS.
>>7695246
Then google is your friend, shitposting faggot.
Write the number as
[math]8 a_3 + 4 a_2 + 2 a_1 + a_0[/math]
with [math]a_i \in \{0, 1\} [/math].
>Ask if a_3 is 0.
>Ask if a_2 is 0.
>Ask if a_1 is 0.
>Ask if a_0 is 0.
>Ask if a_3 + a_2 is even.
>Ask if a_1 + a_0 is even.
For the last question either repeat question 2 or question 4 depending on the answers.
>>7695251
Google why exactly?
I have the solution for this question.
>read the OP next time
>>7695255
This is close to a complete solution.
There is actually a possible last question that we can ask which does not depend on the answers given and does not involve repeating any of the questions.
>>7695274
This question was actually generated from the end of a supervision a few weeks ago.
The point of the thread was to get discussion going on a "fun" question.
Regardless, your belief in me is not required for a discussion.
>>7695280
What the fuck is that even supposed to mean? You're just digging yourself deeper into a hole of nonsense.
>>7695287
Which part is not understandable?