Author 
Message 
TAGS:

Hide Tags

Manager
Joined: 22 Jun 2010
Posts: 51

How many zeros does 100! end with?
[#permalink]
Show Tags
07 Sep 2010, 13:41
Question Stats:
85% (00:18) correct 15% (00:43) wrong based on 2372 sessions
HideShow timer Statistics
How many zeros does 100! end with? A. 20 B. 24 C. 25 D. 30 E. 32 expl. Find how many times the factor 5 is contained in 100!. That is, we have to find the largest such that 100! is divisible by . There are 20 multiples of 5 in the first hundred but 25, 50, 75, and 100 have to be counted twice because they are divisible by \(25 = 5^2\) . So, the answer is 24. The correct answer is B. I have absolutely no Idea what they are telling me... Can someone please post a simple explanation for the rationale behind the explanation, or (even better) provide an alternative simple approach? Thanks!
Official Answer and Stats are available only to registered users. Register/ Login.




Math Expert
Joined: 02 Sep 2009
Posts: 47977

Re: GMAT Club  m12#4
[#permalink]
Show Tags
07 Sep 2010, 13:49
AndreG wrote: How many zeros does 100! end with? • 20 • 24 • 25 • 30 • 32 expl. Find how many times the factor 5 is contained in 100!. That is, we have to find the largest such that 100! is divisible by . There are 20 multiples of 5 in the first hundred but 25, 50, 75, and 100 have to be counted twice because they are divisible by \(25 = 5^2\) . So, the answer is 24. The correct answer is B. I have absolutely no Idea what they are telling me... Can someone please post a simple explanation for the rationale behind the explanation, or (even better) provide an alternative simple approach? Thanks! Trailing zeros:Trailing zeros are a sequence of 0's in the decimal representation (or more generally, in any positional representation) of a number, after which no other digits follow. Fro example, 125000 has 3 trailing zeros (125 000); The number of trailing zeros in the decimal representation of n!, the factorial of a nonnegative integer n, can be determined with this formula: \(\frac{n}{5}+\frac{n}{5^2}+\frac{n}{5^3}+...+\frac{n}{5^k}\), where k must be chosen such that 5^(k+1)>nIt's more simple if you look at an example: How many zeros are in the end (after which no other digits follow) of 32!? \(\frac{32}{5}+\frac{32}{5^2}=6+1=7\) (denominator must be less than 32, \(5^2=25\) is less) So there are 7 zeros in the end of 32! The formula actually counts the number of factors 5 in n!, but since there are at least as many factors 2, this is equivalent to the number of factors 10, each of which gives one more trailing zero. BACK TO THE ORIGINAL QUESTION:According to above 100! has \(\frac{100}{5}+\frac{100}{25}=20+4=24\) trailing zeros. Answer: B. For more on this issues check Factorials and Number Theory links in my signature. Hope it helps.
_________________
New to the Math Forum? Please read this: Ultimate GMAT Quantitative Megathread  All You Need for Quant  PLEASE READ AND FOLLOW: 12 Rules for Posting!!! Resources: GMAT Math Book  Triangles  Polygons  Coordinate Geometry  Factorials  Circles  Number Theory  Remainders; 8. Overlapping Sets  PDF of Math Book; 10. Remainders  GMAT Prep Software Analysis  SEVEN SAMURAI OF 2012 (BEST DISCUSSIONS)  Tricky questions from previous years.
Collection of Questions: PS: 1. Tough and Tricky questions; 2. Hard questions; 3. Hard questions part 2; 4. Standard deviation; 5. Tough Problem Solving Questions With Solutions; 6. Probability and Combinations Questions With Solutions; 7 Tough and tricky exponents and roots questions; 8 12 Easy Pieces (or not?); 9 Bakers' Dozen; 10 Algebra set. ,11 Mixed Questions, 12 Fresh Meat DS: 1. DS tough questions; 2. DS tough questions part 2; 3. DS tough questions part 3; 4. DS Standard deviation; 5. Inequalities; 6. 700+ GMAT Data Sufficiency Questions With Explanations; 7 Tough and tricky exponents and roots questions; 8 The Discreet Charm of the DS; 9 Devil's Dozen!!!; 10 Number Properties set., 11 New DS set.
What are GMAT Club Tests? Extrahard Quant Tests with Brilliant Analytics




Retired Moderator
Joined: 02 Sep 2010
Posts: 774
Location: London

Re: product of integers
[#permalink]
Show Tags
18 Oct 2010, 02:40
feruz77 wrote: the product of all integers from 1 to 100 will have the following number of zeros at the end: a) 20 b) 24 c) 19 d) 22 e) 28
pls, help with solution method! Search through the forums (read the math book). There is several threads discussing this. The number of trailing zeros in 100! is (100/5)+(100/25)=24 Answer : (b)
_________________
Math writeups 1) Algebra101 2) Sequences 3) Set combinatorics 4) 3D geometry
My GMAT story
GMAT Club Premium Membership  big benefits and savings



Intern
Joined: 24 Jun 2010
Posts: 16

Re: product of integers
[#permalink]
Show Tags
18 Oct 2010, 08:22
the question can be reframed as (100!/10^x) now find x?
100!/(2*5)^xnow factorize 100! by 2 and 5
when factorized by 5 will give the least power 24 Ans 24



Director
Joined: 23 Apr 2010
Posts: 553

Re: GMAT Club  m12#4
[#permalink]
Show Tags
28 Dec 2010, 05:09
Is this a relevant GMAT question? Thank you.



Math Expert
Joined: 02 Sep 2009
Posts: 47977

Re: GMAT Club  m12#4
[#permalink]
Show Tags
28 Dec 2010, 05:22



Manager
Status: Student
Joined: 26 Aug 2013
Posts: 220
Location: France
Concentration: Finance, General Management
GPA: 3.44

Re: How many zeros does 100! end with?
[#permalink]
Show Tags
09 Jan 2014, 15:46
Hi Bunuel, just a question that I have in mind: You ALWAYS divide by 5? You never divide by another prime factor for those type of questions? if yes what are the exceptions? Thanks!
_________________
Think outside the box



Director
Affiliations: CrackVerbal
Joined: 03 Oct 2013
Posts: 520
Location: India

Re: How many zeros does 100! end with?
[#permalink]
Show Tags
09 Jan 2014, 23:59
AndreG wrote: How many zeros does 100! end with? A. 20 B. 24 C. 25 D. 30 E. 32 expl. Find how many times the factor 5 is contained in 100!. That is, we have to find the largest such that 100! is divisible by . There are 20 multiples of 5 in the first hundred but 25, 50, 75, and 100 have to be counted twice because they are divisible by \(25 = 5^2\) . So, the answer is 24. The correct answer is B. I have absolutely no Idea what they are telling me... Can someone please post a simple explanation for the rationale behind the explanation, or (even better) provide an alternative simple approach? Thanks! 100! = 1 x 2 x 3 x ..... x 100 10 = 5 x 2 2s are in abundance however there is limited supply of 5s How many multiples of 5 are there from 1 to 100 One way is counting other way is 100/5 = 20 How many multiples of 25 are there which contain an extra five = 100/25 = 4 There is no point going forward as the next power of 5 is 125 which is greater than 100. That does it: 20 + 4 = 24
_________________
For more info on GMAT and MBA, follow us on @AskCrackVerbal



Math Expert
Joined: 02 Sep 2009
Posts: 47977

Re: How many zeros does 100! end with?
[#permalink]
Show Tags
10 Jan 2014, 02:46



Director
Joined: 17 Dec 2012
Posts: 637
Location: India

Re: How many zeros does 100! end with?
[#permalink]
Show Tags
05 Apr 2014, 22:42
What does this question test? It asks for the number of zeros 100! ends with. If a number ends with zero it has to be a multiple of 10. So essentially we have to find out how many times in 100! does multiplication by 10 happen. But multiplication by 10 also happens when multiplication by both 5 and 2 happen. So it is better to see the factors of the number and then find the number of times multiplication by all those factors happen. Consider the simpler example. 4*5*6. How many zeros does it end with? We see 2 occurs twice in 4 which is 2*2, and once in 6 which is 2*3 and 5 occurs only once. So 5 is a limiting factor. Since 5 occurs only once, the number of times multiplication by both 5 and 2 happen or in other words the number of times multiplication by 10 happens or the number of zeros the number ends with is only 1. In the case of 100!, 5 occurs in 5, 10, 15, 20 and so on up to 100 i.e, 20 times. But remember 5 occurs twice in 25 which is 5*5 , twice in 50 which is 5*5*2 and similarly twice each in 75 and 100. So it actually occurs 24 times. 2 occurs a lot more times and so 5 is the limiting factor. Applying the same logic as in the simpler example, the number of zeros 100! ends with is 24.
_________________
Srinivasan Vaidyaraman Sravna Holistic Solutions http://www.sravnatestprep.com
Holistic and Systematic Approach



Intern
Joined: 08 Jun 2014
Posts: 5

Re: How many zeros does 100! end with?
[#permalink]
Show Tags
10 Dec 2015, 19:33
Hi Guys,
Am still abit confused about the whole concept. Some clarification would be appreciated.
With the formula, I see that the trailing zeros for the following are: 1) For 32!, (32/5) + (32/25) = 7 2) For 25!, (25/5) + (25/25) = 6 3) For 10!, (10/5) = 2 4) For 5!, (5/5) = 1
However, as i plug the numbers in and count on the calculator, the answer is different 1) For 32!, 263,130,836,933,693,000,000,000,000,000,000,000. A total of 21 trailing zeros 2) For 25!, 15,511,210,043,331,000,000,000,000. A total of 12 trailing zeros 3) For 10!, 3,628,800. A total of 2 trailing zeros 4) For 5!, 120. A total of 1 trailing zeros
Why is it that the first 2 doesnt comply whereas the last 2 does. I mean I understand the answer is correct here but am just trying to get my head around this.



