by RonPurewal Thu Mar 17, 2016 9:48 pm
in any case, i would never be able to remember a rule like this (i wouldn't ever be able to remember whether the rule was "add 1" or "subtract 1").
so, what i'd do instead is just turn the list into "1 through N", through addition or subtraction.
here, for instance, you have 101 through 350.
if you just subtract 100 from all of these, you have 1 through 250. that's very clearly 250 integers, so, there must be 250 integers in the original list.