Centroamerican 2018, problem 6
Source: 2018 Centroamerican and Caribbean Math Olympiad
June 25, 2018
combinatoricsCentroamerican
Problem Statement
A dance with 2018 couples takes place in Havana. For the dance, 2018 distinct points labeled are marked in a circumference and each couple is placed on a different point. For , let and . The dance begins at minute . On the -th minute, the couple at point (if there's any) moves to point , the couple on point (if there's any) drops out, and the dance continues with the remaining couples. The dance ends after minutes. Determine how many couples remain at the end. Note: If , the couple on stays there and does not drop out.