Live GMAT classes with Target Test Prep start Nov 21 and Nov 22. First class free.

See classes
Target Test Prep · GMAT

Choose how you want to prepare

Learn live with an expert or move at your own pace. Every option includes the complete TTP study system.

Newsweek Readers’ Choice Awards 2026 winner: Target Test Prep, #1 Test Prep

Target Test Prep was voted #1 Best Test Prep in the 2026 Newsweek Readers’ Choice™ Awards.

★★★★★5.0563 reviews
GMATLiveTeachStarts Nov 22
Josh Braslow, Target Test Prep GMAT expert
LIVE ONLINE CLASSES

Get Ready for GMAT Test Day Faster with Live Online Classes

with Josh Braslow, 20+ years in test prep

Nov 22 · Josh Braslow
Sun · 9:30 AM to 12:30 PM ET
Included
40 hours of live online classes + 6 months of TTP OnDemand
  • Attend the first class for free
  • Every class is recorded, so you never fall behind
View classes & enroll
Limited seats availableTarget Test Prep
EALiveTeachOnDemandStart anytime
EXECUTIVE ASSESSMENT

Target Test Prep EA OnDemand

Self-paced EA prep. Study on your schedule.

EXECUTIVE ASSESSMENT

with

165+ EA score guarantee
$05-day trial no automatic billing
Schedule
Included
40 hours of live online classes plus six months of access to the complete TTP EA OnDemand course.
  • 165+ EA Score Guarantee
  • 4,100+ Quant, Verbal, and Integrated Reasoning practice questions
  • 400+ hours of in-depth video lessons
  • 3,000+ step-by-step video solutions
View EA class & enroll Start free 5-day trial
Limited cohort · enrollment openTrial includes full course accessTarget Test Prep
GMATOnDemandStart anytime
SELF-PACED MASTERCLASS

Target Test Prep GMAT OnDemand

Complete access from day one. Study on your schedule.

715+ score guarantee
$0to start then $127/mo
  • Personalized study plan and analytics
  • Thousands of lessons and practice questions

leading zeros

Expert replies
by gmatrant » Fri Sep 03, 2010 11:40 pm
If P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest value of integer n where P has zero as its last 6 digits and a non-zero digit for its millions place?

(A) 29
(B) 30
(C) 34
(D) 35
(E) 39


Shouldn't the answer be A.
The OA says C.
If you count the number of 5s in the number that should give you the number of leading zeros.
29 has six 5s. So thereby six leading zeros.

Can you please let me know if the above is correct. How is OA C?
Join the discussion
Source: — Problem Solving |

by sanju09 » Sat Sep 04, 2010 1:04 am
gmatrant wrote:If P = (n)(n - 1)(n - 2) . . . (1) and n > 2, what is the largest value of integer n where P has zero as its last 6 digits and a non-zero digit for its millions place?

(A) 29
(B) 30
(C) 34
(D) 35
(E) 39


Shouldn't the answer be A.
The OA says C.
If you count the number of 5s in the number that should give you the number of leading zeros.
29 has six 5s. So thereby six leading zeros.

Can you please let me know if the above is correct. How is OA C?

If P has zero as its last 6 digits and a non-zero digit for its millions place, then 29 is not the smallest n that ensures it. It’s 30 in fact.

2 zeros when 1 to 10 is multiplied out

2 more zeros when 11 to 20 is multiplied out

2 more zeros when 21 to 30 is multiplied out

Hence, 30 is the minimum n, a seventh zero would appear when n takes 35, till then there would remain six zeros as its last 6 digits when the largest n is [spoiler]34.


C
[/spoiler]
The mind is everything. What you think you become. –Lord Buddha



Sanjeev K Saxena
Quantitative Instructor
The Princeton Review - Manya Abroad
Lucknow-226001

www.manyagroup.com
Join the discussion

by gmatrant » Sat Sep 04, 2010 5:38 pm
The approach I tried was to count for number of 5s in the number.
Since a combination of 5 & 2 will give a 10, so thereby we can find leading zeros.

Take 30!
30! has seven 5s and more than seven 2s.
So we have seven 10s -> seven leading zeros.

Can you tell me what is wrong with this approach.
Join the discussion

by gmatrant » Mon Sep 06, 2010 9:21 am
Math experts , can you please validate my response.
Join the discussion

by spacealtgrctrl » Mon Sep 06, 2010 10:19 am
the answer is c.

30..25...22...20...15...12...10...5...2 when these are multiplied you get 6 zeros . so as per the options the 34 will give you the answer with a non zero in the million place...
pls correct me if i am wrong..
Join the discussion

by sanju09 » Mon Sep 06, 2010 9:36 pm
gmatrant wrote:The approach I tried was to count for number of 5s in the number.
Since a combination of 5 & 2 will give a 10, so thereby we can find leading zeros.

Take 30!
30! has seven 5s and more than seven 2s.
So we have seven 10s -> seven leading zeros.

Can you tell me what is wrong with this approach.
I rechecked, and found you as correct. [spoiler]A[/spoiler] should be the right answer here.
The mind is everything. What you think you become. –Lord Buddha



Sanjeev K Saxena
Quantitative Instructor
The Princeton Review - Manya Abroad
Lucknow-226001

www.manyagroup.com
Join the discussion

by sanju09 » Mon Sep 06, 2010 9:38 pm
spacealtgrctrl wrote:the answer is c.

30..25...22...20...15...12...10...5...2 when these are multiplied you get 6 zeros . so as per the options the 34 will give you the answer with a non zero in the million place...
pls correct me if i am wrong..
gmatrant's approach and claim, both are correct; 25 contains 2 fives
The mind is everything. What you think you become. –Lord Buddha



Sanjeev K Saxena
Quantitative Instructor
The Princeton Review - Manya Abroad
Lucknow-226001

www.manyagroup.com
Join the discussion

by lokesh r » Tue Sep 07, 2010 6:11 am
the answer must be C.

We must count number of 5's.

3x4x5x..10x..x15..x20..x25..29
Join the discussion

by puneetdua » Tue Sep 07, 2010 7:19 am
IMO - ans shd be A

1*10 -> 10 (1 zero)
2*5 -> 10 (1 zero)
15*6 -> 90 (1 zero)
20 --> (1 zero)
25 * 4 -> 100 (2 zero)

total of 6 zeros , if we increase our count to 30 - that will result in at least 7 zeros ...

So it shd be A.

What is the source of problem.
And if its official problem - how can we ask Expert to post their suggestions.
Thanks
Puneet
Join the discussion

by lokesh r » Tue Sep 07, 2010 10:15 am
sorry..typing mistake..answer must be option A.29
Join the discussion

by gmatrant » Tue Sep 07, 2010 4:34 pm
Forum Math Experts - Can you please comment??
Join the discussion

by Stuart@KaplanGMAT » Tue Sep 07, 2010 5:00 pm
lokesh r wrote:the answer must be C.

We must count number of 5's.

3x4x5x..10x..x15..x20..x25..29
As others have noted, 25 has two 5s, not just one.

So, when we calculate 25! (the definition for p is simply p=n!), we get 6 5s (5, 10, 15, 20, 25, 25) giving us a number that ends in 6 0s (since we have lots and lots of 2s).

We want the biggest number that gives us exactly 6 0s; since 30 will give us a 7th, the largest possible value for n is 29.

As always, please provide the source for all of your questions - where is this one from?
Image

Stuart Kovinsky | Kaplan GMAT Faculty | Toronto

Kaplan Exclusive: The Official Test Day Experience | Ready to Take a Free Practice Test? | Kaplan/Beat the GMAT Member Discount
BTG100 for $100 off a full course
Join the discussion

by gmatrant » Tue Sep 07, 2010 5:15 pm
I don' recollect exactly.
I guess that this was given to me by a friend saying this was from a Princeton Math Quiz paper.

Thanks Stuart and all for confirming the answer.
Join the discussion