Take a test Sign in 中文
← Exercise 1,254 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Basic Algebra (10)
Statistics (13)
Equations (42)
Functions (30)
Polynomials (34)
Sequences (34)
Logarithm (30)
Extrema (18)
Complex Numbers (34)
Quadratic Curve(Conic section) (22)
Logic (14)

Exercises and their solutions

Exercise 1,254
Some children always lie, some always tell the truth, and some alternate (their first answer may be a lie or the truth, and each later answer has the opposite truth value). Each child was asked, in order: ``Are you a liar?'' ($5$ answered yes), ``Are you an alternater?'' ($13$ answered yes), and ``Are you a truth-teller?'' ($19$ answered yes). Each yes earned one piece of candy. How many pieces of candy did the liars receive?
← Back to Problem 1,254
Solution
  1. Let $T$, $L$, $A_1$, $A_2$ be the numbers of truth-tellers, liars, alternaters starting truthfully, and alternaters starting with a lie.
  2. Q1: only $A_2$ says yes: $A_2=5$. Q2: $L$ (lying) and $A_2$ (now truthful) say yes: $L+A_2=13$, so $L=8$. Q3: $T$, $L$ (lying), and $A_2$ (lying again) say yes: $T+L+A_2=19$, so $T=6$.
  3. Liars said yes to questions 2 and 3, so they received $2\cdot8=\boxed{16}$ pieces.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year