trailing zeros

This topic has expert replies
User avatar
GMAT Instructor
Posts: 3650
Joined: Wed Jan 21, 2009 4:27 am
Location: India
Thanked: 267 times
Followed by:80 members
GMAT Score:760

trailing zeros

by sanju09 » Tue Feb 24, 2009 6:03 am
How many trailing zeros will be there after the rightmost non-zero digit in the value of 25!?

A. 25
B. 8
C. 6
D. 5
E. 2
The mind is everything. What you think you become. -Lord Buddha



Sanjeev K Saxena
Quantitative Instructor
The Princeton Review - Manya Abroad
Lucknow-226001

www.manyagroup.com

User avatar
Site Admin
Posts: 2567
Joined: Thu Jan 01, 2009 10:05 am
Thanked: 712 times
Followed by:550 members
GMAT Score:770

by DanaJ » Tue Feb 24, 2009 6:24 am
You've got plenty of 2's in there, so you're looking for the 5's (since 2*5 = 10).
You've got:
5 in 5
5 in 10
5 in 15
5 in 20
2 5's in 25
This makes 6 fives or 6 trailing zeros.

Master | Next Rank: 500 Posts
Posts: 160
Joined: Fri May 30, 2008 7:10 pm
Thanked: 10 times
GMAT Score:600

by dendude » Tue Feb 24, 2009 10:19 am
DanaJ wrote:You've got plenty of 2's in there, so you're looking for the 5's (since 2*5 = 10).
You've got:
5 in 5
5 in 10
5 in 15
5 in 20
2 5's in 25
This makes 6 fives or 6 trailing zeros.
But are'nt we forgetting the 0's themselves in 10 and 20.
So there should be two more trailing zeroes.
Ans should be B. 8

Senior | Next Rank: 100 Posts
Posts: 56
Joined: Tue Jan 13, 2009 12:59 pm
Location: Toronto
Thanked: 1 times

by odod » Tue Feb 24, 2009 10:24 am
I don't understanding anything from the post above..can you elaborate for me?
ODOD

User avatar
Site Admin
Posts: 2567
Joined: Thu Jan 01, 2009 10:05 am
Thanked: 712 times
Followed by:550 members
GMAT Score:770

by DanaJ » Tue Feb 24, 2009 10:38 am
dendude: but if you take the 5's out of 10 and 20 you are left with "humble" 2 and 4 respectively. This is how I see it, but I may be wrong.

odod: What we are looking for is the number of trailing zeros, or the number of times you have the number 10 in 25! (since multiplying a number by 10 just adds a zero at the end of the number). Now, 10 = 2*5. There are plenty of 2's in 25!, since every even number has 2 in it. This means that the important stuff is actually 5, so you're looking for 5's in 1*2*3*...*24*25 = 25!. You have 5's in:
5 - one 5
10 - one 5
15 - one 5
20 - one 5
25 - two 5's (since 25 = 5^2).
This means that you have exactly 6 fives in 25! and, since there are plenty of 2's to go around, you have 10 times 6 in 25!.

Hope you understand now...

Master | Next Rank: 500 Posts
Posts: 151
Joined: Wed Feb 11, 2009 2:45 am
Thanked: 3 times

by deepoe » Tue Feb 24, 2009 10:49 am
https://www.purplemath.com/modules/factzero.htm <- explains this:$ Now I understand this exercise too :$

Senior | Next Rank: 100 Posts
Posts: 73
Joined: Wed Jan 07, 2009 1:00 pm
Location: Tampa, FL
Thanked: 9 times
GMAT Score:630

by Mr2Bits » Tue Feb 24, 2009 11:54 am
deepoe wrote:https://www.purplemath.com/modules/factzero.htm <- explains this:$ Now I understand this exercise too :$
Thanks for the link, learn something new everyday.

Master | Next Rank: 500 Posts
Posts: 160
Joined: Fri May 30, 2008 7:10 pm
Thanked: 10 times
GMAT Score:600

by dendude » Tue Feb 24, 2009 12:20 pm
DanaJ wrote:dendude: but if you take the 5's out of 10 and 20 you are left with "humble" 2 and 4 respectively. This is how I see it, but I may be wrong.
DanaJ: Yes you're right! I see my mistake now. There would be only 6 trailing 0's

Master | Next Rank: 500 Posts
Posts: 137
Joined: Thu Jan 08, 2009 1:27 am
Thanked: 7 times

by welcome » Tue Feb 24, 2009 12:41 pm
Good Link, great learning.

There is another fast was of doing this.

Devide by 25 once , and devide by 5 once, add both. (Take only quetioned.) (for less than 125.)

Eg. 25! ---(so devided 25 by 25 =1 )+ (25! so devided 25 by 5= 5) = 6.

101! ---(101/25) + (101/5) = 4+20 = 24.
Shubham.
590 >> 630 >> 640 >> 610 >> 600 >> 640 >> 590 >> 640 >> 590 >> 590

Newbie | Next Rank: 10 Posts
Posts: 4
Joined: Mon Jul 30, 2012 6:24 am
Followed by:1 members

by Vidushi Jain » Wed Aug 22, 2012 12:55 am
But when we divide 200/25+200/5= 48 where as 200! has 49 trailing zeros is there a seprate rule for no.s after 101!??

User avatar
Legendary Member
Posts: 502
Joined: Tue Jun 03, 2008 11:36 pm
Thanked: 99 times
Followed by:21 members

by vk_vinayak » Wed Aug 22, 2012 2:14 am
Vidushi Jain wrote:But when we divide 200/25+200/5= 48 where as 200! has 49 trailing zeros is there a seprate rule for no.s after 101!??
You forgot 125, which has 3 multiples of 5.

200/125 + 200/25 + 200/5 = 49
- VK

I will (Learn. Recognize. Apply)