catalan_calc
Read-onlyIdempotent
Calculate the nth Catalan number or generate the full sequence from 0 to n, including combinatorial interpretations for mathematical and algorithmic use cases.
Instructions
Compute the nth Catalan number and its combinatorial interpretations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Non-negative integer index | |
| count | No | Limit sequence length (used with sequence: true) | |
| sequence | No | Return the full sequence from 0 to n (default false) |