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 7 seats left
Chris Peckover
NEXT LIVE COHORT

Oct 13 to Jan 7, 2027

with Chris Peckover

Schedule
Tue, Thu · 8:00 to 10:00 PM ET
Included
40 live hours + 6 months of GMAT OnDemand
  • Live instruction and real-time questions
  • Class recordings and assigned practice
View class & enroll
Limited cohort · enrollment openTarget Test Prep
EALiveTeach 5 seats left
Logan Thompson
EXECUTIVE ASSESSMENT

Sep 6 to Dec 6, 2026

with Logan Thompson

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
Limited cohort · enrollment openTarget 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 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