Don't count the way beyond the point. Actually, The statement should be: Given a point p between 0 and s = a_1+a_2+...a_n, it has at most (n-1)! + 1 ways to reach Sorry for any confusion.