Mertens Accumulation of Möbius Values
The Möbius function is defined for positive integers by , for distinct primes , and 0 otherwise. The Mertens function is the cumulative sum of the Möbius function.[more]
The left graphic shows the first values of the Möbius function, reading right-to-left and top-to-bottom, and coded by color using red for -1, green for 0, and blue for 1. The right graphic shows the corresponding values of the Mertens function; values that are not -1, 0, or 1 are shown in levels of gray.[less]
Gauss studied the Möbius function before Möbius.
MoebiusMu is the built-in implementation of the Möbius function in Mathematica. The Möbius function returns 1 for 1 by definition.