ai) (M+N)!/M!N!
aii) 13!/10!3! (as we put three dividers in amongst the 10 coins, thus creating 4 groups.)
If Carrot hadn't put his holomorphic question on the BOS trial I would have gotten that wrong.
bi) straight forward
bii) required manipulation, I was stretched for time so I didn't finish...