stirling_numbers
Compute Stirling numbers of the first or second kind using dynamic programming for given n and k values.
Instructions
Compute Stirling numbers of the first or second kind via DP.
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": {
"n": "<n>",
"k": "<k>"
},
"name": "stirling_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | k (0-n) | |
| n | Yes | n (0-200) | |
| kind | No | 1 or 2 (default 2) |