The entries in a certain row of Pascal's triangle are
1, n, ..., n, 1
The average of the entries in this row is 2. Find n.
Row 0: 1
Row 1: 1 1
Row 2: 1 2 1
Row 3: 1 3 3 1 ---> the average of the entries in this row is 2.