Implemented fast calculation of Möbius inversion for a single value.