mertens_function_sieve
Calculate the Mertens function M(n) using sieve algorithms to sum Möbius function values from 1 to n for integer inputs.
Instructions
Calculate Mertens function M(n) = Σμ(k) for k=1 to n using sieve. (Domain: arithmetic, Category: sieve_algorithms)
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": "mertens_function_sieve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |