Author 
Message 
TAGS:

Hide Tags

Intern
Joined: 27 Mar 2014
Posts: 15

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
17 Apr 2014, 03:09
1
This post was BOOKMARKED
Bunuel wrote: agavaqif wrote: Very nice post, indeed.is there anything about factors of factorial? Check the links in my signature below. Thankss. Actually after writing this post I found necessery info from links in your profile. Thanks again



Intern
Joined: 20 May 2014
Posts: 39

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
11 Jun 2014, 13:18
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. Notice that the denominators must be less than or equal to 32 also notice that we take into account only the quotient of division (that is \frac{32}{5}=6 not 6.4). Therefore, 32! has 7 trailing zeros.
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. how come we divide 32 by 5?



Math Expert
Joined: 02 Sep 2009
Posts: 39595

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
11 Jun 2014, 14:13



Intern
Joined: 27 Aug 2014
Posts: 30
GMAT Date: 09272014

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
27 Aug 2014, 06:05
1
This post received KUDOS
2
This post was BOOKMARKED
I don't know the proof but I thought this would be useful:
Where a and b are integers,
(a + b)! is divisible by a!.b!



Intern
Joined: 12 Dec 2014
Posts: 3

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
12 Dec 2014, 19:57
Really valuable, thanks!



Intern
Joined: 29 Mar 2015
Posts: 12

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
22 Apr 2015, 01:07
1
This post received KUDOS
A more generalised method for finding powers of non prime numbers in a factorial:
Assuming we have to find the power of 12 in 30!
Now, 30 = 2 * 3 * 5.
Find what the highest power of each prime is in the given factorial (by the same method as given by Bunuel)
We have 25 + 12 + 6 + 3 + 1 = 47 2s in 50!
16 + 5 + 1 = 22 3s in 50!
10 + 2 = 12 5s in 50!
We need a combination of one 2, one 3 and one 5 to get 30. In the given factorial we have only 12 5s. Hence only twelve 30s are possible. So the greatest power of 30 in 50! is 12.
Similarly we can find powers of 4 (number of pairs of 2) etc.
Hope it helps.



Manager
Joined: 16 Jan 2013
Posts: 88
Location: Bangladesh
GPA: 2.75

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
05 May 2015, 09:47
If there were option give 100 kidos at once, I would give for this post. Thanks a hundred!!
_________________
Heading towards perfection>>



Verbal Forum Moderator
Joined: 29 Apr 2015
Posts: 897
Location: Switzerland
Concentration: Economics, Finance
WE: Asset Management (Investment Banking)

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
26 May 2015, 12:51
Bunuel wrote: noboru wrote:
It's better to illustrate it on the example: How many powers of 900 are in 50! \(900=2^2*3^2*5^2\)
Find the power of 2: \(\frac{50}{2}+\frac{50}{4}+\frac{50}{8}+\frac{50}{16}+\frac{50}{32}=25+12+6+3+1=47\)
= \(2^{47}\)
Find the power of 3: \(\frac{50}{3}+\frac{50}{9}+\frac{50}{27}=16+5+1=22\)
=\(3^{22}\)
Find the power of 5: \(\frac{50}{5}+\frac{50}{25}=10+2=12\)
=\(5^{12}\)
We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6
If I go to excel and calculate factorial 50! and then divide by 900^6, i still have room for 900^7 which then still yields a positive result. Could you explain that further? 3.04141E+64 =50! 5.31441E+17 =900^6 5.722948210942210000000000E+46 =Quotient (50!/900^6) Thank you very much
_________________
Saving was yesterday, heat up the gmatclub.forum's sentiment by spending KUDOS!
PS Please send me PM if I do not respond to your question within 24 hours.



Math Expert
Joined: 02 Sep 2009
Posts: 39595

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
27 May 2015, 03:34
reto wrote: Bunuel wrote: noboru wrote:
It's better to illustrate it on the example: How many powers of 900 are in 50! \(900=2^2*3^2*5^2\)
Find the power of 2: \(\frac{50}{2}+\frac{50}{4}+\frac{50}{8}+\frac{50}{16}+\frac{50}{32}=25+12+6+3+1=47\)
= \(2^{47}\)
Find the power of 3: \(\frac{50}{3}+\frac{50}{9}+\frac{50}{27}=16+5+1=22\)
=\(3^{22}\)
Find the power of 5: \(\frac{50}{5}+\frac{50}{25}=10+2=12\)
=\(5^{12}\)
We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6
If I go to excel and calculate factorial 50! and then divide by 900^6, i still have room for 900^7 which then still yields a positive result. Could you explain that further? 3.04141E+64 =50! 5.31441E+17 =900^6 5.722948210942210000000000E+46 =Quotient (50!/900^6) Thank you very much Use better calculator: http://www.wolframalpha.com/input/?i=50%21%2F900%5E6
_________________
New to the Math Forum? Please read this: 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



