Let be a positive integer and a fixed prime. We have a deck of cards, numbered and boxes for put the cards on them. Determine all posible integers 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.
Solution
Given:
- is a positive integer,
- is a fixed prime number,
- We have a deck of cards, numbered ,
- We have boxes to put the cards into,
- We need to distribute the cards into these boxes such that the sum of the numbers on the cards in each box is the same.
We want to determine all possible integers for which it is possible to distribute the cards in this manner.
### Analysis:
Each card has a number from 1 to . The total sum of all card numbers is:
To divide equally among boxes, must be divisible by . Therefore, we have the condition:
### Consideration of Congruences:
1. For , either or must be true because exactly one of or is divisible by any prime .
2. Also, must be divisible by in its entirety. For this to be true, if one term contributes a factor of , the other term should must satisfy the divisibility of 2 to make the entire expression divisible by .
This condition implies both need further analysis on how multiples of can adjust in sequences of consecutive numbers.
### Main Derivation:
To fulfill , we reduce:
- If , then satisfies the equal distribution because would then include the factor , making the distribution divisible and feasible:
Given :
Here, ensures divisibility by (and ) from the construction.
Thus for even distribution among boxes .
Thus, the possible integers satisfying the condition is of the form:
This satisfies all conditions required by the problem statement for distributing the card sums evenly across boxes.