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