Calculates the number of ways to choose r items from n kinds with repetition allowed, nHr = (n + r − 1)Cr. This counts, for example, picking 2 scoops from 3 flavours where the same flavour twice is allowed.