Pythag Gen
pythag_genThe Pythagorean triple from m > n >= 1 and scale k >= 1. a is k(m^2-n^2), b is k(2mn), and c is k(m^2+n^2). primitive is true when k is 1, m and n are coprime, and they have opposite parity. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/pythag-gen
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": {
"m": "<m>",
"n": "<n>",
"k": "<k>"
},
"name": "pythag_gen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | ||
| m | Yes | ||
| n | Yes |