MathDB
Distribution of cards

Source: VII Centroamerican and Caribbean Olympiad 2005, Problem 6

July 29, 2005
modular arithmeticinductionnumber theory proposednumber theory

Problem Statement

Let nn be a positive integer and pp a fixed prime. We have a deck of nn cards, numbered 1, 2,, n1,\ 2,\ldots,\ n and pp boxes for put the cards on them. Determine all posible integers nn for which is possible to distribute the cards in the boxes in such a way the sum of the numbers of the cards in each box is the same.