Last visit was: 19 Nov 2025, 22:48 It is currently 19 Nov 2025, 22:48
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
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,392
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,392
Kudos: 778,398
 [56]
5
Kudos
Add Kudos
51
Bookmarks
Bookmark this Post
Most Helpful Reply
avatar
karankhurana04
Joined: 21 Aug 2017
Last visit: 10 Feb 2018
Posts: 3
Own Kudos:
32
 [23]
Given Kudos: 4
Posts: 3
Kudos: 32
 [23]
17
Kudos
Add Kudos
6
Bookmarks
Bookmark this Post
User avatar
GMATGuruNY
Joined: 04 Aug 2010
Last visit: 18 Nov 2025
Posts: 1,344
Own Kudos:
3,796
 [12]
Given Kudos: 9
Schools:Dartmouth College
Expert
Expert reply
Posts: 1,344
Kudos: 3,796
 [12]
7
Kudos
Add Kudos
5
Bookmarks
Bookmark this Post
General Discussion
User avatar
broall
User avatar
Retired Moderator
Joined: 10 Oct 2016
Last visit: 07 Apr 2021
Posts: 1,138
Own Kudos:
Given Kudos: 65
Status:Long way to go!
Location: Viet Nam
Posts: 1,138
Kudos: 7,150
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8, what is the value of r?

(1) When (z−3)^2 is divided by 8, the remainder is 4.

(2) When 2z is divided by 8, the remainder is 2.

A positive number \(x\) has the remainder \(\{0, \pm 1, \pm 2, \pm 3, \pm 4\}\) when divided by 8, hence \(x^2\) has the remainder \(\{0, 1, 4, 9, 16\}\) or \(\{0, 1, 4, 1, 0\}\) or \(\{0, 1, 4\}\) when divided by 8.

We have \(z^2+2z+4=(z+1)^2+3\).

Since \((z+1)^2\) has the remainder \(\{0, 1, 4\}\) when divided by 8,
\((z+1)^2+3\) has the remainder \(\{3, 4, 7\}\) when divided by 8, or r could be \(\{3, 4, 7\}\).

(1) If \((z-3)^2\) has the remainder 4 when divided by 8, then \(z-3\) has the remainder \(\pm 2\) or \(z\) has the remainder 1 or 5.

If \(z\) has the remainder 1, we have \(r=4\).
If \(z\) has the remainder 5, we have \(r=1\).

Insufficient.

(2) If \(2z\) has the remainder 2, or 10, then \(z\) has the remainder 1 or 5.

If \(z\) has the remainder 1, we have \(r=4\).
If \(z\) has the remainder 5, we have \(r=1\).

Insufficient.

Combine (1) and (2).

We still have 2 cases: \(z\) has the remainder 1 or 5. Insufficient. Answer D.
avatar
sindhya1781
Joined: 06 Jul 2017
Last visit: 24 Feb 2019
Posts: 9
Own Kudos:
11
 [3]
Given Kudos: 4
Location: India
Concentration: General Management, Finance
GMAT 1: 680 Q49 V31
GPA: 3.25
WE:Analyst (Consulting)
GMAT 1: 680 Q49 V31
Posts: 9
Kudos: 11
 [3]
1
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
Bunuel
If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8, what is the value of r?[/b]

(1) When (z−3)^2 is divided by 8, the remainder is 4.

(2) When 2z is divided by 8, the remainder is 2.

(1)

This is not sufficient as we don't know what remainder we would get if z is divided by 8

(2)

From this we get -
2z = 8k + 2 (k is a constant)
z = 4k + 1

z^2 = (4k + 1)^2 = 16(k^2) + 8k + 1 -> as 16 and 8 are both divisible by 8 -> z^2 will give a remainder of 1 when divided by 8
2z as given gives a remainder of 2 when divided by 8
And constant 4 gives a remainder of 4 when divided by 8

Hence -
remainder((z^2 + 2z + 4)/8) = remainder(z^2/8) + remainder(2z/8) + remainder(4/8)
=1+2+4
=7

Hence (2) alone is sufficient but (1) is not

