I'm given a number (n), an interval (i), and the number of steps (s). I want to distribute these numbers over that criteria as best as possible. The upper bounds would be n (which is critical) and lower bounds is greater than or equal to 0.75 * n (but divisible by the interval). So, if n=100, i=5, and s=6, you'd have [100, 95, 90, 85, 80, 75]. This one is easy because 100*.75 is <= s*i. How would you do n=25, i=2.5, and s=6?
This was a problem I came across while programming and was wondering if there was some mathematical concept that fit this problem.
Also, I had no idea what to tag this under.