This is from one of the questions from yesterday's post. I could not understand the logic properly.
How to find how many 10s we can get out of 30! ?
How to find how many 10s we can get out of 30! ?
BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course
RedeemTarget Test Prep · GMAT
Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

with Chris Peckover, 100th-Percentile GMAT Scorer
Self-paced EA prep. Study on your schedule.

with Logan Thompson
Complete access from day one. Study on your schedule.
Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.
10=2*5 so it depends on how many 5's do we havejerryragland wrote:This is from one of the questions from yesterday's post. I could not understand the logic properly.
How to find how many 10s we can get out of 30! ?
Why did not we pick 2? why 5? I know I am asking something basic here but could not figure out what.thephoenix wrote:10=2*5 so it depends on how many 5's do we havejerryragland wrote:This is from one of the questions from yesterday's post. I could not understand the logic properly.
How to find how many 10s we can get out of 30! ?
short cut
divide the # i.e 30 by 5 note the quotient 6 in this case
now divide the quotient 6 ahain by 5 and note down the quotient i.e 1
beyond this repaeting the same thing we get 0 as the quotient
so total is 6+1=7
hence 7
Because, twos will be always more than fives and for making a ten, you need a two and a five . So, obviously it is the number of fives that you've to concentrate on (you've twos in surplus).jerryragland wrote:
Why did not we pick 2? why 5? I know I am asking something basic here but could not figure out what.
Dude!supritajoshi wrote:Can you please explain what will be answer if we are asked "find out how many 20 are there in 30!" ? I mean in this case also we have to calculate number of 5s in 30 ! . Thanks.
lkm wrote:Dude!supritajoshi wrote:Can you please explain what will be answer if we are asked "find out how many 20 are there in 30!" ? I mean in this case also we have to calculate number of 5s in 30 ! . Thanks.
Here is the simple logic for finding all the numbers:-
Let's say number to find = N
Then factorize the number N with all possible prime number. Let's say n1, n2, n2.... nn are the prime factors of number N.
Now find the possible number of combination of these prime factors in the given factorial number.
The number will be our answer.
Shortcut: Choose the prime factors whose chances is least to appear in that factorial.
For example:
Let's say N = 20
On factorizing 20, we get 2 x 2 x 5 or 4 x 5.
So, now in 30! we need to find the possible combination of 4 x 5.
Now 4 is the factor of following numbers in 30! :
4, 8, 12, 16, 20, 24, 28 (Total 7)
And 5 is the factor of following numbers in 30! :
5, 10, 15, 20, 25 (5*5), 30 (Total 7)
So possible number of combination = 7
Hence, there SEVEN 20s in 30!
So 30s in 50! would be??? I'm trying to use your shortcut and I don't get it.lkm wrote:Dude!supritajoshi wrote:Can you please explain what will be answer if we are asked "find out how many 20 are there in 30!" ? I mean in this case also we have to calculate number of 5s in 30 ! . Thanks.
Here is the simple logic for finding all the numbers:-
Let's say number to find = N
Then factorize the number N with all possible prime number. Let's say n1, n2, n2.... nn are the prime factors of number N.
Now find the possible number of combination of these prime factors in the given factorial number.
The number will be our answer.
Shortcut: Choose the prime factors whose chances is least to appear in that factorial.
For example:
Let's say N = 20
On factorizing 20, we get 2 x 2 x 5 or 4 x 5.
So, now in 30! we need to find the possible combination of 4 x 5.
Now 4 is the factor of following numbers in 30! :
4, 8, 12, 16, 20, 24, 28 (Total 7)
And 5 is the factor of following numbers in 30! :
5, 10, 15, 20, 25 (5*5), 30 (Total 7)
So possible number of combination = 7
Hence, there SEVEN 20s in 30!
New here Create free account