Last visit was: 26 Apr 2024, 05:19 It is currently 26 Apr 2024, 05:19

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
SORT BY:
Date
User avatar
Intern
Intern
Joined: 07 Apr 2010
Posts: 9
Own Kudos [?]: 58 [58]
Given Kudos: 0
Send PM
Most Helpful Reply
Math Expert
Joined: 02 Sep 2009
Posts: 92929
Own Kudos [?]: 619153 [34]
Given Kudos: 81609
Send PM
Tutor
Joined: 16 Oct 2010
Posts: 14829
Own Kudos [?]: 64931 [8]
Given Kudos: 427
Location: Pune, India
Send PM
General Discussion
User avatar
VP
VP
Joined: 05 Mar 2008
Posts: 1226
Own Kudos [?]: 518 [0]
Given Kudos: 31
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Dartastic wrote:
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
Intern
Intern
Joined: 07 Sep 2010
Posts: 8
Own Kudos [?]: 6 [0]
Given Kudos: 8
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Nice Bunuel.
Figuring out the generalization about the last digit of 1!+2!+...+N! is the tricky part.
User avatar
Manager
Manager
Joined: 21 Mar 2010
Posts: 240
Own Kudos [?]: 81 [1]
Given Kudos: 33
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
1
Bookmarks
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 - m15#15

* 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
Manager
Manager
Joined: 21 Mar 2010
Posts: 240
Own Kudos [?]: 81 [0]
Given Kudos: 33
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
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
Retired Moderator
Joined: 16 Nov 2010
Posts: 909
Own Kudos [?]: 1173 [0]
Given Kudos: 43
Location: United States (IN)
Concentration: Strategy, Technology
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
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
Manager
Manager
Joined: 03 Jun 2010
Posts: 110
Own Kudos [?]: 5 [0]
Given Kudos: 4
Location: Dubai, UAE
Schools:IE Business School, Manchester Business School, HEC Paris, Rotterdam School of Management, Babson College
GPA: 2.5
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
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
Intern
Intern
Joined: 13 Nov 2011
Status:Princess of Economics
Posts: 5
Own Kudos [?]: 5 [0]
Given Kudos: 0
Location: Canada
Concentration: Economics
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
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
Manager
Manager
Joined: 12 Oct 2011
Posts: 114
Own Kudos [?]: 171 [0]
Given Kudos: 110
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
MariaBez wrote:
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
Manager
Manager
Joined: 06 Jun 2011
Posts: 53
Own Kudos [?]: 218 [0]
Given Kudos: 15
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Nice explanation bunuel
User avatar
Intern
Intern
Joined: 30 May 2008
Posts: 35
Own Kudos [?]: 821 [0]
Given Kudos: 26
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Bunuel wrote:
lagomez wrote:
Dartastic wrote:
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?
Math Expert
Joined: 02 Sep 2009
Posts: 92929
Own Kudos [?]: 619153 [0]
Given Kudos: 81609
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Expert Reply
catty2004 wrote:
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
Manager
Manager
Joined: 25 Feb 2010
Status:I will not stop until i realise my goal which is my dream too
Posts: 105
Own Kudos [?]: 257 [0]
Given Kudos: 16
Schools: Johnson '15
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Bunuel wrote:
lagomez wrote:
Dartastic wrote:
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
Math Expert
Joined: 02 Sep 2009
Posts: 92929
Own Kudos [?]: 619153 [0]
Given Kudos: 81609
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Expert Reply
harshavmrg wrote:
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
Intern
Intern
Joined: 30 May 2008
Posts: 35
Own Kudos [?]: 821 [0]
Given Kudos: 26
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Bunuel wrote:
catty2004 wrote:
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
Non-Human User
Joined: 09 Sep 2013
Posts: 32684
Own Kudos [?]: 822 [0]
Given Kudos: 0
Send PM
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
GMAT Club Bot
Re: If N is a positive integer, what is the last digit of 1! + [#permalink]
Moderator:
Math Expert
92929 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne