MathLabs

Problem 1

Three players AA, BB, and CC play the following game. On each of three cards an integer is written; the three numbers p,q,rp, q, r satisfy 0<p<q<r0 < p < q < r. The three cards are shuffled and one is dealt to each player, and each player receives as many counters as the number on the card they hold. The cards are shuffled and dealt again, and this is repeated for at least two rounds (counters from earlier rounds stay with the players). After the last round, AA has 2020 counters in all, BB has 1010, and CC has 99. In the last round, BB received rr counters. Who received qq counters on the first round?
Step 5 of 6: Pinning down p=1p=1, q=4q=4, r=8r=8
r=8,10−8=2=2p  ⟹  p=1,q=13−1−8=4r=8,\quad 10-8=2=2p \implies p=1,\quad q=13-1-8=4
Detailed analysis

So r=8r=8, and BB's remaining 10−8=210-8=2 counters over two rounds must equal one of 2p, p+q, 2q2p,\,p+q,\,2q; since 2≤2p<p+q<2q2\le2p<p+q<2q, only 2p2p can equal the smallest possible value 22, so p=1p=1. Then q=13−p−r=13−1−8=4q=13-p-r=13-1-8=4.