Hence (B) is correct
User avatar
T1101
Joined: 07 Aug 2018
Last visit: 18 Nov 2021
Posts: 85
Own Kudos:
Given Kudos: 247
Location: United States (MA)
GMAT 1: 560 Q39 V28
GMAT 2: 670 Q48 V34
GMAT 2: 670 Q48 V34
Posts: 85
Kudos: 345
Kudos
Add Kudos
Bookmarks
Bookmark this Post
karankhurana04
If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8, what is the value of r?[/b]
(1) When (z−3)^2 is divided by 8, the remainder is 4.
(2) When 2z is divided by 8, the remainder is 2.
Solution -
(1) (z-3)^2 = 8k+4
z^2 - 6z + 9 = 8k + 4
z^2 -6z + 8z + 9 = 8k + 8z + 4 (Adding "8z" on both sides)
z^2 +2z + 4 = 8(k+z) - 1
Therefore, r = "-1" i.e 7. SUFFICIENT

(2) 2z = 8p + 2
z = 4p + 1
z^2 = (4p + 1)^2 = 16p^2 + 8p + 1
So, z^2 + 2z + 4 = (16p^2 + 8p + 1) + (8p + 2) + (4) = 16p^2 + 16p + 7 = 16p(p+1) + 7
Therefore, r = "7". SUFFICIENT

Ans - D

I have taken another approach (plugging in numbers), which is a little bit more time consuming than yours....

Given: \(\frac{z^2+2z+4}{8}\)

S(1)
\(\frac{(z-3)^2}{8}\) R=4
--> Possible values for z: 5,9,13,17,21...

If you plug these values of z in the original equation you get:
z=5 \(\frac{5^2+2*5+4}{8}\) --> \(\frac{25+10+4}{8}\) -->\(\frac{39}{8}\) r=7
z=9 \(\frac{9^2+2*9+4}{8}\) --> \(\frac{81+18+4}{8}\) -->\(\frac{103}{8}\) r=7

Therefore sufficient

S(2)
\(\frac{2z}{8}\) R=2
--> possible values for z: 1,5,9,13...

If you plug these values of z in the original equation you get:
z=1 \(\frac{1^2+2*1+4}{8}\) --> \(\frac{1+2+4}{8}\) -->\(\frac{7}{8}\) r=7
z=5 \(\frac{5^2+2*5+4}{8}\) --> \(\frac{25+10+4}{8}\) -->\(\frac{39}{8}\) r=7
z=9 \(\frac{9^2+2*9+4}{8}\) --> \(\frac{81+18+4}{8}\) -->\(\frac{103}{8}\) r=7

Therefore sufficient

Hence, D
User avatar
Mo2men
Joined: 26 Mar 2013
Last visit: 09 May 2023
Posts: 2,439
Own Kudos:
Given Kudos: 641
Concentration: Operations, Strategy
Schools: Erasmus (II)
Products:
Schools: Erasmus (II)
Posts: 2,439
Kudos: 1,478
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8, what is the value of r?[/b]

(1) When (z−3)^2 is divided by 8, the remainder is 4.

(2) When 2z is divided by 8, the remainder is 2.

Dear GMATGuruNY

Can you share your thoughts in solving such a question without plugging numbers?

Thanks
User avatar
rahul16singh28
Joined: 31 Jul 2017
Last visit: 09 Jun 2020
Posts: 428
Own Kudos:
Given Kudos: 752
Location: Malaysia
GPA: 3.95
WE:Consulting (Energy)
Posts: 428
Kudos: 499
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8, what is the value of r?[/b]

(1) When (z−3)^2 is divided by 8, the remainder is 4.

(2) When 2z is divided by 8, the remainder is 2.

I did the following way -

Statemnt I :

As the remainder is 4 when divided by 8, \((z-3)^2\) has to be 4,12, 20, 28, 36, 44 etc.
But as Z is a positive integer \((z-3)^2 = 4,36\) etc. So, Z = 1,5,9,13.... etc.

Now, \((z+1)^2 = (1=1)^2, (5+1)^2, (9+1)^2\).... All these number will leave a remainder of 4.

Hence, Sufficient.

Statmnt II:

Now for remainder to be 2, \(2z = 2,10,18,26\) etc. So, z will be 1,5,9,13.. etc.

