@rhermans Unfortunately, I wouldn't call the result convenient, as it lists all valid integers as solutions, instead of a range (or disjoint ranges). I'd then have to use Split or similar to identify consecutive ranges, perhaps even Sort results before. I am not sure this is faster than simply doing Union on the explicit list of integers of the intervals.