pascaltri_generate
Generate Pascal's triangle rows and optionally return a specific zero-indexed row for combinatorics, binomial coefficients, or number-pattern tasks.
Instructions
Generate rows of Pascal's triangle, optionally return a specific row.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Number of rows to generate (1-50, default 10). | |
| nth_row | No | Return a specific row (0-indexed). |