We need to find the number of ordered triples (a,b,c) of non-negative integers that satisfy a+b+2c=22.
Step 1: Fix c and count (a,b).
Because 2c≤22, the integer c can take every value from 0 to 11 inclusive.
For a fixed c, rewrite the equation as
a+b=22−2c.
Let S=22−2c. Here S is a non-negative integer.
Step 2: Count non-negative solutions of a+b=S.
For any non-negative integer S, the number of ordered pairs (a,b) with a+b=S is S+1 (by the “stars and bars” formula or by listing a=0,1,…,S).
Step 3: Sum over all possible values of c.
Hence the required count is
n(A)=∑c=011[(22−2c)+1]=∑c=011(23−2c).
Step 4: Evaluate the arithmetic series.
The series 23−2c is an arithmetic progression with first term 23 and last term 23−2⋅11=1. There are 11−0+1=12 terms.
Sum of an AP = 2number of terms×(first term+last term), so
n(A)=212×(23+1)=6×24=144.
Step 5: State the answer.
Therefore, n(A)=144.
Option C which is: 144