Prime number & factor calculator
hopi_prime_factorisation_calculatorCheck whether a whole number (2 to 1,000,000,000,000,000) is prime, break it into its prime factors in power form, count its divisors, and list them. Uses trial division. Source: https://hopi.co.uk/prime-factorisation-calculator/
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": {
"number": "<number>"
},
"name": "hopi_prime_factorisation_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | A whole number from 2 to 1,000,000,000,000,000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | ||
| isPrime | Yes | ||
| summary | Yes | ||
| divisors | Yes | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) | |
| divisorCount | Yes | ||
| primeFactors | Yes | ||
| factorisation | Yes |