Last visit was: 19 Nov 2025, 14:59 It is currently 19 Nov 2025, 14:59
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
User avatar
guerrero25
Joined: 10 Apr 2012
Last visit: 13 Nov 2019
Posts: 244
Own Kudos:
5,062
 [77]
Given Kudos: 325
Location: United States
Concentration: Technology, Other
GPA: 2.44
WE:Project Management (Telecommunications)
Posts: 244
Kudos: 5,062
 [77]
6
Kudos
Add Kudos
71
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
mikemcgarry
User avatar
Magoosh GMAT Instructor
Joined: 28 Dec 2011
Last visit: 06 Aug 2018
Posts: 4,479
Own Kudos:
30,537
 [18]
Given Kudos: 130
Expert
Expert reply
Posts: 4,479
Kudos: 30,537
 [18]
9
Kudos
Add Kudos
9
Bookmarks
Bookmark this Post
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
77,000
 [14]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,000
 [14]
9
Kudos
Add Kudos
5
Bookmarks
Bookmark this Post
General Discussion
User avatar
coolredwine
Joined: 18 Nov 2013
Last visit: 27 Apr 2015
Posts: 57
Own Kudos:
46
 [1]
Given Kudos: 7
Location: India
GMAT Date: 12-26-2014
WE:Information Technology (Computer Software)
Posts: 57
Kudos: 46
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
mikemcgarry
guerrero25
Given n>5 , when (n!+n+1) is divided by (n+1) , what is the remainder ?

(1) (n+2) is a prime number.

(2) (n−2) is a prime number.
This is a truly brilliant question, and I am very happy to help. :-)

When when (n!+n+1) is divided by (n+1), (n + 1) obviously divides evenly into the (n + 1), so the question is: what is the remainder when we divide (n!) by (n+1)?

Well, if n > 5, then the only odd numbers available are prime. Whether (n + 2) or (n - 2) is prime, that means that n must be odd. If n is odd, (n + 1) is even, and therefore is product of 2 and something smaller than n. That means, both factors of (n + 1) must be contained in (n!), so (n + 1) divides evenly into (n!) with a remainder of zero. Each statement is sufficient on its own. OA = (D).

For example, let n = 21. Both n - 2 = 19 and n + 2 = 23 are prime. We know that (n + 1) = 22 is even: thus, 22 = 2*11, and of course, (21!) must contain every factor from 1 to 21, so it will include both a factor of 2 and factor of 11. Therefore, (21!) is necessarily a multiple of 22, and were we to divide, we would get a remainder of zero.

Does all this make sense?
Mike :-)

It sure does makes sense. I just supplemented values for n in the equation to get to the answer. I hope that's okay while solving such questions.
avatar
GMarc
Joined: 23 Jan 2014
Last visit: 03 May 2014
Posts: 13
Own Kudos:
GMAT 1: 780 Q51 V45
GPA: 4
GMAT 1: 780 Q51 V45
Posts: 13
Kudos: 19
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Quote:


It sure does makes sense. I just supplemented values for n in the equation to get to the answer. I hope that's okay while solving such questions.

doing this way will not always work and might cause you to make false assessment (if something is true for a given value of n does not mean it is true for all n)
avatar
NAL9
Joined: 21 Jan 2014
Last visit: 14 Sep 2014
Posts: 3
Own Kudos:
2
 [1]
Given Kudos: 2
Posts: 3
Kudos: 2
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasPrepKarishma
guerrero25
Given n>5 , when (n!+n+1) is divided by (n+1), what is the remainder?

(1) (n+2) is a prime number.

(2) (n−2) is a prime number.

I would like to weigh in here since it is one of my little creations!
The concept I wanted to test here was that if (n+1) is prime, it will not be a factor of n! because (n+1) cannot be broken down into smaller factors. On the other hand, a composite number can be broken down into 2 smaller factors and both will be included in n!. Here (n+1) is always even so it can definitely be broken down into two factors: 2 and n/2. In any case, n! will have both 2 and n/2 as factors (simultaneously).

Here is the detailed explanation:

Given (n! + n + 1)

\(\frac{n! + (n+1)}{n+1} = \frac{n!}{n+1} + 1\)

Now if n! is divisible by (n+1), then the remainder is 0. If not, then we don’t know the remainder.
If (n+1) is a composite number, it can be split into two factors smaller than (n+1). Both will be included in n! since n! has all factors smaller than (n+1). So if (n+1) is composite, n! is divisible by (n+1). If (n+1) is prime, n! does not contain (n+1) and hence is not divisible by (n+1).

Statement I: If (n+2) is prime, (n+1) must be even and hence composite (recall that there is only one prime even number i.e. 2). Remainder must be 0. Sufficient.

Statement II: If (n-2) is prime, (n-1) and (n+1) must be even and hence composite. Remainder must be 0. Sufficient.

Answer (D)


Hi Karishma,

could you please elaborate this part of your reasoning:

If (n+1) is a composite number, it can be split into two factors smaller than (n+1). Both will be included in n! since n! has all factors smaller than (n+1). So if (n+1) is composite, n! is divisible by (n+1)

I don't really see why if n+1 is even then n! will be divisible by n+1.

Thanks in advance :)
User avatar
mikemcgarry
User avatar
Magoosh GMAT Instructor
Joined: 28 Dec 2011
Last visit: 06 Aug 2018
Posts: 4,479
Own Kudos:
30,537
 [3]
Given Kudos: 130
Expert
Expert reply
Posts: 4,479
Kudos: 30,537
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
NAL9
Hi Karishma,

could you please elaborate this part of your reasoning:

If (n+1) is a composite number, it can be split into two factors smaller than (n+1). Both will be included in n! since n! has all factors smaller than (n+1). So if (n+1) is composite, n! is divisible by (n+1)

I don't really see why if n+1 is even then n! will be divisible by n+1.

Thanks in advance :)
Dear NAL9,
I saw this, so I'll respond. :-) I have a great deal of respect for Karishma, but I can answer this question.

Think about it this way. The number (73!) is a very big number, more than 100 digits. It is the product of every integer from 1 to 73, so it is automatically divisible by any integer from 1 to 73. Now, think about the next integer, 74. We want to know whether (73!), that 100+ digit number, will be divisible by 74. Well, notice that 74 = 2*37. Clearly (73!) is divisible by both 2 and by 37: therefore, it must be divisible by 2*37 = 74.

In much the same way, as long as we know that n is odd and that (n + 1) is even, we know that (n + 1) can be written as a product of 2 times some other number. That other integer, (n + 1)/2, will be much smaller than n, and therefore automatically will be one of the factors included in (n!). Of course, 2 is another factor also included in (n!). Therefore, (n!) would have to be divisible by the product of these two factors, and that product is (n + 1).

Does all this make sense?
Mike :-)
avatar
NAL9
Joined: 21 Jan 2014
Last visit: 14 Sep 2014
Posts: 3
Own Kudos:
Given Kudos: 2
Posts: 3
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
mikemcgarry
NAL9
Hi Karishma,

could you please elaborate this part of your reasoning:

If (n+1) is a composite number, it can be split into two factors smaller than (n+1). Both will be included in n! since n! has all factors smaller than (n+1). So if (n+1) is composite, n! is divisible by (n+1)

I don't really see why if n+1 is even then n! will be divisible by n+1.

Thanks in advance :)
Dear NAL9,
I saw this, so I'll respond. :-) I have a great deal of respect for Karishma, but I can answer this question.

Think about it this way. The number (73!) is a very big number, more than 100 digits. It is the product of every integer from 1 to 73, so it is automatically divisible by any integer from 1 to 73. Now, think about the next integer, 74. We want to know whether (73!), that 100+ digit number, will be divisible by 74. Well, notice that 74 = 2*37. Clearly (73!) is divisible by both 2 and by 37: therefore, it must be divisible by 2*37 = 74.

In much the same way, as long as we know that n is odd and that (n + 1) is even, we know that (n + 1) can be written as a product of 2 times some other number. That other integer, (n + 1)/2, will be much smaller than n, and therefore automatically will be one of the factors included in (n!). Of course, 2 is another factor also included in (n!). Therefore, (n!) would have to be divisible by the product of these two factors, and that product is (n + 1).

Does all this make sense?
Mike :-)

Now I get it :) Thank you for the explanation!!!
User avatar
ggurface
Joined: 09 Aug 2015
Last visit: 12 Jul 2020
Posts: 72
Own Kudos:
Given Kudos: 7
GMAT 1: 770 Q51 V44
GPA: 2.3
GMAT 1: 770 Q51 V44
Posts: 72
Kudos: 79
Kudos
Add Kudos
Bookmarks
Bookmark this Post
This is a great question; it tests thoroughly tests your brain.
is there any significance of the n>5? Is it to exclude the case where n-2 is the prime 2?
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
77,000
 [3]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,000
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
ggurface
This is a great question; it tests thoroughly tests your brain.
is there any significance of the n>5? Is it to exclude the case where n-2 is the prime 2?


Yes, it is to exclude the case where (n-2) could be an even prime.

If we are talking about primes greater than 2, they will definitely be odd so with either statement, (n+1) will definitely be even and greater than 2 (hence, non prime).
User avatar
mvictor
User avatar
Board of Directors
Joined: 17 Jul 2014
Last visit: 14 Jul 2021
Posts: 2,124
Own Kudos:
1,263
 [1]
Given Kudos: 236
Location: United States (IL)
Concentration: Finance, Economics
GMAT 1: 650 Q49 V30
GPA: 3.92
WE:General Management (Transportation)
Products:
GMAT 1: 650 Q49 V30
Posts: 2,124
Kudos: 1,263
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
guerrero25
Given n>5 , when (n!+n+1) is divided by (n+1) , what is the remainder ?

