Let n₁ < n₂ < n₃ < n₄ < n₅ be positive integers such that n₁ + n₂ + n₃ + n₄ + n₅ = 20. Then the number of such distinct arrangements (n₁, n₂, n₃, n₄, n₅) is
Given: n1<n2<n3<n4<n5,ni∈Z+
n1+n2+n3+n4+n5=20
To find: number of increasing tuples (n1,…,n5)
Plan: 1. subtract 1,2,3,4,5
2. mi=ni−i⇒non-decreasing
3. count the partitions of 5
n1≥1, n2≥2, n3≥3, n4≥4, n5≥5
mi=ni−i≥0
n1<n2<⋯<n5⇒m1≤m2≤⋯≤m5
∑ni=∑(mi+i)=∑mi+(1+2+3+4+5)
⇒20=∑mi+15⇒∑mi=5
Count non-decreasing (m1,…,m5), mi≥0, ∑mi=5
i.e. count the partitions of 5
5=5
5=4+1
5=3+2
5=3+1+1
5=2+2+1
5=2+1+1+1
5=1+1+1+1+1
Total=7
(1,2,3,4,10), (1,2,3,5,9), (1,2,3,6,8)
(1,2,4,5,8), (1,2,4,6,7), (1,3,4,5,7)
(2,3,4,5,6)
Number of arrangements=7