BREAKING: Target Test Prep releases Brand New 2026 On Demand GMAT prep course

Redeem

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.

★★★★★5.0559 reviews
GMATLiveTeach 7 seats left
Chris Peckover
NEXT LIVE COHORT

Oct 13 to Jan 7, 2027

with Chris Peckover

Schedule
Tue, Thu · 8:00 to 10:00 PM ET
Included
40 live hours + 6 months of GMAT OnDemand
  • Live instruction and real-time questions
  • Class recordings and assigned practice
View class & enroll
Limited cohort · enrollment openTarget Test Prep
EALiveTeach 5 seats left
Logan Thompson
EXECUTIVE ASSESSMENT

Sep 6 to Dec 6, 2026

with Logan Thompson

Schedule
Sun · 9:30 AM to 12:30 PM ET
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
Limited cohort · enrollment openTarget Test Prep
GMATOnDemand Start 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

Compare the format, schedule, and included access before enrolling. Prices and seat counts shown reflect the supplied offer details.

Remainder from Sum containing Factorial

Expert replies
Source: — Problem Solving |

by pannalal » Sun Sep 24, 2017 6:54 pm
As nobody has posted any solution, I am giving first hint.

Hint 1: Please note that S = (33!/1 + 33!/2 + 33!/3 + ..... + 33!/32 + 33!/33).
When you divide each term by 29, you will find that every term is divisible by 29 except 33!/29. For example 33!/1/29 is divisible by 29. Similarly, 33!/2/29 is also divisible by 29. The only term which is not divisible is 33!/29 because it has already 29 as denominator. So, practically speaking, you need to find remainder when (33!/29) is divided by 29. So, now, instead of 33 terms, you are dealing with only one term.

Note: I hope, many viewers will be able to find solution with the above hint. If I don't get solution in another 12 hours, I shall post second hint.
Join the discussion

yet more subjects

by Matt@VeritasPrep » Tue Sep 26, 2017 8:15 pm
Every term other than 33!/29 will still have a 29 in its numerator, so every term other than 33!/29 is divisible by 29.

That means that problem can be stated as
What is the remainder when 33!/29 is divided by 29?
(33*32*31*30*28*27*...*1) mod 29 =>

(33*32*31*30 * 28!) mod 29 =>

(-4 * -3 * -2 * -1 * 28!) mod 29 =>

(24 * 28!) mod 29

From here, I'd use Wilson's Theorem, which is not at all appropriate for the GMAT (but then again, neither is this question). Since 29 is prime, we know that 28! mod 29 = -1. That means the answer we seek is (24 * -1) mod 29, or 5.
Join the discussion

by pannalal » Tue Sep 26, 2017 9:16 pm
Matt@VeritasPrep wrote:Every term other than 33!/29 will still have a 29 in its numerator, so every term other than 33!/29 is divisible by 29.

That means that problem can be stated as
What is the remainder when 33!/29 is divided by 29?
(33*32*31*30*28*27*...*1) mod 29 =>

(33*32*31*30 * 28!) mod 29 =>

(-4 * -3 * -2 * -1 * 28!) mod 29 =>

(24 * 28!) mod 29

From here, I'd use Wilson's Theorem, which is not at all appropriate for the GMAT (but then again, neither is this question). Since 29 is prime, we know that 28! mod 29 = -1. That means the answer we seek is (24 * -1) mod 29, or 5.
Superb, Matt. You are wonderful and your answer is correct except one small mistake:
(33*32*31*30 * 28!) mod 29 is not equal to (-4 * -3 * -2 * -1 * 28!) mod 29 =>

Rather, it should be (4*3*2*1*28!) mod 29.

Rest is all right.
Join the discussion

by Matt@VeritasPrep » Tue Sep 26, 2017 10:32 pm
pannalal wrote: (33*32*31*30 * 28!) mod 29 is not equal to (-4 * -3 * -2 * -1 * 28!) mod 29 =>

Rather, it should be (4*3*2*1*28!) mod 29.
Ah, but that isn't a mistake! It'd be a mistake to say that 33 = -4 mod 29, but that isn't what I said ;)

Of course, I could see why it would seem that way from what I typed, but hey, I'm wriggling out of this one.
Join the discussion

Remainder from Sum containing Factorial

by pannalal » Tue Sep 26, 2017 11:24 pm
Matt@VeritasPrep wrote:
pannalal wrote: (33*32*31*30 * 28!) mod 29 is not equal to (-4 * -3 * -2 * -1 * 28!) mod 29 =>

Rather, it should be (4*3*2*1*28!) mod 29.
Ah, but that isn't a mistake! It'd be a mistake to say that 33 = -4 mod 29, but that isn't what I said ;)

Of course, I could see why it would seem that way from what I typed, but hey, I'm wriggling out of this one.
Matt, somehow, I still feel that there is a mistake. If you write:
(33*32*31*30 * 28!) mod 29 = (-4 * -3 * -2 * -1 * 28!) mod 29

How do you prove that you are right. The final answer is correct because 4*3*2*1 = 24 and (-4)*(-3)*(-2)*(-1) = 24. Somehow I am not ready to accept that it is not a mistake. In any case, please state how do you arrive (33*32*31*30) mod 29 = (-4 * -3 * -2 * -1) mod 29.
Join the discussion