pankajks2010 wrote:If N is a positive integer, what is the last digit of the result for 1!+2!+...N!?
a) N is divisible by 4
b) (N^2+1)/5 is an odd integer
Courtesy: 800score.com
Not sure, if this question is already discussed on the forum or not.
1!+2!+......N!
1) N is divisible by 4;
N=4k; if N=4; 1+2!+3!+4!=1+2+6+24=33; last digit is 3;
now consider analyze this, 5! onwards every factorial is going to end with 0, because it contains 5, hence 1+2!+3!+4!+5!+6!+7!+8!; will also have 3 as its last digit, hence 1 alone is sufficient to answer the question.
2)(N^2+1)/5 is an odd integer;
i.e. last digit of N^2+1 must be 5 hence last digit of N^2 must be 4; now possible no. here would be 8!,12!,18!,22!,28!.....;
again by same reasoning, when we add these no. they will always have 3 as its last digit; hence 2 alone is also sufficient to answer the question, hence answer should be
D
O Excellence... my search for you is on... you can be far.. but not beyond my reach!