Subcontests
(4)persons exchanging coins around a table
The persons P1,P2,...,Pn−1,Pn sit around a table, in this order, and each one of them has a number of coins. In the start, P1 has one coin more than P2,P2 has one coin more than P3, etc., up to Pn−1 who has one coin more than Pn. Now P1 gives one coin to P2, who in turn gives two coins to P3 etc., up to Pn who gives n coins to P1. Now the process continues in the same way: P1 gives n+1 coins to P2, P2 gives n+2 coins to P3; in this way the transactions go on until someone has not enough coins, i.e. a person no more can give away one coin more than he just received. At the moment when the process comes to an end in this manner, it turns out that there are two neighbours at the table such that one of them has exactly five times as many coins as the other. Determine the number of persons and the number of coins circulating around the table.