I came across this question:
A farmer has 25 cows. These are numbered 1 to 25, and i-th cow gives i litres of milk. The farmer has 5 sons. How should he divide his cows among his sons such that each son gets the same number of cows, as well as the same amount of milk.
The way I found to solve this was to construct a magic square using numbers 1 to 25 to get 2 solutions - the set of rows, and the set of columns.
I was wondering if these 2 are the only solutions, and also what would be a good way to approach a generalisation of this problem, i.e.
How to partition the numbers $1$ to $k^2$ into $k$ subsets of equal cardinality and equal sum.
If $k$ is even, then each son selects any (k/2) from the first half of the herd, and symmetrically $k^2+1-n$ from the second half of the herd.