You have 15 coins which are split to number of piles, in each step you must collect 1 coin from each pile and form a new pile and so on.
Prove that no matter how the arrangement was in the beginning you will end up in the stable case in which you have 5 piles of coins (1 with 1 coin, one with 2 coins .. till 1 with 5 coins).
It can be generalized to a number of coins N which equals N=m(m+1) where m is natural
generale case :
First you can show that because the number of pile is constant, exactly one pile should have one coin at each step.
Then by induction you can show that for each $i$ less or equal to the number of pile. There is exactly one pile with $i$ coins.