Last visit was: 24 Apr 2026, 10:41 It is currently 24 Apr 2026, 10:41
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
Dartastic
Joined: 07 Apr 2010
Last visit: 04 Jun 2010
Posts: 9
Own Kudos:
59
 [59]
Posts: 9
Kudos: 59
 [59]
6
Kudos
Add Kudos
53
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,814
Own Kudos:
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,814
Kudos: 811,035
 [34]
17
Kudos
Add Kudos
17
Bookmarks
Bookmark this Post
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 23 Apr 2026
Posts: 16,442
Own Kudos:
79,404
 [8]
Given Kudos: 485
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,442
Kudos: 79,404
 [8]
6
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
General Discussion
User avatar
lagomez
Joined: 05 Mar 2008
Last visit: 18 Sep 2011
Posts: 1,224
Own Kudos:
Given Kudos: 31
Posts: 1,224
Kudos: 563
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Dartastic
If N is a positive integer, what is the last digit of 1! + 2! + ... +N!?

1) N is divisible by 4
2) (N^2 + 1)/5 is an odd integer.

Whaaaaaaat?!??!?! I looked at the explanations also, and I didn't get it at all. Help pleeeeease. I thought it was

statement 1: n can = 4, 8, 12, etc

4! + 3! + 2! + 1!

24 + 6 + 2 + 1 = 33 last digit is 3
If x! and x>=5 then the number will always end in zero

Essentially you will always be adding 4! + 3! + 2! + 1! and always have a value of 3 as the last digit
avatar
amannain1
Joined: 07 Sep 2010
Last visit: 31 May 2011
Posts: 8
Own Kudos:
Given Kudos: 8
Posts: 8
Kudos: 7
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Nice Bunuel.
Figuring out the generalization about the last digit of 1!+2!+...+N! is the tricky part.
User avatar
mbafall2011
Joined: 21 Mar 2010
Last visit: 03 Aug 2012
Posts: 240
Own Kudos:
88
 [1]
Given Kudos: 33
Posts: 240
Kudos: 88
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
If N is a positive integer, what is the last digit of 1! + 2! + ... + N! ?

1. N is divisible by 4
2. {N^2 + 1}{5} is an odd integer

(C) 2008 GMAT Club - [t]m15#15[/t]

* Statement (1) ALONE is sufficient, but Statement (2) ALONE is not sufficient
* Statement (2) ALONE is sufficient, but Statement (1) ALONE is not sufficient
* BOTH statements TOGETHER are sufficient, but NEITHER statement ALONE is sufficient
* EACH statement ALONE is sufficient
* Statements (1) and (2) TOGETHER are NOT sufficient

\(1! + 2! + ... + N!\) ends with 3 if \(N \gt 3\) . Starting from 5! each term in the sum ends with 0, so if \(N \gt 3\) , the sum looks like \(1! + 2! + 3! + 4! + \text{(something ending with 0) } = 33 + \text{ (something ending with 0) } = \text{ integer ending with } 3\) .

Statement (1) by itself is sufficient. From S1 it follows that \(N\) is 4 or bigger.

Statement (2) by itself is sufficient. From S2 it follows that \(N\) is not 1 or 3. \(N\) is either 2 or larger than 3. In either case, sum \(1! + ... + N!\) ends with 3.
The correct answer is D

Can some one please explain the solution for both cases?

Here, is the last digit 0 for all N > 5?
User avatar
mbafall2011
Joined: 21 Mar 2010
Last visit: 03 Aug 2012
Posts: 240
Own Kudos:
Given Kudos: 33
Posts: 240
Kudos: 88
Kudos
Add Kudos
Bookmarks
Bookmark this Post
hmm! after i wrote it down on paper i understood the second part

N^2 + 1 = 5 (odd number)

n=1 does not work

n= 2, then the odd number is 1. So n can be ==2.
Then last digit is 3.

N is not equal to 3.

Here N cannot be 4. for all other numbers, the sequence ends with 3
User avatar
subhashghosh
User avatar
Retired Moderator
Joined: 16 Nov 2010
Last visit: 25 Jun 2024
Posts: 894
Own Kudos:
Given Kudos: 43
Location: United States (IN)
Concentration: Strategy, Technology
Products:
Posts: 894
Kudos: 1,302
Kudos
Add Kudos
Bookmarks
Bookmark this Post
From (A), take up to 4! (as divisible by four)

1 + 2 + 6 + 24 - Add and the last digit 3, From 5! onwards it is 60 + 120 + .. all of these have 0 at the end

so the last digit will be 3


n^2 must end in 4

(2^2 + 1)/5 = 1 But 1! + 2! has last digit as 3

(8^2 + 1)/5 = 13 But 1! + ... + 8! has last digit as 3, so enough.

Answer is D.
User avatar
scbguy
Joined: 03 Jun 2010
Last visit: 10 Jun 2012
Posts: 109
Own Kudos:
Given Kudos: 4
Location: Dubai, UAE
Schools:IE Business School, Manchester Business School, HEC Paris, Rotterdam School of Management, Babson College
GPA: 2.5
Posts: 109
Kudos: 5
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I think the answer would be A

