benchmarks.wiki / Public workspace

Omni-MATH / There is a city with n citizens. The city wants to buy [i]sceptervirus[/i] tests with which it is possible to analyze the samples of several people at the same time. The result of …

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

There is a city with nn citizens. The city wants to buy [i]sceptervirus[/i] tests with which it is possible to analyze the samples of several people at the same time. The result of a test can be the following: [list] [*][i]Virus positive[/i]: there is at least one currently infected person among the people whose samples were analyzed, and none of them were healed from an earlier infection. [*][i]Antibody positive[/i]: there is at least one person who was healed from an earlier infection among the people whose samples were analyzed, and none of them are infected now. [*][i]Neutral[/i]: either all of the people whose samples were analyzed are not infected, or there is at least one currently infected person and one person who was healed from an earlier infection. (Viruses and antibodies in samples completely neutralize each other.) [/list] What is the smallest number of tests to buy if we would like to know if the sceptervirus is present now or it has been present earlier? (The samples are taken from the people at the same time. The people are either infected now, have been infected earlier, or haven't contacted the virus yet.)
Plain-text mathematical notation (without MathML)
There is a city with n citizens. The city wants to buy [i]sceptervirus[/i] tests with which it is possible to analyze the samples of several people at the same time. The result of a test can be the following:

[list]
[*][i]Virus positive[/i]: there is at least one currently infected person among the people whose samples were analyzed, and none of them were healed from an earlier infection.
[*][i]Antibody positive[/i]: there is at least one person who was healed from an earlier infection among the people whose samples were analyzed, and none of them are infected now.
[*][i]Neutral[/i]: either all of the people whose samples were analyzed are not infected, or there is at least one currently infected person and one person who was healed from an earlier infection. (Viruses and antibodies in samples completely neutralize each other.)
[/list]
What is the smallest number of tests to buy if we would like to know if the sceptervirus is present now or it has been present earlier? (The samples are taken from the people at the same time. The people are either infected now, have been infected earlier, or haven't contacted the virus yet.)
Original LaTeX notation
There is a city with $n$ citizens. The city wants to buy [i]sceptervirus[/i] tests with which it is possible to analyze the samples of several people at the same time. The result of a test can be the following:

[list]
[*][i]Virus positive[/i]: there is at least one currently infected person among the people whose samples were analyzed, and none of them were healed from an earlier infection.
[*][i]Antibody positive[/i]: there is at least one person who was healed from an earlier infection among the people whose samples were analyzed, and none of them are infected now.
[*][i]Neutral[/i]: either all of the people whose samples were analyzed are not infected, or there is at least one currently infected person and one person who was healed from an earlier infection. (Viruses and antibodies in samples completely neutralize each other.)
[/list]
What is the smallest number of tests to buy if we would like to know if the sceptervirus is present now or it has been present earlier? (The samples are taken from the people at the same time. The people are either infected now, have been infected earlier, or haven't contacted the virus yet.)

Discussion

Discussion

No discussion posts on this page yet. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. Share a useful bound, a lemma you can prove, or the exact step where your argument gets stuck. Use the posting template.

Source and history

Official source

initial import