Factorial Valuation
factorial_valuationThe p-adic valuation of n!, the exponent of the prime p in n!. v_2(10!) is 8, v_3(10!) is 4, and v_2(100!) is 97. p must be prime. n runs from 0 to 1000000000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/factorial-valuation
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": {
"p": "<p>",
"n": "<n>"
},
"name": "factorial_valuation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| p | Yes |