Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.

See classes
Target Test Prep · GMAT

Choose how you want to prepare

Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

Newsweek Readers’ Choice Awards 2026 winner: Target Test Prep, #1 Test Prep

Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.

★★★★★5.0563 reviews
GMATLiveTeachStarts Nov 22
Josh Braslow, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Josh Braslow, 20+ years in test prep

Nov 22 · Josh Braslow
Sun · 9:30 AM to 12:30 PM ET
Included
40 hours of live online classes + 6 months of TTP OnDemand
  • Attend the first class for free
  • Every class is recorded, so you never fall behind
View classes & enroll
Limited seats availableTarget Test Prep
EALiveTeachOnDemandStart anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

EXECUTIVE ASSESSMENT

with

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Included
40 hours of live online classes plus six months of access to the complete TTP EA OnDemand course.
  • 165+ EA Score Guarantee
  • 4,100+ Quant, Verbal, and Integrated Reasoning practice questions
  • 400+ hours of in-depth video lessons
  • 3,000+ step-by-step video solutions
View EA class & enroll Start free 5-day trial
Limited cohort · enrollment openTrial includes full course accessTarget Test Prep
GMATOnDemandStart anytime
SELF-PACED MASTERCLASS

Target Test Prep GMAT OnDemand

Complete access from day one. Study on your schedule.

715+ score guarantee
$0to start then $127/mo
  • Personalized study plan and analytics
  • Thousands of lessons and practice questions

Counting Problems: Urgent!

Expert replies
by Sapana » Sat May 19, 2012 2:34 pm
Hey,
Can anyone help me with the counting integers problem..
For questions such as:
How many integers are between 75 & 176?
how many even/odd number are between 39 & 789?
Find the sum of numbers between 45 and 87?
find the sum of even/odd number between 23 & 54?
and so on....

I am not getting the formula at all, Could someone please provide the explanation of formula and the problem, or a website which explains everything would be a life saver!!
Thank you!! :)
Join the discussion
Source: — Problem Solving |

by neelgandham » Sat May 19, 2012 2:58 pm
Hey Sapana,

Let me do one at a time.
Question # 1
How many integers are between A&B?
Answer: B-A-1
e.g. How many integers are between 75 & 176?
176-75-1 = 100
e.g. How many integers are between 5 & 10?
10-5-1 = 4 (6,7,8,9)
Question # 2
how many even/odd number are between A and B?
If A = Odd and B = Odd,
The answer: # of Odd numbers = (B-A-2)/2 # of Even numbers = (B-A)/2
If A = Odd and B = Even,
The answer: # of Odd numbers = (B-A-1)/2 # of Even numbers = (B-A-1)/2
If A = Even and B = Even,
The answer: # of Odd numbers = (B-A)/2 # of Even numbers = (B-A-2)/2
If A = Even and B = Odd,
The answer: # of Odd numbers = (B-A-1)/2 # of Even numbers = (B-A-1)/2

e.g. How many even/odd number are between 39 & 789?
# of Odd numbers = (B-A-2)/2 # of Even numbers = (B-A)/2
# of Odd numbers = (789-39-2)/2 = 374 # of Even numbers = (789-39)/2 = 375

p.s: A<B
p.p.s. To the best of my (limited) Knowledge !
p.p.p.s all question ask 'BETWEEN' values, so I have excluded the initial and the final numbers from the count
Last edited by neelgandham on Sat May 19, 2012 3:09 pm, edited 3 times in total.
Anil Gandham
Welcome to BEATtheGMAT | Photography | Getting Started | BTG Community rules | MBA Watch
Check out GMAT Prep Now’s online course at https://www.gmatprepnow.com/
Join the discussion

by coolhabhi » Sat May 19, 2012 3:01 pm
How many integers are between 75 & 176?

The number is always highest number - lowest number + 1 (All inclusive)
=> 176 - 75 + 1
102 numbers.
------------------------------------------------------
how many even/odd number are between 39 & 789?

here the formula is : (highest number - lowest number)/2
If both beginning numbers are odd, the number of odd numbers between them will be one more than the even numbers.

The converse is true. If both ending and beginning numbers are even, the even numbers between them will be one more than the odd numbers.

=> so number of odd numbers is (789 - 39)/2
=> 375 + 1 = 376 Odd numbers (Since 789 and 39 are odd)
and even numbers will be 375.
--------------------------------------------------------
Find the sum of numbers between 45 and 87?

this is an ARITHEMATIC progression with common difference of 1.
and the formula is (n/2)[2a + (n - 1)d] where n is the count of numbers in the sequence and a is the first number.
so first count the numbers.
Applying the technique in the first answer. It would be 43.
so (43/2)[2*45 + 42(1)]
=>2838.
----------------------------------------------------------------------------
find the sum of even/odd number between 23 & 54?

first count the numbers.
Applying the technique in the second answer
for even numbers consider from 24 to 54. Then the number of even numbers is 16
for odd numbers consider from 23 to 53. Then the number of odd numbers is 16

Now apply the technique in 3rd answer.
for even numbers the a = 24 and d = 2 and n = 16
so sum is (16/2)[2*24 + 15*2]
sum of even numbers is 624

and similarly for odd numbers a = 23 and d = 2 and n = 16
so sum is (16/2)[2*23 + 15*2]
sum of even numbers is 608
Join the discussion

by Sapana » Mon May 21, 2012 6:00 pm
Thank You so much.. Counting Problems are crystal clear for me now :) Thank You again for immediate responses.. Y'all are awesome!
Join the discussion

by ronnie1985 » Wed May 23, 2012 6:01 am
No of integers between a and b:-

If inclusive set meaning a and included it is b-a+1

If exclusive meaning excluding a and b then b-a-1

If it is simply put between a and b then b-a

Odd or even or any arithmetic progression:-

If d is the common difference, meaning the difference between consecutive terms, then

[(last term of the AP)-(First term of AP)]/d+1 (inclusive) rest formulas are similar to the one discussed above

remember that the sum of an AP formula

Sn = (First Term + Last Term)*(No of terms inclusive)/2
Follow your passion, Success as perceived by others shall follow you
Join the discussion