Last visit was: 24 Apr 2026, 19:54 It is currently 24 Apr 2026, 19:54
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
stonecold
Joined: 12 Aug 2015
Last visit: 09 Apr 2024
Posts: 2,231
Own Kudos:
3,643
 [2]
Given Kudos: 893
GRE 1: Q169 V154
GRE 1: Q169 V154
Posts: 2,231
Kudos: 3,643
 [2]
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
chetan2u
User avatar
GMAT Expert
Joined: 02 Aug 2009
Last visit: 24 Apr 2026
Posts: 11,229
Own Kudos:
45,009
 [8]
Given Kudos: 335
Status:Math and DI Expert
Location: India
Concentration: Human Resources, General Management
GMAT Focus 1: 735 Q90 V89 DI81
Products:
Expert
Expert reply
GMAT Focus 1: 735 Q90 V89 DI81
Posts: 11,229
Kudos: 45,009
 [8]
5
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
General Discussion
User avatar
rohit8865
Joined: 05 Mar 2015
Last visit: 19 Apr 2026
Posts: 815
Own Kudos:
1,008
 [1]
Given Kudos: 45
Products:
Posts: 815
Kudos: 1,008
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
User avatar
Senthil1981
Joined: 23 Apr 2015
Last visit: 14 Oct 2021
Posts: 225
Own Kudos:
Given Kudos: 36
Location: United States
Concentration: General Management, International Business
WE:Engineering (Consulting)
Posts: 225
Kudos: 618
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Answer is D: 1

How to solve :
Given,
\(P^2\) mod 8 = x,remainder. Then \(P^2\) - x would be divisible by 8 giving remainder zero.
So \(P^2\) - x = (P -\(\sqrt{x}\))(P + \(\sqrt{x}\)) divisible by zero when divided by 8.

Let's consider the choices, 4 would make \sqrt{4} = 2, which would make both factors as odd numbers.
Obviously 3 and 2 are irrational. Left is 1 and when tried P-1 and P+1 would be even and since P is greater than 5, it is the right answer.
User avatar
stonecold
Joined: 12 Aug 2015
Last visit: 09 Apr 2024
Posts: 2,231
Own Kudos:
Given Kudos: 893
GRE 1: Q169 V154
GRE 1: Q169 V154
Posts: 2,231
Kudos: 3,643
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Here is one more way to solve this one=>

All prime numbers greater than 2 are odd.
Hence p must be of the form => 2k+1
p^2=> 4k^2+4k+1=> 4k(k+1)+1= 8k'+1
Hence it will always leave a remainder 1 with 8.

Another important takeaway ->
For any odd number k => k^2 will always leave a remainder 1 with 8.
User avatar
kanusha
Joined: 25 Mar 2013
Last visit: 03 Aug 2017
Posts: 156
Own Kudos:
Given Kudos: 101
Location: United States
Concentration: Entrepreneurship, Marketing
GPA: 3.5
Products:
Posts: 156
Kudos: 158
Kudos
Add Kudos
Bookmarks
Bookmark this Post
P > 5 ( 7,11,13 .. )
p^2 : two odd prime numbers always result odd, not divisible by 8
\(\frac{p^2}{8}\)
Reminds either 0 or 1
D
User avatar
Abhishek009
User avatar
Board of Directors
Joined: 11 Jun 2011
Last visit: 17 Dec 2025
Posts: 5,903
Own Kudos:
Given Kudos: 463
Status:QA & VA Forum Moderator
Location: India
GPA: 3.5
WE:Business Development (Commercial Banking)
Posts: 5,903
Kudos: 5,454
Kudos
Add Kudos
Bookmarks
Bookmark this Post
stonecold
If P is a prime number greater than 5, what is the remainder when P^2 is divided by 8.
A) 4
B) 3
C) 2
D) 1
E) Cannot be determined



Note => Kudos for an algebraic approach :)
Plug in some values and check

Let P = 7, 11 , 13

Result will be 1 in each case, thus answer will be (D)
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 24 Apr 2026
Posts: 22,286
Own Kudos:
26,534
 [1]
Given Kudos: 302
Status:Founder & CEO
Affiliations: Target Test Prep
Location: United States (CA)
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 22,286
Kudos: 26,534
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
stonecold
If P is a prime number greater than 5, what is the remainder when P^2 is divided by 8.
A) 4
B) 3
C) 2
D) 1
E) Cannot be determined

If we let P = 7, then the remainder when P^2 is divided by 8 is 1 since 49/8 = 6 remainder 1.

If we let P = 11, then the remainder when P^2 is divided by 8 is 1 since 121/8 = 15 remainder 1.

If we let P = 13, then the remainder when P^2 is divided by 8 is 1 since 169/8 = 21 remainder 1.

At this point, you might wonder: is the remainder always 1? If it is, then the answer will be D; otherwise, the answer will be E. Let’s prove it algebraically.

Since any prime number greater than 5 is odd, and an odd number can be written as 4n + 1 or 4n + 3 for some positive integer n, we can express P as P = 4n + 1 or P = 4n + 3.

Case 1: If P = 4n + 1, we have:

P^2 = (4n + 1)^2 = 16n^2 + 8n + 1

We see that the first two terms are divisible by 8; thus, the remainder must be the last term, which is 1.

Case 2: If P = 4n + 3, we have:

P^2 = (4n + 3)^2 = 16n^2 + 24n + 9

We see that the first two terms are divisible by 8 and the last term 9 has a remainder of 1 when it’s divided by 8; thus, the remainder must be 1.

Thus, we see that when the square of a prime (greater than 5) is divided by 8, the remainder will always be 1.

Alternate Solution:

Let’s consider P^2 - 1 = (P - 1)(P + 1).

Since P > 5, both P - 1 and P + 1 are even because P is prime. Moreover, since P - 1 and P + 1 are consecutive even integers, one of them is divisible by 4. Since each of P - 1 and P + 1 are even and since, furthermore, one of them is divisible by 4, their product, which is P^2 - 1, is divisible by 8. Since P^2 - 1 is divisible by 8, P^2 will leave a remainder of 1 when divided by 8.

Answer: D
User avatar
bumpbot
User avatar
Non-Human User
Joined: 09 Sep 2013
Last visit: 04 Jan 2021
Posts: 38,976
Own Kudos:
Posts: 38,976
Kudos: 1,117
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Automated notice from GMAT Club BumpBot:

A member just gave Kudos to this thread, showing it’s still useful. I’ve bumped it to the top so more people can benefit. Feel free to add your own questions or solutions.

This post was generated automatically.
Moderators:
Math Expert
109818 posts
Tuck School Moderator
853 posts