Last visit was: 18 Nov 2025, 14:10 It is currently 18 Nov 2025, 14:10
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
User avatar
parkhydel
Joined: 03 Jun 2019
Last visit: 27 Mar 2025
Posts: 273
Own Kudos:
Given Kudos: 60
Posts: 273
Kudos: 20,383
 [397]
13
Kudos
Add Kudos
383
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
nick1816
User avatar
Retired Moderator
Joined: 19 Oct 2018
Last visit: 06 Nov 2025
Posts: 1,849
Own Kudos:
8,235
 [80]
Given Kudos: 707
Location: India
Posts: 1,849
Kudos: 8,235
 [80]
42
Kudos
Add Kudos
38
Bookmarks
Bookmark this Post
User avatar
BrentGMATPrepNow
User avatar
Major Poster
Joined: 12 Sep 2015
Last visit: 31 Oct 2025
Posts: 6,739
Own Kudos:
35,331
 [24]
Given Kudos: 799
Location: Canada
Expert
Expert reply
Posts: 6,739
Kudos: 35,331
 [24]
14
Kudos
Add Kudos
10
Bookmarks
Bookmark this Post
General Discussion
User avatar
lacktutor
Joined: 25 Jul 2018
Last visit: 23 Oct 2023
Posts: 660
Own Kudos:
1,395
 [15]
Given Kudos: 69
Posts: 660
Kudos: 1,395
 [15]
10
Kudos
Add Kudos
5
Bookmarks
Bookmark this Post
parkhydel
What is the greatest positive integer n such that \(5^n\) divides \(10! – (2)(5!)^2\) ?

A. 2
B. 3
C. 4
D. 5
E. 6



PS14051.02

\(10! = 5!* 6*7*8*9*10 = 5!*(2*3)*7*(2*4)*9(2*5)= (5!)^{2}* 252\)

--> \(10! – (2)(5!)^2= (5!)^{2}* 252 - (2)(5!)^2= (5!)^2 (252-2)= 250*(5!)^2= 2*5^{3}*(5!)^{2}\)
\(5^{n} =5^{5}\)
--> \(n =5 \)

Answer (D).
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 15 Nov 2025
Posts: 11,238
Own Kudos:
43,696
 [9]
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,238
Kudos: 43,696
 [9]
8
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
parkhydel
What is the greatest positive integer n such that \(5^n\) divides \(10! – (2)(5!)^2\) ?

A. 2
B. 3
C. 4
D. 5
E. 6



PS14051.02

\(10! – (2)(5!)^2=5!(10*9*8*7*6-2*5!)\)

\(5!(2*5*3*3*2*2*2*7*2*3-2*2*3*2*2*5)=5!(2^5*3^3*5*7-2^4*3*5)=\)

\(=5!*2^4*3*5(2*3^2*7-1)=5!*2^4*3*5(126-1)=\)

\(5*4!*2^4*3*5*125=2^4*3*5^{1+1+3}*4!\)

So we have five 5s in the terms, and the maximum value of n is 5

D
User avatar
GMATinsight
User avatar
Major Poster
Joined: 08 Jul 2010
Last visit: 18 Nov 2025
Posts: 6,835
Own Kudos:
16,349
 [19]
Given Kudos: 128
Status:GMAT/GRE Tutor l Admission Consultant l On-Demand Course creator
Location: India
GMAT: QUANT+DI EXPERT
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
WE:Education (Education)
Products:
Expert
Expert reply
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
Posts: 6,835
Kudos: 16,349
 [19]
9
Kudos
Add Kudos
10
Bookmarks
Bookmark this Post
parkhydel
What is the greatest positive integer n such that \(5^n\) divides \(10! – (2)(5!)^2\) ?

A. 2
B. 3
C. 4
D. 5
E. 6



PS14051.02

\(10! – (2)(5!)^2 = 5!*(6*7*8*9*10 - 2*120) = 5!*240*(7*2*9-1) = 5^2*24*48*(125) = 5^5*24*48\)



i.e. if \(5^n\) is divisor of \(10!-2*5!^2\) then,

\(n_{max} = 5 \)



Answer: Option D
User avatar
Louis14
Joined: 01 Nov 2019
Last visit: 04 Nov 2023
Posts: 249
Own Kudos:
125
 [9]
Given Kudos: 472
GMAT 1: 680 Q48 V34
GPA: 3.56
GMAT 1: 680 Q48 V34
Posts: 249
Kudos: 125
 [9]
