Last visit was: 25 Apr 2026, 21:19 It is currently 25 Apr 2026, 21:19
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
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 25 Apr 2026
Posts: 11,229
Own Kudos:
45,020
 [23]
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,229
Kudos: 45,020
 [23]
4
Kudos
Add Kudos
19
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
pushpitkc
Joined: 26 Feb 2016
Last visit: 19 Feb 2025
Posts: 2,800
Own Kudos:
6,235
 [7]
Given Kudos: 47
Location: India
GPA: 3.12
Posts: 2,800
Kudos: 6,235
 [7]
2
Kudos
Add Kudos
5
Bookmarks
Bookmark this Post
General Discussion
avatar
lesner19
Joined: 26 Oct 2017
Last visit: 06 Dec 2017
Posts: 21
Own Kudos:
Posts: 21
Kudos: 12
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
pushpitkc
Joined: 26 Feb 2016
Last visit: 19 Feb 2025
Posts: 2,800
Own Kudos:
Given Kudos: 47
Location: India
GPA: 3.12
Posts: 2,800
Kudos: 6,235
Kudos
Add Kudos
Bookmarks
Bookmark this Post
lesner19
chetan2u
What are the number of zeroes in the end of integer x, if x = 123!+124! ?
(1) 28
(2) 29
(3) 30
(4) 31
(5) 56


self made - tricky
Attachment:
IMG_20171205_222937.jpg

Answer is A
28 trailing zeros

Sent from my ONEPLUS A3003 using GMAT Club Forum mobile app

Hi lesner19

The 123! when taken out will give 1+124 = 125, which when multiplied by 8 gives 1000(which is 3 zeroes)
avatar
Pratyaksh2791
Joined: 06 Oct 2017
Last visit: 01 Oct 2018
Posts: 8
Own Kudos:
12
 [2]
Given Kudos: 6
Posts: 8
Kudos: 12
 [2]
1
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
123! + 124! should be first converted into the form of A!*B

123!(1+124) = 123! * 125

To find the number of zeroes is similar to finding the highest power of 10 in given factorial

10 has 2 and 5 as its prime factors. 5 will have the lesser power and that will be considered as the highest power of 10

123! --> 123/5= 24-->24/5 = 4
total 24+4 = 28

Now we have to find the number of 5s in 125
125 = 5*5*5 = 5^3

total = 28+3 = 31 zeroes.
avatar
HarryAxel
Joined: 12 Sep 2017
Last visit: 10 Apr 2018
Posts: 11
Own Kudos:
Given Kudos: 4
Posts: 11
Kudos: 2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
pushpitkc
chetan2u
What are the number of zeroes in the end of integer x, if x = 123!+124! ?
(1) 28
(2) 29
(3) 30
(4) 31
(5) 56

self made - tricky

In order to find the number of zeroes, we first need to simplify x = 123!+124!

x = \(123!+124! = 123!+124*123! = 123!(1+124) = 123!*125\)

123! has \(\frac{123}{5} + \frac{123}{5^2} = 24 + 4 = 28\) zeroes

123! has 8, which when multiplied by 125, will give 3 zeroes, making the total number of zeroes, 31(Option D)


Hi. Please can you explain why 123!+124*123!= 123!(1+124)? When you expand the last one you get 123!*124 right?
User avatar
Turkish
Joined: 13 Jun 2012
Last visit: 09 Apr 2023
Posts: 164
Own Kudos:
Given Kudos: 467
Location: United States
WE:Supply Chain Management (Computer Hardware)
Posts: 164
Kudos: 623
Kudos
Add Kudos
Bookmarks
Bookmark this Post
HarryAxel
pushpitkc
chetan2u
What are the number of zeroes in the end of integer x, if x = 123!+124! ?
(1) 28
(2) 29
(3) 30
(4) 31
(5) 56

self made - tricky

In order to find the number of zeroes, we first need to simplify x = 123!+124!

x = \(123!+124! = 123!+124*123! = 123!(1+124) = 123!*125\)

123! has \(\frac{123}{5} + \frac{123}{5^2} = 24 + 4 = 28\) zeroes

123! has 8, which when multiplied by 125, will give 3 zeroes, making the total number of zeroes, 31(Option D)


Hi. Please can you explain why 123!+124*123!= 123!(1+124)? When you expand the last one you get 123!*124 right?

When you say 123! it means 1*2*3*4*.......122*123= 123! (123 factorial), same with 124! it has= 1*2*3*4*.......122*123*124= 124!
So basically the question is asking x = 123!+124! or x= 1*2*3*4*.......122*123 + 1*2*3*4*.......122*123*124

Now if you take 123! (123 factorial) common, you will have x = 123!+124! = 123! (1+124)
User avatar
kartik22
Joined: 01 Dec 2017
Last visit: 25 Aug 2025
Posts: 10
Posts: 10
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Pratyaksh2791
123! + 124! should be first converted into the form of A!*B

