This follows post #11 rather than contradicting it.
The arithmetic for a doubly charged species is (M + 2 x 1.00728) / 2, and the analogous expression for higher charge states. Working it through once makes the reported values legible.
That is the version I use. It may not be the version that is correct.