sk8ternite wrote:I understand that to find all even numbers between 115 and 133, you divide 116 by 2 which is 58, and 132 by 2, which is 66, and you get 66-58+1= 9. But I am a little confused how you approach odd numbers?
looks like you need examples..
how many numbers are there between 135 and 967 inclusive
(967-135)/1 +1= 833
how many odd numbers between 135 and 967, inclusive
both are odd numbers
(967-135)/2 +1=417
How many even numbers between 135 and 967, inclusive
given numbers are not even, so find the first and last terms
first term is 136. last terms is 966
answer is
(966-136)/2 +1=416
I hope its clear now. if not, send me a pm.
The powers of two are bloody impolite!!