I think this one is less efficient than a separate `div` and `%` (because of the intermediate array). Could you check?