mu = moebiusFunction P
The Moebius function of $P$ is a function defined at pairs of vertices of $P$ with the properties: $mu(a,a) = 1$ for all $a$ in $P$, and $mu(a,b) = -sum(mu(a,c))$ over all $a \leq c < b$.
The Moebius function of the $n$ chain is $1$ at $(a,a)$ for all $a$, $-1$ at $(a, a+1)$ for $1 \leq a < n$, and $0$ every where else.
|
The object moebiusFunction is a method function.