Factorial, permutations (nPr) and combinations (nCr) for non-negative integers.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
n | integer | required | Total number of items (non-negative integer) |
r | integer | optional | Number chosen (for permutations/combinations) |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "combinatorics", "arguments": {"n": 10}}}'curl -s https://wingmanprotocol.com/tools/combinatorics \
-H 'Content-Type: application/json' \
-d '{"n": 10}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/combinatorics from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).