Trailiiiiiing zer0s

This topic has expert replies
User avatar
Senior | Next Rank: 100 Posts
Posts: 67
Joined: Fri Nov 26, 2010 8:25 am
Thanked: 3 times

Trailiiiiiing zer0s

by Ramit88 » Thu Jan 20, 2011 11:21 am
how many trailing zeroes does 60! have?

a 12
b 9
c 15
d 14
e 13


ANS D


can someone explain this concept in depth
Last edited by Ramit88 on Thu Jan 20, 2011 8:57 pm, edited 1 time in total.

Senior | Next Rank: 100 Posts
Posts: 79
Joined: Mon Sep 15, 2008 5:54 pm
Thanked: 3 times

by DarkKnight » Thu Jan 20, 2011 12:19 pm
I am getting 14.

User avatar
GMAT Instructor
Posts: 1031
Joined: Thu Jul 03, 2008 1:23 pm
Location: Malibu, CA
Thanked: 716 times
Followed by:255 members
GMAT Score:750

by Brian@VeritasPrep » Thu Jan 20, 2011 12:33 pm
Good question - I've seen a few variations on this one, and the biggest "catch" is what makes the answer here 14.

They're asking how many 0s this number has at the end, or in other words how many times this number can be divided by 10. If you prime-factor out 10, that means that we need to know how many pairings of 2*5 this number has. (For example, 2*15 is 30, which is divisible by 10 once because 30 is 2*3*5, and the 2 and 5 form a 10)

Well, there will be tons of 2s - every second number has at least one factor of 2. But there will be fewer 5s - just consider 5!: 1*2*3*2*2*5 ---> There are 3 2s and one 5. So we really need to know how many 5s this number has.

We can find multiples of 5 at:

5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, and 60 ----> there are 12 multiples of 5 in this set


HOWEVER - keep in mind that both 25 and 50 are divisible by 5 twice. 25 = 5*5 and 50 = 2*5*5. So each of those numbers provides and extra factor of 5, so we're up to 14 5s, and enough 2s to pair with each, so this number will have 14 trailing zeroes.
Brian Galvin
GMAT Instructor
Chief Academic Officer
Veritas Prep

Looking for GMAT practice questions? Try out the Veritas Prep Question Bank. Learn More.

User avatar
Legendary Member
Posts: 543
Joined: Tue Jun 15, 2010 7:01 pm
Thanked: 147 times
Followed by:3 members

by anshumishra » Thu Jan 20, 2011 5:09 pm
Ramit88 wrote:how many trailing zeroes does 60! have?

a 12
b 9
c 15
d 14
e 13


ANS A


can someone explain this concept in depth
shortcut :

The number of trailing zeros in n! can be determined with this formula:
n/5 + n/5^2+n/5^3+...+n/5^k ; where 5^(k+1) > n

So, number of trailing zeros in 60! (since, 5^3 > 60) = 60/5 + 60/5^2 = 12+2 = 14.

Hope that helps !

[Note : why does this formula work ? The formula actually counts the number of factors of 5 in n!, but since there are at least as many factors of 2, this is equivalent to the number of factors 10, each of which gives one more trailing zero.]
Thanks
Anshu

(Every mistake is a lesson learned )

Master | Next Rank: 500 Posts
Posts: 102
Joined: Fri Nov 05, 2010 7:10 am
Thanked: 8 times
Followed by:2 members
GMAT Score:690

by gmatjeet » Wed Feb 02, 2011 10:53 am
I approached the problem as below.little timeconsuming may be...

60! = 1.2.3.4.5...........58.59.60

Which of these factors will produce trailing zeros.

One zero - (2,5),(10),(12,15),(20),(30),(32,35),(40),(42,45),(52,55),(60),
Two zeros - (50,6),(8,25)

The count is 14. Reason i approach the problem like this: a number or pair of number once used cannot be used further to produce a trailing zero. So when a factor has been used , it cannot be used any further to do calculation.

User avatar
Master | Next Rank: 500 Posts
Posts: 359
Joined: Wed Mar 11, 2009 4:37 am
Location: Kolkata, India
Thanked: 50 times
Followed by:2 members

by Abhishek009 » Thu Feb 03, 2011 5:04 am
anshumishra wrote:
Ramit88 wrote:how many trailing zeroes does 60! have?

a 12
b 9
c 15
d 14
e 13


ANS A


can someone explain this concept in depth
shortcut :

The number of trailing zeros in n! can be determined with this formula:
n/5 + n/5^2+n/5^3+...+n/5^k ; where 5^(k+1) > n

So, number of trailing zeros in 60! (since, 5^3 > 60) = 60/5 + 60/5^2 = 12+2 = 14.

