partitions_into_k_parts
Count the number of ways to partition an integer n into at most k parts. This mathematical tool calculates partition counts for combinatorial problems.
Instructions
Count partitions of n into at most k parts. (Domain: arithmetic, Category: partitions)
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": "partitions_into_k_parts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| k | Yes |