Pascals Triangle Pattern Calculation

Number of rows (n) =