Equating the coefficients of the (2r+4)-th and (r−2)-th terms of (1+x)18 using 18Ck symmetry gives r=6.
The k-th term of (1+x)18 is Tk=18Ck−1xk−1, so its coefficient is 18Ck−1.
Coefficient of the (2r+4)-th term: 18C2r+3.
Coefficient of the (r−2)-th term: 18Cr−3.
Setting them equal: 18C2r+3=18Cr−3.
By the property 18Cp=18Cq⟺p=q or p+q=18:
Case 1: 2r+3=r−3⟹r=−6 (rejected, term numbers must be positive integers).
Case 2: (2r+3)+(r−3)=18⟹3r=18⟹r=6.
Check: for r=6, the terms are the 16-th and 4-th terms of (1+x)18 (which has 19 terms total), both valid.