![]() ![]() Step 1: Loop for i -> 1 to n i.e i = 1 to i 1 to i i.e. The probability distribution is defined as follows: $G(1)$ is always $1$, $G(2)$ is always $2$ and $G(3)$ is $1$ with probability $0.5$ and $2$ with probability $0.5$.In this problem, we are given a number n. "Here is an array of three character strings, indexed from : s = $. If she says I don't know the number is 3, because an odd number can or cannot be divisible by 3.ĭoes the girl know computing addition to math? Probably. ![]() If she says yes the number is 1 because only with 1 can you be sure that any number is divisible by 1. Is it perfectly divisible by your number?" So how about asking: " I am thinking of an odd number. The most common way of describing a number is whether it's odd or even. Also, I thought out of 1, 2, and 3, if I can rule out one number by the way I frame the question, I will be left with two options. If the boy thinks of a number, the most common way to link it up to 1, 2, or 3 will be by divisibility. If she answers I don't know, compared to yes or no, it is more likely that she is confused between two numbers, ruling out one possibility. First of all I ruled out indirect ways of using reference to either of the numbers 1, 2 ,3 to frame a question, as I thought it's implicit in the question that it should challenge your thinking, not your cleverness. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |