Problem

Source: IMO 1995, Problem 6, Day 2, IMO Shortlist 1995, N6

Tags: modular arithmetic, number theory, counting, IMO, imo 1995, Marcin Kuczma, prime



Let $ p$ be an odd prime number. How many $ p$-element subsets $ A$ of $ \{1,2,\dots,2p\}$ are there, the sum of whose elements is divisible by $ p$?