is the largest value of integer n

This topic has expert replies
Legendary Member
Posts: 2326
Joined: Mon Jul 28, 2008 3:54 am
Thanked: 173 times
Followed by:2 members
GMAT Score:710

is the largest value of integer n

by gmatmachoman » Mon May 31, 2010 2:17 am
If P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest value of integer n where P has zero as its last 6 digits and a non-zero digit for its millions place?

(A) 29
(B) 30
(C) 34
(D) 35
(E) 39
Source: — Problem Solving |

Master | Next Rank: 500 Posts
Posts: 186
Joined: Fri May 28, 2010 1:05 am
Thanked: 11 times

by jube » Mon May 31, 2010 2:28 am
edit:

I didn't count the 5 in 25 twice. Taking that into account, the answer becomes A



---

Original:


I think it should be C.

6 zeros will be obtained by multiplying 2 & 5, 6 times. This means that 2 and 5 need to occur 6 times maximum in the series.

We get 6 2s with 2, 4, 6, 8.

6 5s --> 5, 10, 15, 20, 25, 30. Therefore, n *has* to be at least 30.

Since we need the biggest n, it should be 34. (35 would lead to there being 7 zeroes)
Last edited by jube on Mon May 31, 2010 4:57 am, edited 1 time in total.

Legendary Member
Posts: 576
Joined: Sat Mar 13, 2010 8:31 pm
Thanked: 97 times
Followed by:1 members

by liferocks » Mon May 31, 2010 2:37 am
p=n! and the number of 5 in P is 6
so (n/5)+(n/25)=6..1

only 29 satisfies 1

hence ans option A
"If you don't know where you are going, any road will get you there."
Lewis Carroll