\((z+1)^2\) will leave a remainder of 4 when divided by 8.

Hence, Sufficient.

So, D.
User avatar
MsInvBanker
Joined: 23 May 2018
Last visit: 16 Jun 2021
Posts: 658
Own Kudos:
Given Kudos: 45
Location: Pakistan
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel ,
Can we have your explanation for this question? I have been trying to understand this question for two days now.
User avatar
dabaobao
Joined: 24 Oct 2016
Last visit: 20 Jun 2022
Posts: 570
Own Kudos:
1,639
 [1]
Given Kudos: 143
GMAT 1: 670 Q46 V36
GMAT 2: 690 Q47 V38
GMAT 3: 690 Q48 V37
GMAT 4: 710 Q49 V38 (Online)
GMAT 4: 710 Q49 V38 (Online)
Posts: 570
Kudos: 1,639
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8, what is the value of r?[/b]

(1) When (z−3)^2 is divided by 8, the remainder is 4.

(2) When 2z is divided by 8, the remainder is 2.

z^2 + 2z + 4 = 8a + r
r = ?

Stmt 1: (z-3)^2 = z^2 - 6z + 9 gives r=4 => z^2 - 6z + 9 = 8a + 4
Adding 8z on both sides
z^2 - 6z + 9 + 8z = 8a + 4 + 8z
z^2 + 2z + 9 = 8(a+z) + 4
z^2 + 2z + 9 = 8(a) + 4

If z^2 + 2z + 9, gives r=4
Then z^2 + 2z + 4, gives r=4-5 = -1 => r=7 => Sufficient

Stmt 2: 2z = 8a + 2
z = 4a + 1
(4a + 1)^2 + 2(4a+1)+4 = 16a^2 + 8a + 1 + 8a + 2 + 4 => r=7 => Sufficient
User avatar
Kritisood
Joined: 21 Feb 2017
Last visit: 19 Jul 2023
Posts: 492
Own Kudos:
Given Kudos: 1,090
Location: India
GMAT 1: 700 Q47 V39
Products:
GMAT 1: 700 Q47 V39
Posts: 492
Kudos: 1,272
Kudos
Add Kudos
Bookmarks
Bookmark this Post
MsInvBanker
Bunuel ,
Can we have your explanation for this question? I have been trying to understand this question for two days now.

Hi, Bunuel has discussed this question here https://gmatclub.com/forum/divisibility-and-remainders-on-the-gmat-207418.html
avatar
sreddy07
Joined: 24 Jan 2020
Last visit: 26 Jan 2022
Posts: 11
Own Kudos:
Given Kudos: 73
Posts: 11
Kudos: 6
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel VeritasKarishma

I have a quick question here.

St 1) (z-3)^2 when divided by 8, R=4 Therefore it follows that when z-3 is divided by 8, R=2 and thus, when z/8 R=5.

Using this info, R when (z^2+2z+4) /8 R=7

St 2) 2z/8 R=2 therefore, R=1 when z/8
Using this info too R when (z^2+2z+4) /8 R=7.

What I'm caught up in is that st1 and st2 should actually give the same value for z which means value of R when z/8 should be same in both statements as GMAT does not give contradictory/different information in ST1 and 2 for DS questions. So is something wrong with my approach here or am I missing something obvious?
User avatar
yashikaaggarwal
User avatar
Senior Moderator - Masters Forum
Joined: 19 Jan 2020
Last visit: 17 Jul 2025
Posts: 3,086
Own Kudos:
Given Kudos: 1,510
Location: India
GPA: 4
WE:Analyst (Internet and New Media)
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I have a slight different approach, if one can crack it.

Given: If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8,
To find: what is the value of r?

(1) When (z−3)^2 is divided by 8, the remainder is 4.
The no. Leaving 4 as remainder when divided by 8 = 4,12,20,28,36.......

So, Let (Z-3)^2 = 4
(Z-3)^2 = 2^2
Z-3 = 2
Z = 5

Putting value of Z = 5 in equation z^2 + 2z + 4 = 5^2+2*5+4 = 39,which when divided by 8 leaves remainder 7

2) Let (Z-3)^2 = 12
(Z-3)^2 = (2√2)^2
Z-3 = 2√2
Z = 2√2+3 (not a perfect integer) (Crossed out)

3) Let (Z-3)^2 = 36
(Z-3)^2 = 6^2
Z-3 = 6
Z = 9

Putting value of Z = 9 in equation z^2 + 2z + 4 = 9^2+2*9+4 = 81+18+4 = 103,which when divided by 8 leaves remainder 7

So for every value of z which is integer z^2 + 2z + 4 when divided by 8 will leave remainder 7
(Sufficient)

(2) When 2z is divided by 8, the remainder is 2.
No. Leaving remainder 2 when divided by 8 = 2,10,18,26,34,........

1) Put 2Z = 2
Z = 1

Putting value of Z = 1 in equation z^2 + 2z + 4 = 1^2+2*1+4 = 1+2+4 = 7 ,which when divided by 8 leaves remainder 7

2) Put 2Z = 10
Z = 5

Putting value of Z = 5 in equation z^2 + 2z + 4 = 5^2+2*5+4 = 39 ,which when divided by 8 leaves remainder 7

3) Put 2Z = 18
Z = 9

Putting value of Z = 9 in equation z^2 + 2z + 4 = 9^2+2*9+4 = 103 ,which when divided by 8 leaves remainder 7

So for every value of 2z which leave remainder 2 when divided by 8, leaves remainder 7 when z^2 + 2z + 4 is divided by 8.
(Sufficient)

Answer is D

Posted from my mobile device
User avatar
Archit3110
User avatar
Major Poster
Joined: 18 Aug 2017
Last visit: 19 Nov 2025
Posts: 8,422
Own Kudos:
Given Kudos: 243
Status:You learn more from failure than from success.
Location: India
Concentration: Sustainability, Marketing
GMAT Focus 1: 545 Q79 V79 DI73
GMAT Focus 2: 645 Q83 V82 DI81
GPA: 4
WE:Marketing (Energy)
GMAT Focus 2: 645 Q83 V82 DI81
Posts: 8,422
Kudos: 4,982
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8, what is the value of r?[/b]

(1) When (z−3)^2 is divided by 8, the remainder is 4.

(2) When 2z is divided by 8, the remainder is 2.
#1
Valid for z =1,5 remainder value the. For given expression would be 7
Sufficient
#2
2z divided by 8 remainder 2 possible z 1,5,13..
Remainder is 7
Sufficient
Option D

Posted from my mobile device
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
77,001
 [1]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,001
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
sreddy07
Bunuel VeritasKarishma

I have a quick question here.

St 1) (z-3)^2 when divided by 8, R=4 Therefore it follows that when z-3 is divided by 8, R=2

How do you figure this?

3 divided by 8, remainder 3
9 divided by 8, remainder 1

If we know that z = 8a + 2 (remainder 2)
Then we know that z^2 = 64a^2 + 32a + 4 (remainder 4)

But if we know that z^2 = 8a + 4, how can we say that z must be 8b + 2?
Say a = 4, z^2 = 36, z = 6 (remainder 6, not 2)
Say a = 12, z^2 = 100, z = 10 (remainder 2)
avatar
ManifestDreamMBA
Joined: 17 Sep 2024
Last visit: 19 Nov 2025
Posts: 1,284
Own Kudos:
Given Kudos: 236
Products:
Posts: 1,284
Kudos: 785
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Tried a different approach: Accounting for R of individual terms

Statement 1:
(z−3)^2 = R4
(z−3) = R2
z = R5

z^2 + 2z + 4 = R25 +R10 + R4 = R39 = R7
Sufficient

Statement 2:
2z = R2
z = R1

z^2 + 2z + 4 = R1 +R2 + R4 = R7
Sufficient

Answer D

Bunuel KarishmaB can you please verify this approach?

Bunuel
If z is a positive integer and r is the remainder when z^2 + 2z + 4 is divided by 8, what is the value of r?[/b]

(1) When (z−3)^2 is divided by 8, the remainder is 4.

(2) When 2z is divided by 8, the remainder is 2.
Moderators:
Math Expert
105391 posts
496 posts