How'd you do the inequalities??
I tried that for about 20 minutes then gave up...
I got n + k - 1 for the first one, combinatorics question as well using mod, and I had to rush question 5... did it shiftily though using binary... By any chance do you know the answer for question 5b? I got 171...