Brocard
brocardWhether n! + 1 is a perfect square. 4! + 1 = 5^2, 5! + 1 = 11^2, and 7! + 1 = 71^2. The root is 0 when it is not a square. n runs from 1 to 12. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/brocard
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": "brocard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |