Last visit was: 19 Nov 2025, 03:43 It is currently 19 Nov 2025, 03:43
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,379
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,379
Kudos: 778,193
 [12]
Kudos
Add Kudos
11
Bookmarks
Bookmark this Post
Most Helpful Reply
avatar
AdiBir
Joined: 08 Feb 2020
Last visit: 06 Jul 2021
Posts: 33
Own Kudos:
33
 [13]
Given Kudos: 146
GMAT 1: 780 Q50 V47
GMAT 1: 780 Q50 V47
Posts: 33
Kudos: 33
 [13]
10
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
General Discussion
User avatar
Varunsawhney8
Joined: 23 May 2020
Last visit: 27 Jan 2021
Posts: 229
Own Kudos:
Given Kudos: 46
Location: India
Posts: 229
Kudos: 237
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
NiftyNiffler
User avatar
McCombs School Moderator
Joined: 26 May 2019
Last visit: 15 Aug 2021
Posts: 325
Own Kudos:
378
 [4]
Given Kudos: 151
Location: India
GMAT 1: 690 Q50 V33
Products:
GMAT 1: 690 Q50 V33
Posts: 325
Kudos: 378
 [4]
3
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
If p and q are positive integers, what is the remainder when p^2 + q^2 is divided by 5?

(1) When p - q is divided by 5, the remainder is 1.
(2) When p + q is divided by 5, the remainder is 2.


st1) p^2 + q^2 = (p-q)^2 + 2pq, but since we don't know the remainder of pq, INSUFFICIENT

st2) p^2 + q^2 = (p+q)^2 - 2pq, but since we don't know the remainder of pq, INSUFFICIENT


st1 and st2 taken together, p^2 + q^2 = ((p+q)^2 + (p-q)^2)/2 = rem(2^2 + 1^2) = rem(5) = 0 SUFFICIENT

So, the answer should be C
User avatar
exc4libur
Joined: 24 Nov 2016
Last visit: 22 Mar 2022
Posts: 1,684
Own Kudos:
1,447
 [1]
Given Kudos: 607
Location: United States
Posts: 1,684
Kudos: 1,447
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Quote:
If p and q are positive integers, what is the remainder when p^2 + q^2 is divided by 5?

(1) When p - q is divided by 5, the remainder is 1.
(2) When p + q is divided by 5, the remainder is 2.

(1) insufic

p-q/5=r1; p-q={1,6,11,16…}
(p,q)=(2,1), p^2+q^2=4+1=5/5=r0
(p,q)=(4,3), p^2+q^2=9+2=11/5=r1

(2) insufic

p+q/5=r2; p+q={2,7,12,17…}
(p,q)=(1,1), p^2+q^2=1+1=2/5=r2
(p,q)=(4,3), p^2+q^2=16+9=25/5=r0

(1/2) sufic

(p+q)^2=[5(5m+2)]^2=[25m+10]^2
p^2+q^2+2pq=625m^2+100+500m;

(p-q)^2=[5(5n+1)]^2=[25n+5]^2
p^2+q^2-2pq=625n^2+25+250n;

2(p^2+q^2)=625m^2-625n^2+75+500m-250n
p^2+q^2=25(25…-25…+3+20…-20…)/2
p^2+q^2=positive integer, thus:
25(25…-25…+3+20…-20…)/2=positive integer
p^2+q^2=25x=multiple of 5
p^2+q^2/5 has remainder 0

Ans (C)
avatar
ashh
Joined: 05 Jun 2020
Last visit: 05 Nov 2025
Posts: 39
Own Kudos:
29
 [1]
Given Kudos: 4
Location: India
Posts: 39
Kudos: 29
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
From statement 1 => p - q = 5m + 1 which means that p - q can take values like 1,6,11,16 and so on. Now let us try different values of p,q to check if it holds true for \(\frac{p^2 + q^2}{5}\) gives remainder as 0.
p = 2, q = 1 then,
\(\frac{p^2 + q^2}{5}\) = \(\frac{2^2 + 1^2}{5}\)
\(\frac{4 + 1}{5}\) => \(\frac{5}{5}\) => remainder = 0
p = 5, q = 4 then,
\(\frac{p^2 + q^2}{5}\) = \(\frac{5^2 + 4^2}{5}\)
\(\frac{25 + 16}{5}\) => \(\frac{41}{5}\) => remainder = 1