Lets analyse statement 1 first.

1 != 1*1
2 != 2*1
3 !=3*2*1

3x2x1+2x1+1*1/4= 2
Hence 3!
Hence Sufficient

Lets analyse statement 2 now

N/2+1/5 is a odd number
5(N+2)/2
so you can subsititude N=4, which will get you 15, its odd, so sufficient
however if you subsititude N=5 which will you get you 45/2 non intenger so insufficient
avatar
MariaBez
Joined: 13 Nov 2011
Last visit: 22 Mar 2012
Posts: 5
Own Kudos:
Status:Princess of Economics
Location: Canada
Concentration: Economics
Posts: 5
Kudos: 5
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Guys, do you assume that there are no numbers between 2! and N!?
I also don't understand this point: N=1 --> last digit 1. Can someone explain it to me? Please.
User avatar
siddharthmuzumdar
Joined: 12 Oct 2011
Last visit: 15 Dec 2015
Posts: 108
Own Kudos:
Given Kudos: 110
Posts: 108
Kudos: 180
Kudos
Add Kudos
Bookmarks
Bookmark this Post
MariaBez
Guys, do you assume that there are no numbers between 2! and N!?
I also don't understand this point: N=1 --> last digit 1. Can someone explain it to me? Please.
I guess we assume that there are (N - 2) numbers between 2 and N. We have to find the sum of the factorials of each of these (N - 2) numbers.

But if we want to find the last digit of 1! (that is what Bunuel meant by N = 1) then the units digit will be 1.
If we are asked to find the sum of factorials of the first three numbers (N = 3 in this case) then the units digit will be 9.
And for all other numbers (any other value of N), the sum of the factorials of the numbers till N will have 3 as the units digit.
User avatar
jitbec
Joined: 06 Jun 2011
Last visit: 22 Aug 2013
Posts: 52
Own Kudos:
Given Kudos: 15
Posts: 52
Kudos: 218
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Nice explanation bunuel
User avatar
catty2004
Joined: 30 May 2008
Last visit: 01 Nov 2016
Posts: 33
Own Kudos:
Given Kudos: 26
Posts: 33
Kudos: 990
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
lagomez
Dartastic
If N is a positive integer, what is the last digit of 1! + 2! + ... +N!?

1) N is divisible by 4
2) (N^2 + 1)/5 is an odd integer.

Whaaaaaaat?!??!?! I looked at the explanations also, and I didn't get it at all. Help pleeeeease. I thought it was

statement 1: n can = 4, 8, 12, etc

4! + 3! + 2! + 1!

24 + 6 + 2 + 1 = 33 last digit is 3
If x! and x>=5 then the number will always end in zero

Essentially you will always be adding 4! + 3! + 2! + 1! and always have a value of 3 as the last digit

Generally the last digit of \(1! + 2! + ... +N!\) can take ONLY 3 values:
A. N=1 --> last digit 1;
B. N=3 --> last digit 9;
C. N=any other value --> last digit 3 (N=2 --> 1!+2!=3 and for N=4 --> 1!+2!+3!+4!=33, \(N\geq{4}\) the terms after N=4 will end by 0 thus not affect last digit and it'll remain 3).

So basically question asks whether we can determine which of three cases we have.
(1) N is divisible by 4 --> N is not 1 or 3, thus third case. Sufficient.

(2) (N^2 + 1)/5 is an odd integer --> N is not 1 or 3, thus third case. Sufficient.

Answer: D.

Hope it helps.

Could you please explain the bold face part? how is having 0 not affecting last digit and still remain 3? Wouldn't the last digit be 0?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,814
Own Kudos:
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,814
Kudos: 811,035
Kudos
Add Kudos
Bookmarks
Bookmark this Post
catty2004
Could you please explain the bold face part? how is having 0 not affecting last digit and still remain 3? Wouldn't the last digit be 0?

Just plug numbers to check.

If N=4 then \(1! + 2! + 3!+4!=1+2+6+24=33\);
If N=5 then \(1! + 2! + 3!+4!+5!=(1+2+6+24)+120=33+120=153\);
If N=6 then \(1! + 2! + 3!+4!+5!+6!=(1+2+6+24)+120+720=33+120=873\);
...
As you can see the units digit if N=4 is 3, now the terms after N=4 (5!, 6!, ...) will have the units digit of 0 (since they all have the product of 2 and 5 in them), so adding those terms won't affect the units digit.

Hope it's clear.
avatar
harshavmrg
Joined: 25 Feb 2010
Last visit: 06 Dec 2012
Posts: 102
Own Kudos:
Given Kudos: 16
Status:I will not stop until i realise my goal which is my dream too
Schools: Johnson '15
Schools: Johnson '15
Posts: 102
Kudos: 296
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
lagomez
Dartastic
If N is a positive integer, what is the last digit of 1! + 2! + ... +N!?

1) N is divisible by 4
2) (N^2 + 1)/5 is an odd integer.

