Problem Archive

The Möbius function, denoted $\mu(n)$, is defined as:

Let $P(a, b)$ be the number of integers $n$ in the interval $[a, b]$ such that $\mu(n) = 1$.
Let $N(a, b)$ be the number of integers $n$ in the interval $[a, b]$ such that $\mu(n) = -1$.
For example, $P(2,10) = 2$ and $N(2,10) = 4$.

Let $C(n)$ be the number of integer pairs $(a, b)$ such that:

For example, $C(10) = 13$, $C(500) = 16676$ and $C(10\,000) = 20155319$.

Find $C(20\,000\,000)$.

Solution
No solution yet. Write yours at solutions/s464.md.
Problems sourced from Project Euler · Non-commercial & educational use only · CC BY-NC-SA 4.0