Hi, I am new to Gregmat.
I have some questions on how to determine the number of integers & pairs from an evenly spaced interval, and from 50 to 303. The questions are given below.
We know that, formula for Total Number of Integers in an interval (inclusive),
n = Last Number − First Number + 1.
And formula for Total Number of Pairs in an interval = (n/2) if last number in the interval is even
= (n-1)/2 if last number in the interval is odd
- Can I use the same formula for an evenly spaced interval like (22, 24, 26, 28,…,1026) inclusive to determine the number of integers in this interval?
- What formula should I use for determining Total Number of Pairs in (22, 24, 26, 28,…,1026) interval?
- If total number of integers from 50 to 300, inclusive is (300 - 50 +1) n = 251 and total number of pairs = n/2 = 251/2 = 125.5, total number of integers from 50 to 303, inclusive will be (303 - 50 + 1) n = 254 and total number of pairs = (254 - 1)/2 = 126.5 (since 303 is odd, I use (n-1)/2 formula). Is my math correct?