Möbius functions of the shift and extremal operators