Last visit was: 24 Apr 2024, 21:38 It is currently 24 Apr 2024, 21:38

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
SORT BY:
Date
Tags:
Show Tags
Hide Tags
Math Expert
Joined: 02 Sep 2009
Posts: 92900
Own Kudos [?]: 618844 [20]
Given Kudos: 81588
Send PM
Director
Director
Joined: 25 Jul 2018
Posts: 668
Own Kudos [?]: 1117 [4]
Given Kudos: 69
Send PM
GMAT Club Legend
GMAT Club Legend
Joined: 18 Aug 2017
Status:You learn more from failure than from success.
Posts: 8018
Own Kudos [?]: 4096 [1]
Given Kudos: 242
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1:
545 Q79 V79 DI73
GPA: 4
WE:Marketing (Energy and Utilities)
Send PM
Intern
Intern
Joined: 14 Oct 2018
Posts: 6
Own Kudos [?]: 1 [0]
Given Kudos: 1
Send PM
Re: If n is a positive integer, what is the remainder when n^7 – n is divi [#permalink]
Answer A
Take 2: 2^7-2= 126/42=3 and 0 as remainder
Take 3: 37-3= 2187-3/42=52 and 0 as remainder
Target Test Prep Representative
Joined: 14 Oct 2015
Status:Founder & CEO
Affiliations: Target Test Prep
Posts: 18756
Own Kudos [?]: 22049 [2]
Given Kudos: 283
Location: United States (CA)
Send PM
Re: If n is a positive integer, what is the remainder when n^7 – n is divi [#permalink]
1
Kudos
1
Bookmarks
Expert Reply
Bunuel wrote:
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.


Are You Up For the Challenge: 700 Level Questions


First, we can factor the common n from each term:

n(n^6 - 1)

We now have a difference of squares, which can be factored:
n(n^3 - 1)(n^3 + 1)

We can factor (n^3 - 1) as a difference3 of cubes and (n^3 + 1) as a sum of cubes, obtaining:

n(n - 1)(n^2 + n + 1)(n + 1)(n^2 - n + 1)

Rearranging the factors, we have:

(n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1)

We see that (n - 1)(n)(n + 1) is a product of 3 consecutive integers, which is always divisible by 3! = 6. However, to be divisible by 42, it also needs to be divisible by 7 since 42 = 6 x 7. To see if the expression is divisible by 7, we can substitute n by all the remainders from division by 7 (i.e., 0, 1, 2, 3, 4, 5, 6):

If n = 0, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = 0, which is divisible by 7.

If n = 1, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = 0, which is divisible by 7.

If n = 2, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (1)(2)(3)(7)(3), which is divisible by 7.

If n = 3, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (2)(3)(4)(13)(7), which is divisible by 7.

If n = 4, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (3)(4)(5)(21)(13), which is divisible by 7.

If n = 5, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (4)(5)(6)(31)(21), which is divisible by 7.

If n = 6, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (5)(6)(7)(43)(31), which is divisible by 7.

As we can see, since all the values of n from 0 to 6, inclusive, yield a value of the expression that is divisible by 7, we see that n^7 - n is divisible by both 6 and 7, which makes it divisible by 42. Thus, the remainder when the expression is divided by 42 is 0.

[Note: The reason we can just use the 7 remainders from division by 7 is that all other integers will “behave” like one of these 7 remainders. For example, if n = 15 and since 15/7 = 2 R 1, 15 “behaves” like 2.]

Answer: A
VP
VP
Joined: 07 Dec 2014
Posts: 1072
Own Kudos [?]: 1561 [0]
Given Kudos: 27
Send PM
Re: If n is a positive integer, what is the remainder when n^7 – n is divi [#permalink]
Bunuel wrote:
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.


Are You Up For the Challenge: 700 Level Questions


let n=1
1^7-1=0
0/42 leaves remainder of 0
A
Intern
Intern
Joined: 14 Jul 2019
Posts: 31
Own Kudos [?]: 23 [0]
Given Kudos: 322
Send PM
If n is a positive integer, what is the remainder when n^7 – n is divi [#permalink]
ScottTargetTestPrep wrote:
Bunuel wrote:
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.




First, we can factor the common n from each term:

n(n^6 - 1)

We now have a difference of squares, which can be factored:
n(n^3 - 1)(n^3 + 1)

We can factor (n^3 - 1) as a difference3 of cubes and (n^3 + 1) as a sum of cubes, obtaining:

n(n - 1)(n^2 + n + 1)(n + 1)(n^2 - n + 1)

Rearranging the factors, we have:

(n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1)

We see that (n - 1)(n)(n + 1) is a product of 3 consecutive integers, which is always divisible by 3! = 6. However, to be divisible by 42, it also needs to be divisible by 7 since 42 = 6 x 7. To see if the expression is divisible by 7, we can substitute n by all the remainders from division by 7 (i.e., 0, 1, 2, 3, 4, 5, 6):

If n = 0, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = 0, which is divisible by 7.

If n = 1, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = 0, which is divisible by 7.

If n = 2, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (1)(2)(3)(7)(3), which is divisible by 7.

If n = 3, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (2)(3)(4)(13)(7), which is divisible by 7.

If n = 4, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (3)(4)(5)(21)(13), which is divisible by 7.

If n = 5, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (4)(5)(6)(31)(21), which is divisible by 7.

If n = 6, (n - 1)(n)(n + 1)(n^2 + n + 1)(n^2 - n + 1) = (5)(6)(7)(43)(31), which is divisible by 7.

As we can see, since all the values of n from 0 to 6, inclusive, yield a value of the expression that is divisible by 7, we see that n^7 - n is divisible by both 6 and 7, which makes it divisible by 42. Thus, the remainder when the expression is divided by 42 is 0.

[Note: The reason we can just use the 7 remainders from division by 7 is that all other integers will “behave” like one of these 7 remainders. For example, if n = 15 and since 15/7 = 2 R 1, 15 “behaves” like 2.]

Answer: A


I got to the part: n(n - 1)(n^2 + n + 1)(n + 1)(n^2 - n + 1)

And then here's my logic:

(n-1)n(n+1) is always divisible by 3 and 2. So we got T = n^7-n is divisible by 6.

With divisibility by 7: n can have 6 remainders when divided by 7: r(emainder) = {0; 1; 2; 3; 4; 5; 6}

r = 1. (n-1) is divisible by 7. T is divisible by 42
r = 2. n = 7k+2. So n^2 +n +1 = ... + 2^2 + ... + 2 + 1 = 7. So T is divisible by 42.
r = 3. n = 7k+3. So n^2 - n +1 = ... + 3^2 - ... - 3 + 1 = 7. So T is divisible by 42.
r =4. n = 7k+4. So n^2 + n +1 = ... + 4^2 + ... + 4 + 1 = 21. So T is divisible by 42.
r =5. n = 7k+5. So n^2 - n +1 = ... + 5^2 - ... - 5 +1 = 21. So T is divisible by 42.
r =6. (n+1) is divisible by 7. So T is divisible by 42.

IMO A.
GMAT Club Legend
GMAT Club Legend
Joined: 03 Jun 2019
Posts: 5343
Own Kudos [?]: 3964 [0]
Given Kudos: 160
Location: India
GMAT 1: 690 Q50 V34
WE:Engineering (Transportation)
Send PM
Re: If n is a positive integer, what is the remainder when n^7 n is divi [#permalink]
Asked: If n is a positive integer, what is the remainder when \(n^7 – n\) is divided by 42?

n^7 - n = n (n^6-1) = n(n^3-1)(n^3+1) = n(n-1)(n^2+n+1)(n+1)(n^2-n+1)
n(n-1)(n+1) is divisible by 6.

n^7-n is also divisible by 7. Confirmed after checking for n=1,2,3,4,...

n^7-n is divisible by 6*7 = 42

The remainder when \(n^7 – n\) is divided by 42 = 0

IMO A
GMAT Club Bot
Re: If n is a positive integer, what is the remainder when n^7 n is divi [#permalink]
Moderators:
Math Expert
92900 posts
Senior Moderator - Masters Forum
3137 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne