Last visit was: 23 Apr 2024, 16:05 It is currently 23 Apr 2024, 16:05

Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
SORT BY:
Date
Director
Director
Joined: 18 Jul 2018
Posts: 926
Own Kudos [?]: 1288 [35]
Given Kudos: 95
Location: India
Concentration: Operations, General Management
GMAT 1: 590 Q46 V25
GMAT 2: 690 Q49 V34
WE:Engineering (Energy and Utilities)
Send PM
Most Helpful Reply
RC & DI Moderator
Joined: 02 Aug 2009
Status:Math and DI Expert
Posts: 11161
Own Kudos [?]: 31868 [7]
Given Kudos: 290
Send PM
GMAT Club Legend
GMAT Club Legend
Joined: 03 Oct 2013
Affiliations: CrackVerbal
Posts: 4946
Own Kudos [?]: 7624 [5]
Given Kudos: 215
Location: India
Send PM
General Discussion
Intern
Intern
Joined: 09 Sep 2017
Posts: 5
Own Kudos [?]: 3 [2]
Given Kudos: 7
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
2
Bookmarks
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C


If we break up 10^7 to 2^7 and 5^7 . we get no 2's left in the denominator and only 1 5. the remainder cannot be bigger than the quotient.
Therefore shouldnt the answer be A) ? which is 2?

please confirm.
Director
Director
Joined: 18 Jul 2018
Posts: 926
Own Kudos [?]: 1288 [1]
Given Kudos: 95
Location: India
Concentration: Operations, General Management
GMAT 1: 590 Q46 V25
GMAT 2: 690 Q49 V34
WE:Engineering (Energy and Utilities)
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
1
Kudos
sohrabbanker wrote:
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C


If we break up 10^7 to 2^7 and 5^7 . we get no 2's left in the denominator and only 1 5. the remainder cannot be bigger than the quotient.
Therefore shouldnt the answer be A) ? which is 2?

please confirm.


You'll be left with 2, But you have to multiply 2 with the common number which you canceled in both the numerator and denominator to get the final remainder.
Tutor
Joined: 16 Oct 2010
Posts: 14816
Own Kudos [?]: 64882 [2]
Given Kudos: 426
Location: Pune, India
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
2
Kudos
Expert Reply
sohrabbanker wrote:
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C


If we break up 10^7 to 2^7 and 5^7 . we get no 2's left in the denominator and only 1 5. the remainder cannot be bigger than the quotient.
Therefore shouldnt the answer be A) ? which is 2?

please confirm.



Here is the thing about cancelling off common terms from the numerator and denominator - if you want the actual remainder, you need to multiply the cancelled terms back.

e.g. what is the remainder when 20 is divided by 6? The answer, as you know is 2. The remainder in this case can take 6 values (0/1/2/3/4/5).
But if we do 20/6 = 10/3, the remainder is 1. Of course the remainder in this case can take only 3 values 0/1/2.
1 is not the correct answer. Since we cancelled off 2 initially, to get the actual remainder, we need to multiply by 2 back to get the remainder as 1*2 = 2.