Intern
Joined: 07 Dec 2011
Posts: 2

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
22 Sep 2015, 15:58
Bunuel wrote: noboru wrote: Point 1 is just point 2 for k=5, isnt it? Yes, it is. I've separated them as for GMAT generally we need only trailing zeros and almost never other prime's power. shalva wrote: Can you please post this one too? It's still interesting, though may not be usable for GMAT. It's better to illustrate it on the example: How many powers of 900 are in 50! \(900=2^2*3^2*5^2\) Find the power of 2:\(\frac{50}{2}+\frac{50}{4}+\frac{50}{8}+\frac{50}{16}+\frac{50}{32}=25+12+6+3+1=47\) = \(2^{47}\) Find the power of 3:\(\frac{50}{3}+\frac{50}{9}+\frac{50}{27}=16+5+1=22\) =\(3^{22}\) Find the power of 5:\(\frac{50}{5}+\frac{50}{25}=10+2=12\) =\(5^{12}\) We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6 Can someone please explain why 900 is there 6 times versus 12 ? there are 12 5's in 50! 30 = 2 * 3 * 5 30 x 30 = 900 = 2^2 x 3^2 x 5^2 I understand that 900 is a pair of the primes 2 , 3 and 5 but if there are a total of 12 5's then 6 would be in the first 30 and 6 in the next 30 . 6 + 6 = 12 so 900 ^ 12 would seem more correct?



Math Forum Moderator
Status: Greatness begins beyond your comfort zone
Joined: 08 Dec 2013
Posts: 1245
Location: India
Concentration: General Management, Strategy
GPA: 3.2
WE: Information Technology (Consulting)

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
04 Nov 2015, 04:16
ayushkhatri wrote: Bunuel wrote: noboru wrote: Point 1 is just point 2 for k=5, isnt it? Yes, it is. I've separated them as for GMAT generally we need only trailing zeros and almost never other prime's power. shalva wrote: Can you please post this one too? It's still interesting, though may not be usable for GMAT. It's better to illustrate it on the example: How many powers of 900 are in 50! \(900=2^2*3^2*5^2\) Find the power of 2:\(\frac{50}{2}+\frac{50}{4}+\frac{50}{8}+\frac{50}{16}+\frac{50}{32}=25+12+6+3+1=47\) = \(2^{47}\) Find the power of 3:\(\frac{50}{3}+\frac{50}{9}+\frac{50}{27}=16+5+1=22\) =\(3^{22}\) Find the power of 5:\(\frac{50}{5}+\frac{50}{25}=10+2=12\) =\(5^{12}\) We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6 Can someone please explain why 900 is there 6 times versus 12 ? there are 12 5's in 50! 30 = 2 * 3 * 5 30 x 30 = 900 = 2^2 x 3^2 x 5^2 I understand that 900 is a pair of the primes 2 , 3 and 5 but if there are a total of 12 5's then 6 would be in the first 30 and 6 in the next 30 . 6 + 6 = 12 so 900 ^ 12 would seem more correct? ayushkhatriIn the prime factorization of 900 , the highest power of 5 is 2 . 900=\(2^{2}\)∗\(3^{2}\)∗\(5^{2}\) as per the calculations in the previous posts , we know power of 5 in 50! is 12 . So the 12 powers of 5 can be divided among 6 pairs . We divide in pairs because 900 has 5^2 . Just think for a moment , if it was indeed 900 ^ {12} , then we will have (5^2)^12 that is 5^24 . There will be 12 powers of 30 in 50! .
_________________
When everything seems to be going against you, remember that the airplane takes off against the wind, not with it.  Henry Ford The Moment You Think About Giving Up, Think Of The Reason Why You Held On So Long +1 Kudos if you find this post helpful



Intern
Joined: 06 Mar 2015
Posts: 29

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
31 May 2016, 06:35
Bunuel wrote: noboru wrote: Point 1 is just point 2 for k=5, isnt it? Yes, it is. I've separated them as for GMAT generally we need only trailing zeros and almost never other prime's power. shalva wrote: Can you please post this one too? It's still interesting, though may not be usable for GMAT. It's better to illustrate it on the example: How many powers of 900 are in 50! \(900=2^2*3^2*5^2\) Find the power of 2:\(\frac{50}{2}+\frac{50}{4}+\frac{50}{8}+\frac{50}{16}+\frac{50}{32}=25+12+6+3+1=47\) = \(2^{47}\) Find the power of 3:\(\frac{50}{3}+\frac{50}{9}+\frac{50}{27}=16+5+1=22\) =\(3^{22}\) Find the power of 5:\(\frac{50}{5}+\frac{50}{25}=10+2=12\) =\(5^{12}\) We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6 Hi, When you say how many powers of 900 are in 50!, i understand you mean the powers of the prime factors of 900 in 50!. Kindly confirm? Further what do you mean by "We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6" Thanks



Math Forum Moderator
Status: Greatness begins beyond your comfort zone
Joined: 08 Dec 2013
Posts: 1245
Location: India
Concentration: General Management, Strategy
GPA: 3.2
WE: Information Technology (Consulting)

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
31 May 2016, 08:54
nishi999 wrote: Bunuel wrote: noboru wrote: Point 1 is just point 2 for k=5, isnt it? Yes, it is. I've separated them as for GMAT generally we need only trailing zeros and almost never other prime's power. shalva wrote: Can you please post this one too? It's still interesting, though may not be usable for GMAT. It's better to illustrate it on the example: How many powers of 900 are in 50! \(900=2^2*3^2*5^2\) Find the power of 2:\(\frac{50}{2}+\frac{50}{4}+\frac{50}{8}+\frac{50}{16}+\frac{50}{32}=25+12+6+3+1=47\) = \(2^{47}\) Find the power of 3:\(\frac{50}{3}+\frac{50}{9}+\frac{50}{27}=16+5+1=22\) =\(3^{22}\) Find the power of 5:\(\frac{50}{5}+\frac{50}{25}=10+2=12\) =\(5^{12}\) We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6 Hi, When you say how many powers of 900 are in 50!, i understand you mean the powers of the prime factors of 900 in 50!. Kindly confirm? Yes Further what do you mean by "We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6" Prime factorization of 900 gives 900=\(2^{2}\)∗\(3^{2}\)∗\(5^{2}\) From this prime factorization , we can conclude that all of the prime factors 2 , 3 and 5 need to be represented twice in 900. We also know the power of 5 in 50! is 5^12 .We selected 5 and its power because among 2,3 and 5  power of 5 is least . Hence , we can say that there the 12 powers of 5 can be divided among 6 pairsThanks Hi nishi999 , Please find my responses as highlighted text in blue . Finding the powers of a prime number p, in the n!The formula is: \(\frac{n}{p}+\frac{n}{p^2}+\frac{n}{p^3}+...+\frac{n}{p^k}\), where \(k\) must be chosen such that \(p^k\leq{n}\) Hope this help!!
_________________
When everything seems to be going against you, remember that the airplane takes off against the wind, not with it.  Henry Ford The Moment You Think About Giving Up, Think Of The Reason Why You Held On So Long +1 Kudos if you find this post helpful



Manager
Joined: 20 Apr 2014
Posts: 120

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
01 Aug 2016, 01:42
Please Bunuel Could you explain how you got the result below.
We need all of them (2,3,5) to be represented twice in 900, 5 can provide us with only 6 pairs, thus there is 900 in the power of 6 in 50! 900^6



Intern
Joined: 09 Mar 2017
Posts: 8

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
07 May 2017, 08:31
Bunuel wrote: 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.
Can someone please explain what this sentence means?



Manager
Joined: 18 Jan 2017
Posts: 65
Location: India
Concentration: Finance, Economics

Re: Everything about Factorials on the GMAT [#permalink]
Show Tags
07 May 2017, 08:50
In order to calculate the number of trailing zeros we need to determine the # of times 10 appears in the given factorial
However 10=5x2, in order to make a 10 both 5 and 2 need to present in equal measure. eg 5x5x2= 50 (Only 1 trailing zero as there is only one 5 and 2 to make a 10). But in 5x5x2x2=100 (Gives us 2 trailing zeros as there are 1 5s and 2s)
Now coming back to your question we need to determine the no of 5s and 2s in n!. The lower of the two (ie their power) will give the no of trailing zeros. As the power of 2 will always be higher in n! (considering its contains multiple consecutive nos) it would be sufficient to just determine the no of 5s.
In case of any doubt you could calculate the no of 2s as well and then select the lower of the two (# of 5 or 2)
Hope this clarifies !




Re: Everything about Factorials on the GMAT
[#permalink]
07 May 2017, 08:50



Go to page
Previous
1 2 3 4
[ 76 posts ]




