benchmarks.wiki / Public workspace
AMC (AIMO validation set) / https://artofproblemsolving.com/wiki/index.php/2022_AMC_12A_Problems/Problem_9 / On Halloween 31 children walked into the principal's office asking for candy. They can be classified into three types: Some always lie; some always tell the truth; and some alterna…
Problem
Answer published by the source. Consult the official source to check your work against its answer.
problem
On Halloween children walked into the principal's office asking for candy. They can be classified into three types: Some always lie; some always tell the truth; and some alternately lie and tell the truth. The alternaters arbitrarily choose their first response, either a lie or the truth, but each subsequent statement has the opposite truth value from its predecessor. The principal asked everyone the same three questions in this order. "Are you a truth-teller?" The principal gave a piece of candy to each of the children who answered yes. "Are you an alternater?" The principal gave a piece of candy to each of the children who answered yes. "Are you a liar?" The principal gave a piece of candy to each of the children who answered yes. How many pieces of candy in all did the principal give to the children who always tell the truth?
Plain-text mathematical notation (without MathML)
On Halloween 31 children walked into the principal's office asking for candy. They can be classified into three types: Some always lie; some always tell the truth; and some alternately lie and tell the truth. The alternaters arbitrarily choose their first response, either a lie or the truth, but each subsequent statement has the opposite truth value from its predecessor. The principal asked everyone the same three questions in this order. "Are you a truth-teller?" The principal gave a piece of candy to each of the 22 children who answered yes. "Are you an alternater?" The principal gave a piece of candy to each of the 15 children who answered yes. "Are you a liar?" The principal gave a piece of candy to each of the 9 children who answered yes. How many pieces of candy in all did the principal give to the children who always tell the truth?
Original LaTeX notation
On Halloween $31$ children walked into the principal's office asking for candy. They can be classified into three types: Some always lie; some always tell the truth; and some alternately lie and tell the truth. The alternaters arbitrarily choose their first response, either a lie or the truth, but each subsequent statement has the opposite truth value from its predecessor. The principal asked everyone the same three questions in this order. "Are you a truth-teller?" The principal gave a piece of candy to each of the $22$ children who answered yes. "Are you an alternater?" The principal gave a piece of candy to each of the $15$ children who answered yes. "Are you a liar?" The principal gave a piece of candy to each of the $9$ children who answered yes. How many pieces of candy in all did the principal give to the children who always tell the truth?
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
initial import