Last visit was: 25 Apr 2024, 09:02 It is currently 25 Apr 2024, 09:02

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
Tags:
Show Tags
Hide Tags
Math Expert
Joined: 02 Sep 2009
Posts: 92914
Own Kudos [?]: 618958 [14]
Given Kudos: 81595
Send PM
Intern
Intern
Joined: 30 May 2019
Posts: 24
Own Kudos [?]: 12 [3]
Given Kudos: 188
Send PM
Intern
Intern
Joined: 25 Sep 2020
Posts: 9
Own Kudos [?]: 5 [2]
Given Kudos: 98
GRE 1: Q168 V153
Send PM
Intern
Intern
Joined: 27 Apr 2021
Posts: 5
Own Kudos [?]: 0 [0]
Given Kudos: 58
Send PM
Re: If P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest valu [#permalink]
It's a simple formula.
Divide the no you are given with 5 and it's '5 times'.

Case 1
23 which is under 25 coz 5*5
23/5 gives you 4.6. Strike out the decimal part. Therefore, 23! have 4 trailing zeroes

Case 2
39 which is more than 25 but less than 125
39/5 is 7.8. Do the needful.
Now we have to divide the no again by 25 because it is above 25 and 25 have 2 5s.
39/25=1.7
Add the answers i.e 7+1=8. therefore 39 have 8 trailing zeroes.

Case 3
187 which is more than 125 but less than 625
187/5=37.blah
187/25=7.blah
187/125=1.blah
Add=> 37+7+1= 45 trailing zeroes.

Scientific logic and reason
23 have 4 no which are multiple of 5 and 2 combined. 10, 20, 5*2 or any even no within 23 and 15*any even no. hence 4 zeroes
Manager
Manager
Joined: 19 Dec 2020
Posts: 161
Own Kudos [?]: 39 [1]
Given Kudos: 316
Send PM
Re: If P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest valu [#permalink]
1
Bookmarks
Bunuel wrote:
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



This is basically a trailing zero question asking which number for n! will the trailing zeros be 6?

\(P = (n)(n - 1)(n - 2) . . . (1)\) = n!

if n=29, n!= 29! ; Formula trailing zero is straight forward.

\(n/ 5 + n/5^2+ n/5^3...... n/5^k\), such that\( 5^k < n\)

\(29/5 + 29/ 25\) =\( 5+1 = 6\). Rest all the option gives a value >6 which is not required.
Manager
Manager
Joined: 10 Jan 2021
Posts: 157
Own Kudos [?]: 30 [0]
Given Kudos: 154
Send PM
Re: If P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest valu [#permalink]
Bunuel wrote:
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


Are You Up For the Challenge: 700 Level Questions


Basically, P = n!
Out of these options, we need to find the largest number, which:
(i) has 6 zeroes, i.e. (2^6)*(5^6)
(ii) has 9 as the first non-zero digit; we'll think about this later

One point, however, is clear that 2s are in abundance. Number of zeroes factorial would carry would be determined by the number of 5s it has.

(E) 39! has eight 5s. Nope
(D) 35! has eight 5s. Nope
(C) 34! has seven 5s. Nope
(B) 30! has seven 5s. Nope
(A) 29! has six 5s. This must be the answer.

Bunuel Can you confirm if OA is correct?
Manager
Manager
Joined: 15 Feb 2021
Posts: 187
Own Kudos [?]: 220 [0]
Given Kudos: 13
Send PM
Re: If P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest valu [#permalink]
29! = 8841761993739701954543616000000
30! = 265252859812191058636308480000000

So I think 29 is the correct answer
User avatar
Non-Human User
Joined: 09 Sep 2013
Posts: 32675
Own Kudos [?]: 821 [0]
Given Kudos: 0
Send PM
Re: If P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest valu [#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 P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest valu [#permalink]
Moderators:
Math Expert
92914 posts
Senior Moderator - Masters Forum
3137 posts

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