Hope that helps !

[Note : why does this formula work ? The formula actually counts the number of factors of 5 in n!, but since there are at least as many factors of 2, this is equivalent to the number of factors 10, each of which gives one more trailing zero.]
Perfectly said !

If U want to reduce the calculations then proceed as follows

60 / 5 = 12

12 /5 = 2

Ignore the decimal part and add those , it gives you 14.

Again it can be done by :

60/5 + 60 / 25

=>12 + 2 = 14


Both the methods are same...
Abhishek

Senior | Next Rank: 100 Posts
Posts: 43
Joined: Sat Jan 15, 2011 11:26 am
Thanked: 9 times

by tgou008 » Tue May 10, 2011 12:23 pm
WOW never seen a problem like this before! I very much doubt I would have been able to do this in under 2 mins in the exam, but perhaps I will now having read this post.

What level difficulty would this be?

Senior | Next Rank: 100 Posts
Posts: 40
Joined: Sun Mar 27, 2011 9:54 am
Thanked: 2 times

by sushantgupta » Sun Jul 03, 2011 9:27 pm
total no of factor of 5 = 60 /5 = 12
total no of factor of 5^2 = 60/25 = 2
total no of factor of 5^3 = 60 /125 = 0

So total no of trailing zeros = 12 + 2 = 14

User avatar
Master | Next Rank: 500 Posts
Posts: 461
Joined: Tue May 10, 2011 9:09 am
Location: pune
Thanked: 36 times
Followed by:3 members

by amit2k9 » Sun Jul 03, 2011 10:41 pm
60/5 = 12
60/25 = 2
60/125 = 0

thus 12+2 = 14.
For Understanding Sustainability,Green Businesses and Social Entrepreneurship visit -https://aamthoughts.blocked/
(Featured Best Green Site Worldwide-https://bloggers.com/green/popular/page2)

User avatar
Legendary Member
Posts: 626
Joined: Fri Dec 23, 2011 2:50 am
Location: Ahmedabad
Thanked: 31 times
Followed by:10 members

by ronnie1985 » Thu Mar 29, 2012 7:49 am
=(60/5)+(60/25) = 14
Follow your passion, Success as perceived by others shall follow you

User avatar
Newbie | Next Rank: 10 Posts
Posts: 6
Joined: Fri May 27, 2011 8:01 pm

by kannan007 » Sat Jun 16, 2012 1:57 am
the prime building block of 10 is 2 and 5..we have 2 in abundance,so count the 5..
60/5=12
then 25 contain an extra 5,50 contain an extra 5(5*2*5)..so 2 5's
total 12+2=14

User avatar
Senior | Next Rank: 100 Posts
Posts: 44
Joined: Sun Apr 01, 2012 4:07 am
Followed by:1 members

by chris558 » Wed Sep 26, 2012 5:52 am
To find the number of p (prime number) in a certain n!, you add up the quotients of n/p, n/p^2, n/p^3.... so on.

60/5=12
60/25=2

12+2=14

Answer is D

Newbie | Next Rank: 10 Posts
Posts: 2
Joined: Wed Nov 07, 2012 9:25 am

by rohan_patel » Mon Apr 01, 2013 10:35 pm
answer is D.
The number of trailing zeroes depends on the highest factor of 5 in that factorial.
so the sequence for highest factor(hf) of 5 between the range of factorials is as follows:'
from
0 to 5!= highest factor of 5= 1
5! to 10! hf(5)=2
10! to 15! =3
15! to 20! =4
20! to 25!=6 (here in 25 we have 5*5 so highest factor raises to 6 instead of 5)
25! to 30! =7
30! to 35! =8
35! to 40! =9
40! to 45!=10
45! to 50!=12(here in 50 we have 5*5*2 so highest factor raises to 12 instead of 11)
50! to 55!=13
55! to 60!=14

Master | Next Rank: 500 Posts
Posts: 171
Joined: Tue Jan 08, 2013 7:24 am
Thanked: 1 times

by rajeshsinghgmat » Sun Apr 07, 2013 4:06 am
(D) 14

[60/5]=12

[60/(5^2)]=2

[60/(5^3)]=0

Required number = 12+2

= 14

Junior | Next Rank: 30 Posts
Posts: 14
Joined: Fri Apr 05, 2013 11:56 pm
Thanked: 3 times

by bharat.bondalapati » Sun Apr 07, 2013 8:44 am
Simplest way is
60/5 = 12
12/5 = 2

12+2 = 14 zeroes.

Let me know if you want to know the logic behind this.
Best,
Bharat

If you find my post helpful, please click on the 'Thank' icon.