9
Kudos
Add Kudos
Bookmarks
Bookmark this Post
10! - 2(5!)(5!)

10*9*8*7*6*5! - 2(5!)(5!)

5! [10*9*8*7*6 - 2(5*4*3*2)]

5! [10*9*8*7*6 - 10*8*3]

5! [80 (9*7*6) - 80(3)]

5! [80(375)]

Now, 5! has one 5; 80 has one 5; 375 has three 5s.

So, the max number of 5s are 5 i.e. n = 5

Kudos = Thank you. :)
User avatar
Ankyta333
Joined: 24 Mar 2021
Last visit: 24 Sep 2023
Posts: 6
Own Kudos:
11
 [4]
Given Kudos: 151
Location: India
GMAT 1: 640 Q46 V31
GMAT 1: 640 Q46 V31
Posts: 6
Kudos: 11
 [4]
4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Alternate Method:

If you know the values up to 10!, you can solve this question using the actual values as follows:
10! = 3628800 & 5!= 120.
Now the expression is 10!–(2)(5!)^2
We need 2 * Square of (5!) = 2* Square of 120 = 2* 14400= 28800

So, expression becomes 3628800-28800= 36,00,000 Since there are five zeroes, the maximum power of 5 that can divide it will be five.
And hence n=5.
User avatar
Sa800
Joined: 11 Aug 2021
Last visit: 03 Nov 2025
Posts: 63
Own Kudos:
Given Kudos: 87
Posts: 63
Kudos: 21
Kudos
Add Kudos
Bookmarks
Bookmark this Post
what is this testing and where can i find topics on what this is testing? Bunuel
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 18 Nov 2025
Posts: 105,355
Own Kudos:
778,062
 [1]
Given Kudos: 99,964
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,355
Kudos: 778,062
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
sa800
what is this testing and where can i find topics on what this is testing? Bunuel

Check the following topics from our Special Questions Directory:

12. Trailing Zeros
13. Power of a number in a factorial

Hope it helps.
User avatar
woohoo921
Joined: 04 Jun 2020
Last visit: 17 Mar 2023
Posts: 516
Own Kudos:
142
 [2]
Given Kudos: 623
Posts: 516
Kudos: 142
 [2]
1
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
chetan2u
parkhydel
What is the greatest positive integer n such that \(5^n\) divides \(10! – (2)(5!)^2\) ?

A. 2
B. 3
C. 4
D. 5
E. 6



PS14051.02

\(10! – (2)(5!)^2=5!(10*9*8*7*6-2*5!)\)

\(5!(2*5*3*3*2*2*2*7*2*3-2*2*3*2*2*5)=5!(2^5*3^3*5*7-2^4*3*5)=\)

\(=5!*2^4*3*5(2*3^2*7-1)=5!*2^4*3*5(126-1)=\)

\(5*4!*2^4*3*5*125=2^4*3*5^{1+1+3}*4!\)

So we have five 5s in the terms, and the maximum value of n is 5

D

chetan2u
Thank you for your helpful reply. I am not sure where I went wrong with my method.

I wrote out the 10 factorial as follows:
10*9*8*7*6*5*4*3*2 --> you get two 5s from 10 factorial

For (2)(5!)^2
I did 2*[(5*4*3*2)*(5*4*3*2)] --> you get two 5s from this.

Where am I missing a 5? Thanks for your help!
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 15 Nov 2025
Posts: 11,238
Own Kudos:
43,696
 [1]
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,238
Kudos: 43,696
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
woohoo921
chetan2u
parkhydel
What is the greatest positive integer n such that \(5^n\) divides \(10! – (2)(5!)^2\) ?

A. 2
B. 3
C. 4
D. 5
E. 6



PS14051.02

\(10! – (2)(5!)^2=5!(10*9*8*7*6-2*5!)\)

\(5!(2*5*3*3*2*2*2*7*2*3-2*2*3*2*2*5)=5!(2^5*3^3*5*7-2^4*3*5)=\)

\(=5!*2^4*3*5(2*3^2*7-1)=5!*2^4*3*5(126-1)=\)

\(5*4!*2^4*3*5*125=2^4*3*5^{1+1+3}*4!\)

So we have five 5s in the terms, and the maximum value of n is 5

D

chetan2u
Thank you for your helpful reply. I am not sure where I went wrong with my method.

I wrote out the 10 factorial as follows:
10*9*8*7*6*5*4*3*2 --> you get two 5s from 10 factorial

For (2)(5!)^2
I did 2*[(5*4*3*2)*(5*4*3*2)] --> you get two 5s from this.

Where am I missing a 5? Thanks for your help!

When you subtract the remaining, you will get more 5s.

Simpler example.
\(150-25=2*3*5^2-5^2\)
So you would expect \(5^2\) but
\(150-25=2*3*5^2-5^2=5^2(2*3-1)=5^2*5\)
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 18 Nov 2025
Posts: 16,265
Own Kudos:
76,980
 [2]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,265
Kudos: 76,980
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
parkhydel
What is the greatest positive integer n such that \(5^n\) divides \(10! – (2)(5!)^2\) ?

A. 2
B. 3
C. 4
D. 5
E. 6



PS14051.02

Here is a discussion on how to solve highest power in factorials: https://anaprep.com/number-properties-h ... actorials/

The things to keep in mind with factorial terms that are added/subtracted - take common and fully solve what is leftover

\(10! – (2)(5!)^2 \)

\( = 2 * 5! * (10*9*8*7*3 - 5!) \)

\(= 2 * 5! * (10*9*8*7*3 - 120) \)

\(= 2 * 5! *120 (9*2*7 - 1) \)

\(= 2 * 5! *120 * 125 \)

So we get one 5 from 5!, one 5 from 120 and 3 5s from 125 to give us total 5 5s.

Answer (D)
User avatar
patronumbeagle
Joined: 20 Nov 2022
Last visit: 10 Nov 2025
Posts: 31
Own Kudos:
Given Kudos: 177
Location: Peru
GMAT Focus 1: 645 Q83 V82 DI80
WE:Analyst (Finance: Diversified Financial Services)
GMAT Focus 1: 645 Q83 V82 DI80
Posts: 31
Kudos: 13
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi KarishmaB, please, can you explain me what am i doing wrong?

10!-2(5!)(5!)
= 5!x[10x9x8x7x6 - 2(5x4x3x2)]
= 5! x [10x9x8x7x6 - 10x8x6x4]
= 5!x10x8x6 [9x7 - 4]
= 5!x10x8x6 [59]

5! have one 5 and 10 have one 5, so max n is 2
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 18 Nov 2025
Posts: 105,355
Own Kudos:
778,062
 [2]
Given Kudos: 99,964
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,355
Kudos: 778,062
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
patronumbeagle
Hi KarishmaB, please, can you explain me what am i doing wrong?

10!-2(5!)(5!)
= 5!x[10x9x8x7x6 - 2(5x4x3x2)]
= 5! x [10x9x8x7x6 - 10x8x6x4]
= 5!x10x8x6 [9x7 - 4]
= 5!x10x8x6 [59]

5! have one 5 and 10 have one 5, so max n is 2
The error is in line 3:

2(5 * 4 * 3 * 2) does not equal 10 * 8 * 6 * 4. It's not a sum in the parentheses, so you do not apply multiplication by 2 to each term. You can get, say, 10 * 4 * 3 * 2.
User avatar
ablatt4
Joined: 18 Dec 2024
Last visit: 24 Sep 2025
Posts: 89
Own Kudos:
Given Kudos: 89
Location: United States (FL)
Concentration: Finance
Posts: 89
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
The most efficient way to solve this question is to invest the time to break it down before rushing into a bad strategy.

The questions is effectively asking us "how many times does 5 factor out of this quantity" meaning whatever amount of 5s we can factor out is the answer, much more simple already.

Next, we need to identify that rushing into solving these massive numbers is certainly doable, but not in a timely manner.

Let's see what can be factored.

Term 1 is 10! or 10*9*8*7*6*5*4*3*2 which can be reduced into 5^2*2^8*7*3^4

Term 2 is 2(5!) or 2^7*3*2*5^2

From each we can factor out 5^2*2^7*3^2 and have (2*7*3^2 - 1) left

14*9=126-1=125= 5^3

Leaving us with 5^2*2^7*3^2*5^3

5^2*5^3= 5^5 OR we can factor 5 5s from this equation therefore D is the answer

Quick recap.

we are factoring as many 5s out of a quantity as we can.

Quantity is too big to solve so we simplified into prime factors and factored out of each term in the quantity.

we were then able to solve for the amount of 5s too factor out.
parkhydel
What is the greatest positive integer n such that \(5^n\) divides \(10! – (2)(5!)^2\) ?

A. 2
B. 3
C. 4
D. 5
E. 6



PS14051.02
Moderators:
Math Expert
105355 posts
Tuck School Moderator
805 posts