I have a vector/array of n elements. I want to choose m elements.
The choices must be fair / deterministic — equally many from each subsection.
With m=10, n=20 it is easy: just take every second element.
But how to do it in the general case? Do I have to calculate the LCD?
Here is a quick example:
math.ceilis used because without it, the chosen indexes will be weighted too much toward the beginning of each implicit subsection, and as a result the list as a whole.