stirling_first
Calculate Stirling numbers of the first kind s(n,k) for combinatorial mathematics applications. This tool computes these signed numbers that count permutations with a specific number of cycles.
Instructions
Calculate Stirling number of the first kind s(n,k) - FIXED IMPLEMENTATION. (Domain: arithmetic, Category: combinatorial_numbers)
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_first"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| k | Yes |