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.

Manhattan:Divisibility of primes

Expert replies
Source: — Data Sufficiency |

by Pharo » Sun Apr 08, 2012 12:27 pm
Wow seriously good :)

The only way I can think of is actually getting your hands dirty and doing it. (You will only need fast calculation skills :P)

Let's say f(x) = x! + (x+1)
f(2) = 2! + (2+1) = 5
f(3) = 3! + (3+1) = 10; at this stage we know that if x is odd, we know that f(x) does not output a prime for all x.
f(4) = 4! + (4+1) = 29; now if x is even, it's looking good.
; i am skipping odd numbers since 3 gave me a non prime.
f(6) = 6! + (6+1) = 727 ; not divisible by 2,3,4,5,7 etc.. So might be a prime.
f(8) = 8! + (8+1) = 40329 ; divisible by 3 .. So it's not a prime.
; Now i know that f(x) does not ALWAYS spit out prime numbers.

So the answer is E :) -- If you are fast with manual calculations you can solve this question in less than 2 minutes. Even not, i think this is somewhat of an hard question so if you are given this question it is likely that you saved some time from earlier questions so it's all good :P
Join the discussion

by Mike@Magoosh » Sun Apr 08, 2012 12:29 pm
Hi, there. I'm happy to help with this. :)

Prompt: If x is a positive integer, is x! + (x + 1) a prime number?

In general, without restrictions, that would be a hard question to answer. One thing is clear ---- positive integer x goes into (x! + x) so it's not going to go into (x! + x + 1). That much is clear.

Also, just to be clear
1! = 1
2! = 2
3! = 3*2*1 = 6
4! = 4*3*2*1 = 24
5! = 5*4*3*2*1 = 120
6! = 6*5*4*3*2*1 = 720
after that, it gets bigger than I'd like to think about without a calculator.

Statement #1: x < 10

Well,
x = 1, then x! + x + 1 = 3, which is prime
x = 2, then x! + x + 1 = 5, which is prime
x = 3, then x! + x + 1 = 10, which is not prime

Therefore, knowing x < 10 is not sufficient to determine a definitive answer to the question. Statement #1, by itself, is not sufficient.

Statement #2: x is even

x = 2, then x! + x + 1 = 2 + 2 + 1 = 5, which is prime
x = 4, then x! + x + 1 = 24 + 4 + 1 = 29, which is prime
x = 6, then x! + x + 1 = 720 + 6 + 1 = 727

The number 720 has lots of factors of 2's and 3's in it, and a factor of 5, but no factor of 7. 720 is not divisible by 7, and therefore 727 is not divisible by 7. That leaves the harder question: is 727 prime? I'm going to say that, without a calculator, most people will not be able to answer that question in a reasonable amount of time. Let's just skip it, and hope that the problem works out without determining that. (PS, as it happens, 727 is prime.)

x = 8, then x! + x + 1 = 8! + 8 + 1 = 8! + 9

Now, 8! = 8*7*6*5*4*3*2*1, so 8! has two factors of 3 (one from the 3 and one from the 6) --- therefore, 8! is divisible by 3*3 = 9, and therefore 8! + 9 is divisible by 9. If it's divisible by 9, then it's not a prime number. Knowing x is even does not determine an answer to the prompt question. Statement #2, by itself, is not sufficient.

Combined statements:
Notice that x = 2 & x = 4 satisfy both conditions and give a "yes" answer, but x = 8 satisfies both conditions and gives a "no" answer. Even knowing x satisfies both conditions is not enough to answer the question. Combined, both statements are still insufficient.

Answer = E

Notice, in the reasoning in statement #2, we go to a point where we couldn't easily make a determination about x = 6, so we simply moved on. In the most challenging questions, sometimes you will have to do this. In the finely constructed questions of the GMAT (and MGMAT has awfully good questions too!), you have to trust that if one case is too hard to figure out, there's going to be another case that is much more accessible. There will always be a way to solve the problem quickly and efficiently, and it's important to trust that when you are considering whether or not to abandon the analysis of one particular case because it's gotten too hairy.

Does all this make sense?

Here's a similar DS, for more practice:
https://gmat.magoosh.com/questions/864

Let me know if you have any questions about what I've said.

Mike :)
Magoosh GMAT Instructor
https://gmat.magoosh.com/
Join the discussion

by Pharo » Sun Apr 08, 2012 12:52 pm
Mike@Magoosh wrote: Notice, in the reasoning in statement #2, we go to a point where we couldn't easily make a determination about x = 6, so we simply moved on. In the most challenging questions, sometimes you will have to do this. In the finely constructed questions of the GMAT (and MGMAT has awfully good questions too!), you have to trust that if one case is too hard to figure out, there's going to be another case that is much more accessible. There will always be a way to solve the problem quickly and efficiently, and it's important to trust that when you are considering whether or not to abandon the analysis of one particular case because it's gotten too hairy.
That is an awesome tip! Thank you Mike :)
Join the discussion