the irony with this (as with all such laws) is that all you have to do is ask a mathematician to give you a function that is maximally un-manipulatable in this way, and the law would immediately be much harder to game.
but instead we insist on writing all our laws as though the only tools available to us are +-÷×, and people who recall middle school math can find ways to game them.