BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course

Redeem

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.

★★★★★5.0559 reviews
GMATLiveTeach Starts Oct 17
Chris Peckover, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Chris Peckover, 100th-Percentile GMAT Scorer

Oct 17 · Chris Peckover
Sat · 11:00 AM to 2:00 PM ET
Oct 20 · Chris Peckover
Tue, Thu · 8:00 to 10:00 PM ET
Oct 25 · Josh Braslow
Sun · 1:00 to 4:00 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
EALiveTeachOnDemand 5 seats left Start anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

Logan Thompson
EXECUTIVE ASSESSMENT

Sep 6 to Dec 6, 2026

with Logan Thompson

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Sun · 9:30 AM to 12:30 PM ET
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
GMATOnDemand Start 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

Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.

If p is a positive integer, is p a prime number? (1) p and p

Expert replies
Source: — Data Sufficiency |

by Brent@GMATPrepNow » Sat May 20, 2017 5:30 pm
ziyuenlau wrote:If p is a positive integer, is p a prime number?

(1) p and p+1 have the same number of factors.
(2) p−1 is a factor of p.
Target question: Is p a prime number?

Given: p is a positive integer

Statement 1: p and p+1 have the same number of factors.
Let's TEST some values.
There are several values of p that satisfy statement 1. Here are two:
Case a: p = 2. This means that p+1 = 3. Notice that 2 and 3 both have the same number of factors (2 factors each). In this case, p IS prime
Case b: p = 14. This means that p+1 = 15. Notice that 14 and 15 both have the same number of factors (4 factors each). In this case, p is NOT prime
Since we cannot answer the target question with certainty, statement 1 is NOT SUFFICIENT

Statement 2: p−1 is a factor of p
Let's test some cases:
If p = 3, then p-1 = 2. Is 2 a factor of 3? No.
If p = 4, then p-1 = 3. Is 3 a factor of 4? No.
If p = 5, then p-1 = 4. Is 4 a factor of 5? No.
If p = 6, then p-1 = 5. Is 5 a factor of 6? No.
.
.
.
We can see that, if we keep going, p-1 will NEVER be a factor of p. Yet, statement 2 says that p-1 IS a factor of p.
Let's test the two positive integers that we haven't yet tested: 2 and 1
If p = 2, then p-1 = 1. Is 1 a factor of 2? YES! So, p COULD equal 2
If p = 1, then p-1 = 0. Is 0 a factor of 1? No
So, We can conclude that p MUST equal 2, which means p IS prime
Since we can answer the target question with certainty, statement 2 is SUFFICIENT

Answer: B

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image
Join the discussion

by [email protected] » Sun May 21, 2017 11:07 am
Hi ziyuenlau/hazelnut01,

You posted this question this day before here:

https://www.beatthegmat.com/if-p-is-a-po ... 95194.html

This question can be solved by TESTing VALUES, but it will likely also require a bit of 'brute force' work. Sometimes the easiest/fastest way to get to the solution is to just put the pen on the pad and quickly list out the possibilities.

We're told that P is a POSITIVE INTEGER. We're asked if P is PRIME. This is a YES/NO question.

1) P and (P+1) have the same number of factors.

The information in this Fact might take a little bit of work to deal with, so let's brute force the possibilities until we find a couple of examples that match what we're told here:

P=1 .. 1 factor
P=2 .. 2 factors
P=3 .. 2 factors
P=4 .. 3 factors
P=5 .. 2 factors

P=6 .. 4 factors
P=7 .. 2 factors
P=8 .. 4 factors
P=9 .. 3 factors
P=10 .. 4 factors

P=11 .. 2 factors
P=12 .. 6 factors
P=13 .. 2 factors
P=14 .. 4 factors
P=15 .. 4 factors

We can now see two 'pairs' of numbers that have the SAME number of factors...
2 and 3; if P=2 then the answer to the question is YES
14 and 15; if P=14 then the answer to the question is NO
Fact 1 is INSUFFICIENT

2) (P-1) is a factor of P.

Again, let's start at P=1 and see what occurs...

P=1 .. 0 is not a factor of 1
P=2 .. 1 IS a factor of 2
P=3 .. 2 is not a factor of 3
P=4 .. 3 is not a factor of 4
Etc.

At this point, we can stop working - larger values of P will continue to yield the same result. The ONLY time that (P-1) is a factor of P is when P=2. Thus, there is ONLY one answer to the question (and it happens to be YES).
Fact 2 is SUFFICIENT

Final Answer: B

GMAT assassins aren't born, they're made,
Rich
Contact Rich at [email protected]
Image
Join the discussion

by hoppycat » Wed Jun 14, 2017 7:56 am
This is kind of related. Is 1 a factor of 0? And is 0 a factor of 0?
Join the discussion

by Matt@VeritasPrep » Thu Jun 22, 2017 10:46 pm
hoppycat wrote:This is kind of related. Is 1 a factor of 0? And is 0 a factor of 0?
Every integer is a factor of 0 except 0 itself.

Say m and n are integers. If m / n = an integer, then n is a factor of m.

0 / anything other than 0 = 0, an integer. It follows that anything other than 0 is a factor of 0.
Join the discussion

by Matt@VeritasPrep » Thu Jun 22, 2017 10:48 pm
Other GMAT-relevant properties of 0:

* It's even
* It's neither positive nor negative
* It should ALWAYS be considered when a problem uses the phrase "nonpositive" or "nonnegative"
* 0! = 1
* 0 is a multiple of every integer
* 0 is not a factor of any integer
* If x ≠ 0, then x� = 1
Join the discussion

by hoppycat » Fri Jun 23, 2017 9:38 am
Matt@VeritasPrep wrote:Other GMAT-relevant properties of 0:

* It's even
* It's neither positive nor negative
* It should ALWAYS be considered when a problem uses the phrase "nonpositive" or "nonnegative"
* 0! = 1
* 0 is a multiple of every integer
* 0 is not a factor of any integer
* If x ≠ 0, then x� = 1
Thanks!!
Join the discussion