combinatorics
Compute combinatorial number sequences and counting functions such as permutations, combinations, and binomial coefficients with optional formula output.
Instructions
Evaluate combinatorial number sequences and counting functions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operation": "<operation>",
"n": "<n>"
},
"name": "combinatorics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| n | Yes | ||
| k | No | ||
| as_formula | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||