Live GMAT classes with Target Test Prep start Nov 30 and Dec 6. 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

If n is a positive integer and p is a prime number, is p a f

Expert replies
by hazelnut01 » Thu Mar 16, 2017 9:34 pm
If n is a positive integer and p is a prime number, is p a factor of n!?

(1) p is a factor of (n+2)! - n!
(2) p is a factor of (n+2)! / n!

Source : https://gmatclub.com/forum/devil-s-doze ... l#p1063847

Answer : C
Last edited by hazelnut01 on Sun Mar 26, 2017 4:58 am, edited 1 time in total.
Join the discussion
Source: — Data Sufficiency |

by Jay@ManhattanReview » Thu Mar 16, 2017 10:27 pm
ziyuenlau wrote:If n is a positive integer and p is a prime number, is p a factor of n!?

(1) p is a factor of (n+2)! - n!
(2) p is a factor of (n+2)! / n!

Anyway, how to edit with the proper formula in this forum?

I have a hard time to solve this problem. Please help!
Hi ziyuenlau,

We have n: {1, 2, 3, ....}; p: {2, 3, 5, 7, ...}

We have to see if n! / p is integer or not.

Let's rephrase each statement.

S1: p is a factor of (n+2)! - n!

(n+2)! - n! = n!*(n+1)*(n+2) - n! = n!*[(n+1)*(n+2) - 1]

So we have p is a factor of n!*[(n+1)*(n+2) - 1]

Let's test this with a couple of test values.

Case 1: n = 1 and p = 5

n!*[(n+1)*(n+2) - 1] = 1!*[(1+1)*(1+2) - 1] = 5.

We see that 1! / 5 is not an integer. The answer is NO.

Case 2: n = 2 and p = 2

n!*[(n+1)*(n+2) - 1] = 2!*[(2+1)*(2+2) - 1] = 22.

We see that 2! / 2 is an integer. The answer is Yes. No unique answer.

S2: p is a factor of (n+2)! / n!

(n+2)! / n! = [n!*(n+1)*(n+2)] / n! = (n+1)*(n+2)

So we have p is a factor of (n+1)*(n+2).

Case 1: n = 1 and p = 2 or 3

(n+1)*(n+2) = (1+1)*(1+2) = 6.

We see that 1! / 2 is not an integer. The answer is NO.

Case 2: n = 2 and p = 2

(n+1)*(n+2) = (2+1)*(2+2) = 12.

We see that 2! / 2 is an integer. The answer is YES. No unique answer.

S1 and S2:

From S1, we know that n!*[(n+1)*(n+2) - 1] is a factor of p and from S2, we know that (n+1)*(n+2) is a factor of p.

Thus,

n!*[(n+1)*(n+2) - 1] / p = integer

=> n!*[(n+1)*(n+2)] / p - n! / p = integer; we know that (n+1)*(n+2) / p is an integer,

=> Integer - n! / p = Integer

=> n! / p = Integer - Integer = Integer

Thus, p is a factor of n!. Sufficient.

The correct answer: C

Hope this helps!

Relevant book: Manhattan Review GMAT Data Sufficiency Guide

-Jay
_________________
Manhattan Review GMAT Prep

Locations: New York | Frankfurt | Hong Kong | Zurich | and many more...

Schedule your free consultation with an experienced GMAT Prep Advisor! Click here.
Join the discussion

by Brent@GMATPrepNow » Sun Mar 19, 2017 11:51 am
ziyuenlau wrote: Anyway, how to edit with the proper formula in this forum?
That's about as good as you can do with the posting functionality.
The important thing is that you have added the appropriate brackets to avoid ambiguity.

Aside: one my biggest pet peeves are ambiguous posts like x2+2x-15/x-3+4x2 = 4x. So, kudos for you ambiguity-free post :-)

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

by ceilidh.erickson » Wed Mar 22, 2017 10:07 am
Please remember to cite your source and include the OA! It's a copyright violation to print a question without citing the original author.
Ceilidh Erickson
EdM in Mind, Brain, and Education
Harvard Graduate School of Education
Join the discussion