It's actually posted on the sight ... but I did it a different way first.
17x + 3 = 16y + 10 = 15z = Total Coins.
Key: x, y, and z are INTEGERS. So, count up from 15 by 15s (z rule here) to get to the solution.
0
(t-3)/17
(t-10)/16
15
0.705882
0.3125
30
1.588235
1.25
45
2.470588
2.1875
... etc ...
3885
228.3529
242.1875
3900
229.2353
243.125
3915
230.1176
244.0625
3930
231
245
Note: Excel is such a cheat!