Whaaaaaaat?!??!?! I looked at the explanations also, and I didn't get it at all. Help pleeeeease. I thought it was

statement 1: n can = 4, 8, 12, etc

4! + 3! + 2! + 1!

24 + 6 + 2 + 1 = 33 last digit is 3
If x! and x>=5 then the number will always end in zero

Essentially you will always be adding 4! + 3! + 2! + 1! and always have a value of 3 as the last digit

Generally the last digit of \(1! + 2! + ... +N!\) can take ONLY 3 values:
A. N=1 --> last digit 1;
B. N=3 --> last digit 9;
C. N=any other value --> last digit 3 (N=2 --> 1!+2!=3 and for N=4 --> 1!+2!+3!+4!=33, \(N\geq{4}\) the terms after N=4 will end by 0 thus not affect last digit and it'll remain 3).

So basically question asks whether we can determine which of three cases we have.
(1) N is divisible by 4 --> N is not 1 or 3, thus third case. Sufficient.

(2) (N^2 + 1)/5 is an odd integer --> N is not 1 or 3, thus third case. Sufficient.

Answer: D.

Hope it helps.

BB i am confused here...

A: N = 4 , u said the 4! = 4*3*2*1 = 24, 24+6+2+1 = 33
N= 8, tthe value will be someting else, but the last digit is 0
so the last digit is always 3....

B: N = 2, then the integer from B is 5/5 = 1, then unit digit is ( 2!+1!) 3,
N = 3, does not get odd integer
N = 4, does not get integer
N = 5, does not get integer
N = 6, does not get integer
N = 7, does not get odd integer
N = 8, does not get integer....
here, since N>4, last digit is 0, the value is 3...

very tricky.. :) i gave it for B, but the anser is D
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 24 Apr 2026
Posts: 109,814
Own Kudos:
Given Kudos: 105,873
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,814
Kudos: 811,035
Kudos
Add Kudos
Bookmarks
Bookmark this Post
harshavmrg
BB i am confused here...

A: N = 4 , u said the 4! = 4*3*2*1 = 24, 24+6+2+1 = 33
N= 8, tthe value will be someting else, but the last digit is 0 so it would be two cases

B: N = 2, then the integer from B is 5/5 = 1, then unit digit is 2,
N = 3, does not get odd integer
N = 4, does not get integer
N = 5, does not get integer
N = 6, does not get integer
N = 7, does not get odd integer
N = 8, does not get integer....
here, since N>4, last digit is 0, the value is fixed and hence answer should be B...

but your explanation says it is D.... Can you plese explain thoroughly...i could not understand your earlier explanation... sorry..

First of all I'm not BB. BB is completely different person: members/member-3.html

Next answer to this question is D, not B.

Again, the units digit of \(1! + 2! + ... +N!\) can take ONLY 3 values 1, 9, or 3:
A. If N=1 then the units digit is 1;
B. If N=3 then the units digit is 9;
C. If N=any other value then the units digit is 3.

So basically question asks whether we can determine which of three cases we have.

(1) N is divisible by 4 --> N is not 1 or 3,because neither 1 nor 3 is divisible by 4, hence we have case C. For case C the units digit of \(1! + 2! + ... +N!\) is 3. Sufficient.

(2) (N^2 + 1)/5 is an odd integer --> again N is not 1 or 3, because neither 1 nor 3 gives odd value for (N^2 + 1)/5, hence we have case C. For case C the units digit of \(1! + 2! + ... +N!\) is 3. Sufficient.

Answer: D.

In either of statement it doesn't matter what the actual value of N is. Since we can get that it's not 1 or 3 then in all other cases the units digit of \(1! + 2! + ... +N!\) will be 3.
User avatar
catty2004
Joined: 30 May 2008
Last visit: 01 Nov 2016
Posts: 33
Own Kudos:
Given Kudos: 26
Posts: 33
Kudos: 990
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
catty2004
Could you please explain the bold face part? how is having 0 not affecting last digit and still remain 3? Wouldn't the last digit be 0?

Just plug numbers to check.

If N=4 then \(1! + 2! + 3!+4!=1+2+6+24=33\);
If N=5 then \(1! + 2! + 3!+4!+5!=(1+2+6+24)+120=33+120=153\);
If N=6 then \(1! + 2! + 3!+4!+5!+6!=(1+2+6+24)+120+720=33+120=873\);
...
As you can see the units digit if N=4 is 3, now the terms after N=4 (5!, 6!, ...) will have the units digit of 0 (since they all have the product of 2 and 5 in them), so adding those terms won't affect the units digit.

Hope it's clear.

Perfectly clear and i can't thank you enough Bunuel!!!!
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,972
Own Kudos:
Posts: 38,972
Kudos: 1,117
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109814 posts
498 posts
212 posts