Live GMAT classes with Target Test Prep start Nov 30 and Dec 6. 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

If \(n\) is a positive integer, what is the remainder when \(n^7–n\) is divided by \(42?\)

Expert replies
by BTGmoderatorLU » Tue Nov 24, 2026 7:24 pm
Timer
00:00
Your answer
Difficulty–

right wrong

Pick an answer to see how members did

If \(n\) is a positive integer, what is the remainder when \(n^7–n\) is divided by \(42?\)

A. \(0\)
B. \(1\)
C. \(3\)
D. \(5\)
E. Cannot be determined

The OA is A
Join the discussion
Source: — Problem Solving |

What we see: a Problem Solving remainder question. For any positive integer \(n\), we need the remainder when \(n^7 - n\) is divided by 42.

Step 1. Break 42 into primes.
What we see: \(42 = 2 \times 3 \times 7\).
What it means: if \(n^7 - n\) is always divisible by 2, by 3 and by 7, then it is always divisible by 42, and the remainder is always 0.
What we do and why: factor \(n^7 - n\) and look for those three primes.

Step 2. Factor \(n^7 - n\).
What we see: every term has an \(n\).
What it means: \(n^7 - n = n(n^6 - 1) = n(n^3 - 1)(n^3 + 1) = (n - 1)\,n\,(n + 1)(n^2 + n + 1)(n^2 - n + 1)\).
What we do and why: the first three factors, \((n - 1)\,n\,(n + 1)\), are three consecutive integers. Among any three consecutive integers, one is even and one is a multiple of 3. So the product is always divisible by 2 and by 3.

Step 3. Show 7 always divides it.
What we see: we still need the factor 7.
What it means: there is a known rule (Fermat's little theorem): for any prime \(p\), \(n^p - n\) is divisible by \(p\). Here \(p = 7\).
What we do and why: so 7 divides \(n^7 - n\) for every \(n\). Check with \(n = 2\): \(2^7 - 2 = 126 = 42 \times 3\). Check with \(n = 3\): \(3^7 - 3 = 2184 = 42 \times 52\). Both leave remainder 0.
Divisible by 2, 3 and 7 means divisible by 42, so the remainder is always 0.

The trap: (E) "Cannot be determined". It feels right because \(n\) can be any number. But the remainder is the same for every \(n\), so it can be determined.
Faster way: plug in \(n = 1\): \(1 - 1 = 0\), remainder 0. Then \(n = 2\): 126, remainder 0. Since the answer choices offer one fixed remainder or "cannot be determined", two quick tests that agree point to the fixed value.
Takeaway: \(n^3 - n\), \(n^5 - n\) and \(n^7 - n\) always contain the product of three consecutive integers, so they are always divisible by 6; and \(n^p - n\) is always divisible by the prime \(p\).

Answer: A
Join the discussion