Re:Edsger Dijkstra's note on starting array indices at 0 (pd...
by jacobolus on Wednesday June 22, 2011 @03:12AM
(#2682098)
In python, math.floor(x / n) can be written x // n, so:
x == n * (x // n) + x % n
A convenient property to have that is held by the Python version is (for nonzero n)
This property isn't held by the Javascript variant, where there is a somewhat more complex property