Solution of Ulam's problem on binary search with two lies (Q1114408): Difference between revisions
From MaRDI portal
Set profile property. |
Set OpenAlex properties. |
||
Property / full work available at URL | |||
Property / full work available at URL: https://doi.org/10.1016/0097-3165(88)90065-9 / rank | |||
Normal rank | |||
Property / OpenAlex ID | |||
Property / OpenAlex ID: W2031876674 / rank | |||
Normal rank |
Latest revision as of 22:49, 19 March 2024
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Solution of Ulam's problem on binary search with two lies |
scientific article |
Statements
Solution of Ulam's problem on binary search with two lies (English)
0 references
1988
0 references
Someone thinks of a number between one and one million (which is just less than \(2^{20})\). Another person is allowed to ask up to twenty questions, to each of which the first person is supposed to answer only yes or no. Obviously the number can be guessed by asking first: Is the number in the first half million ? then again reduce the reservoir of numbers in the next question by one-half, and so on. Finally the number is obtained in less than \(\log_ 2(1,000,000)\). Now suppose one were allowed to lie once or twice, then how many questions would one need to get the right answer ? [\textit{S. M. Ulam}, ``Adventures of a mathematician'' (Scribner's (New York, 1976; Zbl 0352.01009), p. 281)]. We prove that Ulam's problem has the following solution: Theorem. Twenty-nine is the least number of yes-no questions sufficient to find an integer between one and one million, if up to two lies are allowed.
0 references
binary search with two lies
0 references