Partition Distinct
partition_distinctThe number of partitions of n into distinct positive parts. This equals the number of partitions into odd parts. q(0) is 1 and q(5) is 3. n runs from 0 to 2000. An optional modulus reduces the count; zero is rejected. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/partition-distinct
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>"
},
"name": "partition_distinct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| mod | No |