So when you cancel off 10^6, you will need to multiply it back to the remainder you obtain upon division by 5. Since the last non-zero digit is 4 (as shown by chetan2u above), the remainder will be 4*10^6.
Intern
Intern
Joined: 22 Sep 2016
Posts: 2
Own Kudos [?]: 1 [1]
Given Kudos: 31
Send PM
What is the remainder when 25! is divided by 10^7 [#permalink]
1
Kudos
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C


Posted from my mobile device


Hi Chetan,

If u don't mind, can u explain how u concluded that 25! Contains 6 zeroes.
Is it like a formula...
Kindly explain...


Thanks,
Subhan
Manager
Manager
Joined: 14 Jun 2018
Posts: 171
Own Kudos [?]: 256 [0]
Given Kudos: 176
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
Subhan7 wrote:
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C


Posted from my mobile device


Hi Chetan,

If u don't mind, can u explain how u concluded that 25! Contains 6 zeroes.
Is it like a formula...
Kindly explain...


Thanks,
Subhan

https://gmatclub.com/forum/everything-a ... 85592.html
RC & DI Moderator
Joined: 02 Aug 2009
Status:Math and DI Expert
Posts: 11161
Own Kudos [?]: 31868 [0]
Given Kudos: 290
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
Expert Reply
Subhan7 wrote:
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C


Posted from my mobile device


Hi Chetan,

If u don't mind, can u explain how u concluded that 25! Contains 6 zeroes.
Is it like a formula...
Kindly explain...


Thanks,
Subhan



Hi...

25! = 1*2*3*4*5*....*24*25..
Now 10s depends on number of its prime factors 2s or 5s. Ofcourse there will be more 5s as compared to 2s
Now how many 5s are there in 1*2*3*...24*25
When we divide by 5 we get all multiples of 5 so 25/5=5, these are 1*2*..*5....*10...*15...*20...*25
Now by dividing by 5^2 we get numbers that have 5^2 in it her it is 25/5^2=1
So total 5+1=6
Manager
Manager
Joined: 06 Sep 2018
Posts: 127
Own Kudos [?]: 59 [0]
Given Kudos: 72
Location: Pakistan
Concentration: Finance, Operations
GPA: 2.87
WE:Engineering (Other)
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C

How could we know the highlighted part?
RC & DI Moderator
Joined: 02 Aug 2009
Status:Math and DI Expert
Posts: 11161
Own Kudos [?]: 31868 [2]
Given Kudos: 290
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
1
Kudos
1
Bookmarks
Expert Reply
HasnainAfxal wrote:
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C

How could we know the highlighted part?


Take a smaller example say 10^2 so 100..
If you divide any number say 123, remainder is last two digits 23..
The number could be 34276523, remainder will remain last two digits..
If number is 3467900, remainder is 00, that is the number is divisible by 100

Similarly here when you divide something with 10^7 , remainder will be last 7 digits..
Manager
Manager
Joined: 31 Jul 2017
Posts: 168
Own Kudos [?]: 331 [0]
Given Kudos: 347
Location: Tajikistan
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
Hi...

25! = 1*2*3*4*5*....*24*25..
Now 10s depends on number of its prime factors 2s or 5s. Ofcourse there will be more 5s as compared to 2s
Now how many 5s are there in 1*2*3*...24*25
When we divide by 5 we get all multiples of 5 so 25/5=5, these are 1*2*..*5....*10...*15...*20...*25
Now by dividing by 5^2 we get numbers that have 5^2 in it her it is 25/5^2=1
So total 5+1=6[/quote]


Dear chetan2u,
in highlighted part above, do you mean there are more 2s? I cannot see how there are more 5s
Manager
Manager
Joined: 25 Jul 2018
Posts: 53
Own Kudos [?]: 401 [0]
Given Kudos: 257
Location: Uzbekistan
Concentration: Finance, Organizational Behavior
GRE 1: Q168 V167
GPA: 3.85
WE:Project Management (Investment Banking)
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
chetan2u wrote:
Afc0892 wrote:
What is the remainder when 25! is divided by \(10^7\)?

a) 2
b) 2*\(10^6\)
c) 4*\(10^6\)
d) 6*\(10^6\)
e) None of these


25! Will contain 25/5+25/25=5+1=6 zeroes
So when we divide 25! by 10^7, remainder will be the last 7 digits of 25!
Last 6 are zeroes so we look for the first non zero digit...
Now 6 *5s will take 6*2s so we have
1*2/2*3*4/4*5/5*6*7*8*9*10/10*11*12*13*14*15/5*16*17*18*19*20/20*21*22*23*24*25/25
So 1*3*6*7*8*9*11*12*13*14*3*16*17*18*19*21*22*23*24..
Now 3*7 and 9*9 gives us 1 as units digit, so you can remove them in pair
6*8*12*14*3*16*18*22*23*24
2*3 is 6 and 6*6 is again 6, so you can write 6 instead of all the pair
6*8*14*18*24=6*(8*4)*(8*4)=6*2*2=24=4
We are just looking at units digit, so here we have 4 as units digit..
So 25!=xyz____ab4000000
So remainder is 4000000=4*10^6

C



Hi chetan2u,

Will we have such a long calculation requiring question during the actual exam? I would have been able to solve it, If I had done such manual calculation writing down all multipliers and figuring out similarities and patterns, but I was thinking that GMAT questions should not be solved in this way and there had to be some logical approach. I dont see any logic being tested here except for fast calculating capability. Am I missing smth?
GMAT Club Legend
GMAT Club Legend
Joined: 03 Jun 2019
Posts: 5342
Own Kudos [?]: 3962 [0]
Given Kudos: 160
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
Asked: What is the remainder when 25! is divided by \(10^7\)?

Max power of 5 in 25! = 5 + 1 = 6
25! = 1*2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20*21*22*23*24*25

25! = 3*6*7*8*9*11*12*13*14*6*4*17*18*19*2*21*22*23*24*10^6
We have to find the last digit of 3*6*7*8*9*11*12*13*14*6*4*17*18*19*2*21*22*23*24 = 4

The remainder when 25! is divided by \(10^7\) = 4*10^6

IMO C
User avatar
Non-Human User
Joined: 09 Sep 2013
Posts: 32627
Own Kudos [?]: 821 [0]
Given Kudos: 0
Send PM
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
GMAT Club Bot
Re: What is the remainder when 25! is divided by 10^7 [#permalink]
Moderators:
Math Expert
92883 posts
Senior Moderator - Masters Forum
3137 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne