moebius_function
Computes Moebius function values and the Mertens function up to a positive integer bound using a linear sieve, enabling number-theoretic analysis for n up to 10,000,000.
Instructions
Compute Moebius function values and Mertens function using linear sieve.
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": "moebius_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Positive integer upper bound (max 10,000,000) |