Math Expert
Joined: 02 Sep 2009
Posts: 47977

Re: How many zeros does 100! end with?
[#permalink]
Show Tags
11 Dec 2015, 00:53
scottleey wrote: Hi Guys,
Am still abit confused about the whole concept. Some clarification would be appreciated.
With the formula, I see that the trailing zeros for the following are: 1) For 32!, (32/5) + (32/25) = 7 2) For 25!, (25/5) + (25/25) = 6 3) For 10!, (10/5) = 2 4) For 5!, (5/5) = 1
However, as i plug the numbers in and count on the calculator, the answer is different 1) For 32!, 263,130,836,933,693,000,000,000,000,000,000,000. A total of 21 trailing zeros 2) For 25!, 15,511,210,043,331,000,000,000,000. A total of 12 trailing zeros 3) For 10!, 3,628,800. A total of 2 trailing zeros 4) For 5!, 120. A total of 1 trailing zeros
Why is it that the first 2 doesnt comply whereas the last 2 does. I mean I understand the answer is correct here but am just trying to get my head around this. Use better calculator: http://www.wolframalpha.com
_________________
New to the Math Forum? Please read this: Ultimate GMAT Quantitative Megathread  All You Need for Quant  PLEASE READ AND FOLLOW: 12 Rules for Posting!!! Resources: GMAT Math Book  Triangles  Polygons  Coordinate Geometry  Factorials  Circles  Number Theory  Remainders; 8. Overlapping Sets  PDF of Math Book; 10. Remainders  GMAT Prep Software Analysis  SEVEN SAMURAI OF 2012 (BEST DISCUSSIONS)  Tricky questions from previous years.
Collection of Questions: PS: 1. Tough and Tricky questions; 2. Hard questions; 3. Hard questions part 2; 4. Standard deviation; 5. Tough Problem Solving Questions With Solutions; 6. Probability and Combinations Questions With Solutions; 7 Tough and tricky exponents and roots questions; 8 12 Easy Pieces (or not?); 9 Bakers' Dozen; 10 Algebra set. ,11 Mixed Questions, 12 Fresh Meat DS: 1. DS tough questions; 2. DS tough questions part 2; 3. DS tough questions part 3; 4. DS Standard deviation; 5. Inequalities; 6. 700+ GMAT Data Sufficiency Questions With Explanations; 7 Tough and tricky exponents and roots questions; 8 The Discreet Charm of the DS; 9 Devil's Dozen!!!; 10 Number Properties set., 11 New DS set.
What are GMAT Club Tests? Extrahard Quant Tests with Brilliant Analytics



Senior Manager
Joined: 20 Aug 2015
Posts: 392
Location: India

