In reply to Re^4: Split range 0 to M into N non-overlapping (roughly equal) ranges. by repellent in thread Split range 0 to M into N non-overlapping (roughly equal) ranges. by BrowserUk