Since we are getting different results in the 2 cases, Statement 1 is not sufficient.

From statement 2 => p + q = 5k + 2 which means that p + q can take values like 2,7,12,17 and so on. Now let us try different values of p,q to check if it holds true for \(\frac{p^2 + q^2}{5}\) gives remainder as 0.
p = 1, q = 1 then,
\(\frac{p^2 + q^2}{5}\) = \(\frac{1^2 + 1^2}{5}\)
\(\frac{1 + 1}{5}\) => \(\frac{2}{5}\) => remainder = 2
p = 4, q = 3 then,
\(\frac{p^2 + q^2}{5}\) = \(\frac{4^2 + 3^2}{5}\)
\(\frac{16 + 9}{5}\) => \(\frac{25}{5}\) => remainder = 0

Since we are getting different results in the 2 cases, Statement 2 is not sufficient.

Now combining both the statements 1 & 2 we get \(p - q = 5m + 1\) and \(p + q = 5k + 2\). we need to check if \(\frac{p^2 + q^2}{5}\) gives remainder as 0 so to get that we square both the results and add them.

\(p^2 + q^2 - 2pq = 25m^2 + 1 + 10m\) + \(p^2 + q^2 + 2pq = 25k^2 + 4 + 10k\)

\(2(p^2 + q^2) = 25m^2 + 25k^2 + 10m + 10k + 5\)

\(2(p^2 + q^2) = 5(5m^2 + 5k^2 + 2m + 2k + 1)\)

=> \(\frac{p^2 + q^2}{5}\) gives remainder as 0.

So option C.
User avatar
HoneyLemon
User avatar
Stern School Moderator
Joined: 26 May 2020
Last visit: 02 Oct 2023
Posts: 628
Own Kudos:
565
 [1]
Given Kudos: 219
Status:Spirited
Concentration: General Management, Technology
WE:Analyst (Computer Software)
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Is it C ?
If p and q are positive integers, what is the remainder when p^2 + q^2 is divided by 5?

(1) When p - q is divided by 5, the remainder is 1.
the unit digit of P -q can be 1 or 6 ... P ,q can be 4 and 3 so ... p^2 +q^2 = 25 .. divisible by 5 -- rem 0 .. so p , q can be 10 and 4 ., p^2 +q^2 =116 .. rem -- 1 -- not sufficient

(2) When p + q is divided by 5, the remainder is 2.

the unit digit of P +q can be 2 or 7 ... P ,q can be 4 and 3 so ... p^2 +q^2 = 25 .. divisible by 5 -- rem 0 .. so p , q can be 12 or 10 ., p^2 +q^2 =244.. rem -- 4 -- not sufficient

Combining 1 and 2 .
the unit digit of P -q can be 1 and the unit digit of P +q is 7
so ... p^2 +q^2 = 25 .. divisible by 5 -- rem 0
[color=#00a651]sufficient
User avatar
minustark
Joined: 14 Jul 2019
Last visit: 01 Apr 2021
Posts: 469
Own Kudos:
398
 [1]
Given Kudos: 52
Status:Student
Location: United States
Concentration: Accounting, Finance
GMAT 1: 650 Q45 V35
GPA: 3.9
WE:Education (Accounting)
Products:
GMAT 1: 650 Q45 V35
Posts: 469
Kudos: 398
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
If p and q are positive integers, what is the remainder when p^2 + q^2 is divided by 5?

(1) When p - q is divided by 5, the remainder is 1.
(2) When p + q is divided by 5, the remainder is 2.

1) When p = 3, q = 2, then p^2 + q^2 = 9 + 4 = 13 (when divided by 5, remainder is 3) . Again when, p = 2, q = 1, p^2 +q^2 = 5 (remainder is 0). Not sufficient.

2) p = q = 1, then p^2 + q^2 = 2 ( remainder is 2). When, p = 5, q = 2, p^2 + q^2 = 29 (remainder is 4). Not sufficient.

Together, p- q = 5k + 1.....(i)
and, p + q = 5k + 2.....(ii)
Now, p = 4, q =3 will meet both the equations, p^2 + q^2 = 25 (remainder is 0). Again, when p = 9, q =8, p^2 + q^2 = 81 + 64 = 145 (divisible by 5). So, we can infer that p and q will be consecutive integers and p > q. When p is even , we can write the sum as (2k)^2 +(2k -1)^2 = 4k^2 + 4k^2 - 4k + 1 = 8k^2 - 4k + 1. For k = 1, it will be 5. For k =2, it will be 32 - 8 + 1= 33 - 8 = 25, always divisible by 5.
When p is odd,p^2 + q^2 = (2k+1)^2 + (2k)^2 = 4k^2 + 4k + 1 + 4k^2 = 8k^2 + 4k +1. Now, as p + q is at least 2, and p - q is at least 1, so k can assume values as integers that is 1 less than multiples of 5 (e.g 4, 9, 14, 19 etc ). When, p = 19, the sum will be ....1 + ...4 = an integer ending with 5, so the remainder in all cases will be 0.

C is the answer.
avatar
MikeAlphaZulu
Joined: 31 Dec 2018
Last visit: 24 Jan 2021
Posts: 1
Given Kudos: 1
Posts: 1
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
ashh

Now combining both the statements 1 & 2 we get \(p - q = 5m + 1\) and \(p + q = 5k + 2\). we need to check if \(\frac{p^2 + q^2}{5}\) gives remainder as 0 so to get that we square both the results and add them.

\(p^2 + q^2 - 2pq = 25m^2 + 1 + 10m\) + \(p^2 + q^2 + 2pq = 25k^2 + 4 + 10k\)

\(2(p^2 + q^2) = 25m^2 + 25k^2 + 10m + 10k + 5\)

\(2(p^2 + q^2) = 5(5m^2 + 5k^2 + 2m + 2k + 1)\)

=> \(\frac{p^2 + q^2}{5}\) gives remainder as 0.

So option C.

Hi Ash,

Thanks for posting your solution to this problem.
I was following everything up until the last two lines.

It's pretty clear that \(2(p^2 + q^2)\) is divisible by 5, but how did you deduce that \((p^2 + q^2)\) is also divisible by 5?
User avatar
MBAB123
Joined: 05 Jul 2020
Last visit: 30 Jul 2023
Posts: 563
Own Kudos:
318
 [1]
Given Kudos: 151
GMAT 1: 720 Q49 V38
WE:Accounting (Accounting)
Products:
GMAT 1: 720 Q49 V38
Posts: 563
Kudos: 318
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
MikeAlphaZulu
ashh

Now combining both the statements 1 & 2 we get \(p - q = 5m + 1\) and \(p + q = 5k + 2\). we need to check if \(\frac{p^2 + q^2}{5}\) gives remainder as 0 so to get that we square both the results and add them.

\(p^2 + q^2 - 2pq = 25m^2 + 1 + 10m\) + \(p^2 + q^2 + 2pq = 25k^2 + 4 + 10k\)

\(2(p^2 + q^2) = 25m^2 + 25k^2 + 10m + 10k + 5\)

\(2(p^2 + q^2) = 5(5m^2 + 5k^2 + 2m + 2k + 1)\)

=> \(\frac{p^2 + q^2}{5}\) gives remainder as 0.

So option C.

Hi Ash,

Thanks for posting your solution to this problem.
I was following everything up until the last two lines.

It's pretty clear that \(2(p^2 + q^2)\) is divisible by 5, but how did you deduce that \((p^2 + q^2)\) is also divisible by 5?

Hey if twice of a number is a divisible by 5, then that number is definitely divisible by 5 as multiplying by 2 does not affect the number's divisibility by 5.
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,582
Own Kudos:
Posts: 38,582
Kudos: 1,079
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hello from the GMAT Club BumpBot!

Thanks to another GMAT Club member, I have just discovered this valuable topic, yet it had no discussion for over a year. I am now bumping it up - doing my job. I think you may find it valuable (esp those replies with Kudos).

Want to see all other topics I dig out? Follow me (click follow button on profile). You will receive a summary of all topics I bump in your profile area as well as via email.
Moderators:
Math Expert
105379 posts
496 posts