The integer math does not necessarily clarify the gaps. Gaps are a result of missing codes. Integer math results in truncation what could result in identical neighbor codes.
Simple example: dividing the integer range 4,5,6,7,8 by 2 results in 2,3,3,4,4. So no missing codes.
Regards,
Jaap.