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

Primes: How many prime numbers are there between 40 and 60?

Expert replies
by II » Sat Jan 19, 2008 1:46 am
How many prime numbers are there between 40 and 60 ?

A. 4
B. 5
C. 6
D. 7
E. 8

I know the answer to this question, but am interested in finding a shortcut for getting the prime numbers between 2 numbers.

For example, how can we work out how many prime numbers there are between 130 and 170 ?

Thanks.
II
Last edited by II on Mon May 05, 2008 2:29 am, edited 1 time in total.
Join the discussion
Source: — Problem Solving |

by gabriel » Sat Jan 19, 2008 3:28 am
I dont think that other than counting there is any other way .. Prime numbers do not occur after a fixed interval, so u cant exactly make a general rule for finding the number of prime numbers between 2 numbers.

Regards
Join the discussion

by II » Sat Jan 19, 2008 6:58 pm
gabriel wrote:I dont think that other than counting there is any other way .. Prime numbers do not occur after a fixed interval, so u cant exactly make a general rule for finding the number of prime numbers between 2 numbers.

Regards
Thats also what I think ... but was wondering if anyone had a quick way of finding one.

The only thing I found is:

Last Digits of Perfect Squares in Base 10

In base 10, the last digit of every perfect square is either 0, 1, 4, 5, 6, or 9.
If you know a number is a perfect square then you can determine the last digit of its square root as follows:

* If the last digit of the perfect square is 0, then the last digit of the square root is 0.
* If the last digit of the perfect square is 1, then the last digit of the square root is either 1 or 9.
* If the last digit of the perfect square is 4, then the last digit of the square root is either 2 or 8.
* If the last digit of the perfect square is 5, then the last digit of the square root is 5.
* If the last digit of the perfect square is 6, then the last digit of the square root is either 4 or 6.
* If the last digit of the perfect square is 9, then the last digit of the square root is either 3 or 7.

Determining the Square Root of a Perfect Square More Than or Equal to 100 but Less Than 10000

Suppose you are given a perfect square that is greater than or equal 100 but less than 10,000. All of these perfect squares have two digit square roots. A simple party trick algorithm exists for determining its square root with one or two guesses.

First, separate the digits into pairs of digits starting from the right and moving to the left. For examples, consider the perfect squares 4624, 729, and 1600. Break 4624 into 46|24, or break 729 into 7|29, or 1600 into 16|00.

Second, we find the first digit of the square root. If the leftmost pair is a perfect square, find its square root. If the leftmost pair is not a perfect square, find the square root of the largest perfect square smaller than the leftmost pair. That square root will be the leftmost digit of the square root. For examples, for 46|24, the leftmost pair is 46, which is not a perfect square; but the largest perfect square less than 46 is 36 which has a square root of 6. For 7|29, 7 is not a perfect square, but 4 is the largest square less than 7, and its square root is 2. For 16|00, the square root of 16 is 4.

Third, as mentioned in an earlier section, if we know the last digit of a perfect square in base ten, then we can also know the last digit of its square root in two guesses. Thus, we know the last digit of the square root of 4624 is either 2 or 8; for 729 it is either 3 or 7; for 1600 it is 0.

Fourth, we can guess the square root by conjuncting the second and third steps. The square root of 4624 is either 62 or 68; the square root of 729 is either 23 or 27; the square root of 1600 is 40.

If you use a calculator, you will find that the square roots of 4624, 729, and 1600 are actually 68, 27, and 40.
Join the discussion