How many zeros does 100! end with?
[#permalink]
Show Tags
11 Dec 2015, 04:31
scottleey wrote: Hi Guys,
Am still abit confused about the whole concept. Some clarification would be appreciated.
With the formula, I see that the trailing zeros for the following are: 1) For 32!, (32/5) + (32/25) = 7 2) For 25!, (25/5) + (25/25) = 6 3) For 10!, (10/5) = 2 4) For 5!, (5/5) = 1
However, as i plug the numbers in and count on the calculator, the answer is different 1) For 32!, 263,130,836,933,693,000,000,000,000,000,000,000. A total of 21 trailing zeros 2) For 25!, 15,511,210,043,331,000,000,000,000. A total of 12 trailing zeros 3) For 10!, 3,628,800. A total of 2 trailing zeros 4) For 5!, 120. A total of 1 trailing zeros
Why is it that the first 2 doesnt comply whereas the last 2 does. I mean I understand the answer is correct here but am just trying to get my head around this. I think there is some problem with the calculator that you are using 32! = 263130836933693530167218012160000000 25! = 15511210043330985984000000 Both of these values comply with our understanding. You can try the calculation here: http://www.calculatorsoup.com/calculato ... orials.php



Intern
Joined: 13 Feb 2017
Posts: 1

How many zeros does 100! end with?
[#permalink]
Show Tags
04 May 2017, 20:53
Bunuel wrote: AndreG wrote: How many zeros does 100! end with? • 20 • 24 • 25 • 30 • 32 expl. Find how many times the factor 5 is contained in 100!. That is, we have to find the largest such that 100! is divisible by . There are 20 multiples of 5 in the first hundred but 25, 50, 75, and 100 have to be counted twice because they are divisible by \(25 = 5^2\) . So, the answer is 24. The correct answer is B. I have absolutely no Idea what they are telling me... Can someone please post a simple explanation for the rationale behind the explanation, or (even better) provide an alternative simple approach? Thanks! Trailing zeros:Trailing zeros are a sequence of 0's in the decimal representation (or more generally, in any positional representation) of a number, after which no other digits follow. Fro example, 125000 has 3 trailing zeros (125 000); The number of trailing zeros in the decimal representation of n!, the factorial of a nonnegative integer n, can be determined with this formula: \(\frac{n}{5}+\frac{n}{5^2}+\frac{n}{5^3}+...+\frac{n}{5^k}\), where k must be chosen such that 5^(k+1)>nIt's more simple if you look at an example: How many zeros are in the end (after which no other digits follow) of 32!? \(\frac{32}{5}+\frac{32}{5^2}=6+1=7\) (denominator must be less than 32, \(5^2=25\) is less) So there are 7 zeros in the end of 32! The formula actually counts the number of factors 5 in n!, but since there are at least as many factors 2, this is equivalent to the number of factors 10, each of which gives one more trailing zero. BACK TO THE ORIGINAL QUESTION:According to above 100! has \(\frac{100}{5}+\frac{100}{25}=20+4=24\) trailing zeros. Answer: B. For more on this issues check Factorials and Number Theory links in my signature. Hope it helps. Hi All, I have found a faster approach to solve these kind of questions: For trailing zero's: we need to check how many 5's are there in the number. So we can just divide the n by 5 and add the quotients: 100! 5  100 5  20 5  4 5  0 Add 20+4+0 = 24



Target Test Prep Representative
Status: Head GMAT Instructor
Affiliations: Target Test Prep
Joined: 04 Mar 2011
Posts: 2727

Re: How many zeros does 100! end with?
[#permalink]
Show Tags
14 Jul 2018, 19:12
AndreG wrote: How many zeros does 100! end with?
A. 20 B. 24 C. 25 D. 30 E. 32 We are looking the number of 2and5 pairs in 100! since each pair produces a factor of 10 and thus a 0 at the end of 100!. There are more factors of 2 than 5 in 100!, so the question is: how many factors 5 are there? We can use the following trick: Divide 100 by 5 and its subsequent quotients by 5 as long as the quotient is nonzero (and each time ignore any nonzero remainder). The final step is add up all these nonzero quotients and that will be the number of factors of 5 in 100!. 100/5 = 20 20/5 = 4 Since 4/5 has a zero quotient, we can stop here. We see that 20 + 4 = 24, so there are 24 factors 5 (and hence 10) in 100!. So 100! ends with 24 zeros. Answer: B
_________________
Jeffery Miller
Head of GMAT Instruction
GMAT Quant SelfStudy Course
500+ lessons 3000+ practice problems 800+ HD solutions




Re: How many zeros does 100! end with? &nbs
[#permalink]
14 Jul 2018, 19:12






