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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | Positive integer upper bound (max 10,000,000) |