(1) (n+2) is a prime number.

(2) (n−2) is a prime number.

i got to D.

n>5 -> n!+n+1/(n+1) -> rewrite it: n!/(n+1) + (n+1)/(+1)
n!/(n+1) +1

we need to find n!/(n+1)

1. n+2 is prime -> n=9, n=11, n=15, n=17, etc.
let's take few examples and identify the pattern
9!
9! contains a 2 and a 5, so definitely, it will be a multiple of 10. remainder will be 0.
11!/12 -> 11!
11! contain a 3 and a 4, so when divided by 12, the remainder will be 0...same thing continues for all the options...

2. n-2 prime
n=7, 11, 17, etc.
7!/8 - remainder is 0
11!/12 - remainder is 0.

same pattern
statement 2 is sufficient.

answer is D.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,362
Kudos
Add Kudos
Bookmarks
Bookmark this Post
guerrero25
Given n>5 , when (n!+n+1) is divided by (n+1) , what is the remainder ?

(1) (n+2) is a prime number.

(2) (n−2) is a prime number.

VERITAS PREP OFFICIAL SOLUTION:

Given (n! + n + 1)

\(\frac{n!+(n+1)}{(n+1)}=\frac{n!}{(n+1)}+1\)

Now if n! is divisible by (n+1), then the remainder is 0. If not, then we don’t know the remainder.

If (n+1) is a composite number, it can be split into two factors smaller than (n+1). Both will be included in n! since n! has all factors smaller than (n+1). So if (n+1) is composite, n! is divisible by (n+1). If (n+1) is prime, n! does not contain (n+1) and hence is not divisible by (n+1).

Statement I: If (n+2) is prime, (n+1) must be even and hence composite (recall that there is only one prime even number i.e. 2). Remainder must be 0. Sufficient.

Statement II: If (n-2) is prime, (n-1) and (n+1) must be even and hence composite. Remainder must be 0. Sufficient.

Answer (D)
User avatar
EMPOWERgmatRichC
User avatar
Major Poster
Joined: 19 Dec 2014
Last visit: 31 Dec 2023
Posts: 21,784
Own Kudos:
12,807
 [1]
Given Kudos: 450
Status:GMAT Assassin/Co-Founder
Affiliations: EMPOWERgmat
Location: United States (CA)
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Expert
Expert reply
GMAT 1: 800 Q51 V49
GRE 1: Q170 V170
Posts: 21,784
Kudos: 12,807
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi All,

This question provides a great opportunity to TEST Values, but the real "secret" to it is in understanding how factorials and division "work." This is a relatively rare issue on the GMAT and the explanation is going to be a bit long-winded.

We're told that N > 5 and we're asked for the remainder when (N! + N + 1) is divided by (N+1).

Fact 1: (N+2) is prime.

Let's TEST N = 9

(9! +9+1) / (9+1) = (9! + 10)/10

This can be "split" into…
9!/10 + 10/10

9! = 9x8x7x6x5x4x3x2x1 = (2x5)x(9x8x7x6x4x3x1)

9!/10 has no remainder and 10/10 has no remainder, so (9! + 10)/10 has a remainder of 0

With the limitations provided by Fact 1, the remainder will ALWAYS be 0. Here's why:

Since N + 2 = prime and N > 5, then…
N MUST be odd….
N+1 MUST be even…..
N! MUST be even….(because there's a "2" in the sequence)
N! MUST be a multiple of (N+1)….(because there's a "2" and the "odd number" that you need for 2(odd) = (N+1))

(N! + N+1)/(N+1) can always be split into this….

N!/(N+1) + (N+1)/(N+1)

So… N!/(N+1) has no remainder and (N+1)/(N+1) = 1 and has no remainder.
Fact 1 ALWAYS provides a remainder of 0
Fact 1 is SUFFICIENT.

Fact 2: (N-2) is prime

Since N > 5 and Fact 2 tells us that N = odd, this creates the same circumstances as in Fact 1.
Fact 2 is SUFFICIENT.

Final Answer:

GMAT assassins aren't born, they're made,
Rich
User avatar
PrateekSood
Joined: 24 Mar 2025
Last visit: 09 Nov 2025
Posts: 6
Own Kudos:
Given Kudos: 6
Location: India
GMAT Focus 1: 645 Q85 V81 DI80
GPA: 8.9
GMAT Focus 1: 645 Q85 V81 DI80
Posts: 6
Kudos: 3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
This is a great question!
User avatar
OSHO1310
Joined: 08 Jun 2023
Last visit: 12 Nov 2025
Posts: 2
Given Kudos: 52
Posts: 2
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Some JEE level stuff..Great Question for sure!
Moderators:
Math Expert
105390 posts
496 posts