123!(1+124) = 123! * 125

To find the number of zeroes is similar to finding the highest power of 10 in given factorial

10 has 2 and 5 as its prime factors. 5 will have the lesser power and that will be considered as the highest power of 10

123! --> 123/5= 24-->24/5 = 4
total 24+4 = 28

Now we have to find the number of 5s in 125
125 = 5*5*5 = 5^3

total = 28+3 = 31 zeroes.
Can u explain the part as to why we are dividing by 5 ? I did not understand it exactly.

Sent from my ONEPLUS A5000 using GMAT Club Forum mobile app
User avatar
pushpitkc
Joined: 26 Feb 2016
Last visit: 19 Feb 2025
Posts: 2,800
Own Kudos:
6,235
 [1]
Given Kudos: 47
Location: India
GPA: 3.12
Posts: 2,800
Kudos: 6,235
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Well it's a formula

Trying to explain. Lets try trailing zeroes for 26!

According to our formula, the number of trailing zeroes is

26/5 + 26/5^2 = 5+1 = 6 zeroes

Rationale behind formula

26! Is nothing but 26*25*24..... 1

25 has 2 5's and 20,15,10,5 each has a 5.
Similarly we have 2, 4 with 2 2's, and 8 with 3 2's. In total we have 6 2's and 5's giving us 1000000. This number when multiplied by any number will have 6 zeroes in the end.

Similarly we need to extrapolate this formula and get the number of trailing zeroes for 123!

The extra 3 zeroes come because when you multiply 125 with 8, we get 1000(giving us the total of 31 zeroes)

Hope that clears your confusion.
User avatar
kartik22
Joined: 01 Dec 2017
Last visit: 25 Aug 2025
Posts: 10
Posts: 10
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Thanks a lot !! It really helped .

Sent from my ONEPLUS A5000 using GMAT Club Forum mobile app
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 25 Apr 2026
Posts: 22,286
Own Kudos:
26,537
 [2]
Given Kudos: 302
Status:Founder & CEO
Affiliations: Target Test Prep
Location: United States (CA)
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 22,286
Kudos: 26,537
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
chetan2u
What are the number of zeroes in the end of integer x, if x = 123!+124! ?
(1) 28
(2) 29
(3) 30
(4) 31
(5) 56

To determine the number of trailing zeros in a number, we need to determine the number of 5-and-2 pairs within the prime factorization of that number. Let’s start by simplifying 123!+124!.

123!+124! = 123!(1 + 124) = 123!(125)

Since we know there are fewer 5s in 123!(125) than 2s, we can find the number of 5s and thus be able to determine the number of 5-and-2 pairs.

To determine the number of 5s within 123!, we can use the following shortcut in which we divide 123 by 5, then divide the quotient of 123/5 by 5 and continue this process until we no longer get a nonzero quotient.

123/5 = 24

24/5 = 4 (we can ignore the remainder)

Since 4/5 does not produce a nonzero quotient, we can stop.

The final step is to add up our quotients; that sum represents the number of factors of 5 within 123!.

Thus, there are 24 +4 = 28 factors of 5 within 123!

Finally, we see that there are three factors of 5 within 125, since 125 = 5^3.

Since there are a total of 31 factors of 5 within 123!(125), there are 31 5-and-2 pairs and, thus, 31 trailing zeros.

Answer: D
User avatar
SonalSinha803
Joined: 14 Feb 2018
Last visit: 18 Feb 2019
Posts: 303
Own Kudos:
Given Kudos: 29
Posts: 303
Kudos: 324
Kudos
Add Kudos
Bookmarks
Bookmark this Post
chetan2u
What are the number of zeroes in the end of integer x, if x = 123!+124! ?
(1) 28
(2) 29
(3) 30
(4) 31
(5) 56


self made - tricky
Yes I got it right here is my solution. I am extremely sorry for the dirty handwriting though !!

Sent from my Lenovo K53a48 using GMAT Club Forum mobile app
User avatar
Kinshook
User avatar
Major Poster
Joined: 03 Jun 2019
Last visit: 25 Apr 2026
Posts: 5,986
Own Kudos:
Given Kudos: 163
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Products:
GMAT 1: 690 Q50 V34
Posts: 5,986
Kudos: 5,859
Kudos
Add Kudos
Bookmarks
Bookmark this Post
What are the number of zeroes in the end of integer x, if x = 123!+124! ?

x = 123!+124! = 123! (1 + 124) = 123!*125 = 5^3*123!

Highest power of 5 in x = 5^3 *123! = 3 + 24 + 4 = 31
Highest power of 2 in x = 5^3*123! = 61 + 30 + 15 + 7 + 3 + 1 > 31

Number of zeros in the end of integer x = 31

IMO D
Moderators:
Math Expert
109830 posts
Tuck School Moderator
852 posts