Sorry, for posting so many times. There is yet another and simpler solution. Tell me if you want to know it. I don't know what it's called in english, but I learnt as the Hypergeometrical Method. It involves binomial coefficients.