Last visit was: 21 Apr 2026, 19:16 It is currently 21 Apr 2026, 19:16
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
Sub 505 (Easy)|   Remainders|                           
avatar
chonepiece
Joined: 10 Aug 2011
Last visit: 28 Oct 2011
Posts: 1
Own Kudos:
103
 [103]
Posts: 1
Kudos: 103
 [103]
26
Kudos
Add Kudos
77
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
koolgmat
Joined: 16 May 2013
Last visit: 31 Mar 2014
Posts: 14
Own Kudos:
203
 [120]
Given Kudos: 13
Posts: 14
Kudos: 203
 [120]
73
Kudos
Add Kudos
46
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 21 Apr 2026
Posts: 109,728
Own Kudos:
Given Kudos: 105,800
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,728
Kudos: 810,476
 [63]
39
Kudos
Add Kudos
23
Bookmarks
Bookmark this Post
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 21 Apr 2026
Posts: 109,728
Own Kudos:
Given Kudos: 105,800
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,728
Kudos: 810,476
 [34]
18
Kudos
Add Kudos
16
Bookmarks
Bookmark this Post
sachindia
VeritasPrepKarishma
sdas
all i did was pick numbers and try...got remainder as 1 always. so B. anything wrong in my approach pls advice

No. Nothing wrong. Just that you don't need to try many numbers. There will only be one answer to a PS question. So all you need to do is try any one number greater than 3. Whatever you get, that will be the answer in every case.

I wonder why every prime no greater than 3 when squared and divided by 4 results in the remainder of 1 :shock:

Any prime number \(p\) greater than 3 could be expressed as \(p=6n+1\) or \(p=6n+5\) (\(p=6n-1\)), where \(n\) is an integer >1.

That's because any prime number \(p\) greater than 3 when divided by 6 can only give remainder of 1 or 5 (remainder can not be 2 or 4 as in this case \(p\) would be even and remainder can not be 3 as in this case \(p\) would be divisible by 3).

But:
Note that, not all number which yield a remainder of 1 or 5 upon division by 6 are primes, so vise-versa of above property is not correct. For example 25 (for \(n=4\)) yields a remainder of 1 upon division by 6 and it's not a prime number.

Now, if a prime is of the form \(p=6n+1\), then \(p^2=36n^2+12n+1=12(3n^2+n)+1\) and if a prime is of the form \(p=6n-1\), then \(p^2=36n^2-12n+1=12(3n^2-n)+1\). Both yield the remainder of 1 when divided by 12.

Hope it's clear.
General Discussion
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 21 Apr 2026
Posts: 16,438
Own Kudos:
79,375
 [8]
Given Kudos: 484
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,438
Kudos: 79,375
 [8]
3
Kudos
Add Kudos
5
Bookmarks
Bookmark this Post
chonepiece
If n is a prime number greater than 3, what is the remainder when n^2 is divided by 12?
A. 0
B. 1
C. 2
D. 3
E. 5

it's a simple quesiton, but the solutuion is inspiring.

Show SpoilerSolution
n^2-1=(n-1)(n+1)
since (n-1) and (n+1) are consecutive even numbers,one of them can be divided by 2, another one can be divided by 4;
and because n can not be divided by 3, so one of (n-1) and (n+1) can be divided by 3.
So (n-1)(n+1)=n^2-1 is divisible by 24, then the remainder of n^2 divided by 24 is 1.

Please check my signature for the link to the relevant blog posts.
...and of course, the most efficient solution would be what Bunuel suggested - Pick a prime number > 3 and check for it!
User avatar
sdas
Joined: 23 Mar 2011
Last visit: 06 May 2013
Posts: 352
Own Kudos:
666
 [2]
Given Kudos: 59
Location: India
GPA: 2.5
WE:Operations (Hospitality and Tourism)
Posts: 352
Kudos: 666
 [2]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
all i did was pick numbers and try...got remainder as 1 always. so B. anything wrong in my approach pls advice
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 21 Apr 2026
Posts: 16,438
Own Kudos:
79,375
 [3]
Given Kudos: 484
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,438
Kudos: 79,375
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
sdas
all i did was pick numbers and try...got remainder as 1 always. so B. anything wrong in my approach pls advice

No. Nothing wrong. Just that you don't need to try many numbers. There will only be one answer to a PS question. So all you need to do is try any one number greater than 3. Whatever you get, that will be the answer in every case.
User avatar
Sachin9
Joined: 22 Jul 2012
Last visit: 25 Dec 2015
Posts: 349
Own Kudos:
175
 [1]
Given Kudos: 562
Status:Gonna rock this time!!!
Location: India
GMAT 1: 640 Q43 V34
GMAT 2: 630 Q47 V29
WE:Information Technology (Computer Software)
GMAT 2: 630 Q47 V29
Posts: 349
Kudos: 175
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasPrepKarishma
sdas
all i did was pick numbers and try...got remainder as 1 always. so B. anything wrong in my approach pls advice

No. Nothing wrong. Just that you don't need to try many numbers. There will only be one answer to a PS question. So all you need to do is try any one number greater than 3. Whatever you get, that will be the answer in every case.

I wonder why every prime no greater than 3 when squared and divided by 4 results in the remainder of 1 :shock:
User avatar
pavan2185
Joined: 15 Apr 2013
Last visit: 20 Jul 2014
Posts: 61
Own Kudos:
Given Kudos: 61
Location: India
Concentration: Finance, General Management
Schools: ISB '15
WE:Account Management (Other)
Schools: ISB '15
Posts: 61
Kudos: 912
Kudos
Add Kudos
Bookmarks
Bookmark this Post
All the prime numbers >2 end with 1,3,5,7. Since the question stem says Primes >3, we need not check those ending with 1 & 3. so pick any numbers ending with 5&7 , you will get the same remainder.
User avatar
mau5
User avatar
Verbal Forum Moderator
Joined: 10 Oct 2012
Last visit: 31 Dec 2024
Posts: 478
Own Kudos:
3,386
 [3]
Given Kudos: 141
Posts: 478
Kudos: 3,386
 [3]
2
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
pavan2185
All the prime numbers >2 end with 1,3,5,7.

No prime no can ever end in 5, except 5.


Since the question stem says Primes >3, we need not check those ending with 1 & 3.


11,13 are primes, which are greater than 3 and end with 1 and 3 respectively.

Moreover,the question asks for the remainder when \(n^2\) is divided by 12, not n.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 21 Apr 2026
Posts: 109,728
Own Kudos:
810,476
 [2]
Given Kudos: 105,800
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,728
Kudos: 810,476
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
mau5
pavan2185
All the prime numbers >2 end with 1,3,5,7.

No prime no can ever end in 5, except 5.


Since the question stem says Primes >3, we need not check those ending with 1 & 3.


11,13 are primes, which are greater than 3 and end with 1 and 3 respectively.

Moreover,the question asks for the remainder when \(n^2\) is divided by 12, not n.

We can simply check for the first prime which is greater than 3, so for 5: n=5 --> n^2=25 --> remainder upon division 25 by 12 is 1.

Also, primes greater than 5 can have the units digit of 1, 3, 7, OR 9.
User avatar
RustyR
Joined: 11 Sep 2012
Last visit: 04 May 2014
Posts: 81
Own Kudos:
Given Kudos: 9
Kudos
Add Kudos
Bookmarks
Bookmark this Post
koolgmat
Bunuel
If n is a prime number greater than 3, what is the remainder when n^2 is divided by 12 ?

(A) 0
(B) 1
(C) 2
(D) 3
(E) 5

Practice Questions
Question: 26
Page: 155
Difficulty: 600

All Prime numbers greater than 3 and upto 1000000000000000 can be expressed in the form of 6k+1 or 6k-1 , where k is a not negative integer.

Say N = 6k+1
N^2 = (6k+1)^2 = 36K^2 + 12K + 1 = 12(3K^2 + K) +1

Since 12(3K^2+K) is exactly divisible by 12 , therefore N^2 when divided by 12 leaves a remainder as 1.

Same can be proved for N = 6K -1

How do we know that the prime number in questions is not larger than 10^15?

So that we know how to, how do we solve this problem algebraically?
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 21 Apr 2026
Posts: 109,728
Own Kudos:
810,476
 [4]
Given Kudos: 105,800
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 109,728
Kudos: 810,476
 [4]
Kudos
Add Kudos
4
Bookmarks
Bookmark this Post
bschoolaspirant9
koolgmat
Bunuel
If n is a prime number greater than 3, what is the remainder when n^2 is divided by 12 ?

(A) 0
(B) 1
(C) 2
(D) 3
(E) 5

Practice Questions
Question: 26
Page: 155
Difficulty: 600

All Prime numbers greater than 3 and upto 1000000000000000 can be expressed in the form of 6k+1 or 6k-1 , where k is a not negative integer.

Say N = 6k+1
N^2 = (6k+1)^2 = 36K^2 + 12K + 1 = 12(3K^2 + K) +1

Since 12(3K^2+K) is exactly divisible by 12 , therefore N^2 when divided by 12 leaves a remainder as 1.

Same can be proved for N = 6K -1

How do we know that the prime number in questions is not larger than 10^15?

So that we know how to, how do we solve this problem algebraically?

n^2 can be greater than 10^15 and the property would still hold true. koolgmat incorrectly limited the upper limit to 10^15.

The property koolgmat is referring to is: ANY prime number \(p\) greater than 3 can be expressed as \(p=6n+1\) or \(p=6n+5\) (\(p=6n-1\)), where \(n\) is an integer >1.

That's because any prime number \(p\) greater than 3 when divided by 6 can only give remainder of 1 or 5 (remainder can not be 2 or 4 as in this case \(p\) would be even and remainder can not be 3 as in this case \(p\) would be divisible by 3).

But:
Note that, not all number which yield a remainder of 1 or 5 upon division by 6 are primes, so vise-versa of above property is not correct. For example 25 (for \(n=4\)) yields a remainder of 1 upon division by 6 and it's not a prime number.

Hope it's clear.

P.S. Similar question to practice: if-n-4p-where-p-is-a-prime-number-greater-than-2-how-man-144781.html
avatar
OptimusPrepJanielle
Joined: 06 Nov 2014
Last visit: 08 Sep 2017
Posts: 1,777
Own Kudos:
Given Kudos: 23
Expert
Expert reply
Posts: 1,777
Kudos: 1,507
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
If n is a prime number greater than 3, what is the remainder when n^2 is divided by 12 ?

(A) 0
(B) 1
(C) 2
(D) 3
(E) 5

Practice Questions
Question: 26
Page: 155
Difficulty: 600

There are infinite prime numbers greater than 3.
So one this is sure that all prime numbers (greater than 3) when squared and then divided by 12 will have the same remainder.
So let us assume that the prime number is 5.
So, 5^2 = 25 when divided by 12 gives 1 as remainder.
Hence option (B).

--
Optimus Prep's GMAT On Demand course for only $299 covers all verbal and quant. concepts in detail. Visit the following link to get your 7 days free trial account: https://www.optimus-prep.com/gmat-on-demand-course
User avatar
ScottTargetTestPrep
User avatar
Target Test Prep Representative
Joined: 14 Oct 2015
Last visit: 21 Apr 2026
Posts: 22,276
Own Kudos:
26,526
 [2]
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,276
Kudos: 26,526
 [2]
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
chonepiece
If n is a prime number greater than 3, what is the remainder when n^2 is divided by 12?

A. 0
B. 1
C. 2
D. 3
E. 5


Solution:

We see that n can be ANY PRIME NUMBER GREATER THAN 3. Let’s choose the smallest prime number greater than 3 and substitute it for n; that number is 5.

We know that 5 squared is 25, so we now divide 25 by 12:

25/12 = 2, Remainder 1.

If you are not convinced by trying just one prime number, try another one. Let’s try 7. We know that 7 squared equals 49, so we now divide 49 by 12:

49/12 = 4, Remainder 1.

It turns out that in this problem it doesn’t matter which prime number (greater than 3) we choose. The remainder will always be 1 when its square is divided by 12.

Answer B.
User avatar
BrentGMATPrepNow
User avatar
Major Poster
Joined: 12 Sep 2015
Last visit: 31 Oct 2025
Posts: 6,733
Own Kudos:
36,441
 [1]
Given Kudos: 799
Location: Canada
Expert
Expert reply
Posts: 6,733
Kudos: 36,441
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
chonepiece
If n is a prime number greater than 3, what is the remainder when n^2 is divided by 12 ?

(A) 0
(B) 1
(C) 2
(D) 3
(E) 5

A nice fast approach is to TEST a possible value of n.
Since n must be a prime number that's greater than 3, let's TEST n = 5

If n = 5, then n² = 5² = 25, and when we divide 25 by 12, we get 2 with REMAINDER 1

Answer: B

Cheers,
Brent
User avatar
MHIKER
Joined: 14 Jul 2010
Last visit: 24 May 2021
Posts: 939
Own Kudos:
Given Kudos: 690
Status:No dream is too large, no dreamer is too small
Concentration: Accounting
Posts: 939
Kudos: 5,810
Kudos
Add Kudos
Bookmarks
Bookmark this Post
chonepiece
If n is a prime number greater than 3, what is the remainder when n^2 is divided by 12 ?

(A) 0
(B) 1
(C) 2
(D) 3
(E) 5

\(n=5, n^2=25\)

\(\frac{25}{12}= 2 \ Remainder \ is 1\)

The answer is B
User avatar
100mitra
Joined: 29 Apr 2019
Last visit: 06 Jul 2022
Posts: 707
Own Kudos:
Given Kudos: 49
Status:Learning
Posts: 707
Kudos: 634
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Special thankful notes from GMAT Club Quants book
Any prime number greater than 3 could be expressed as (p=6n+1) or p(=6n-1),
where n is an integer >1, reminder will be 1

Answer Option : B (1)
User avatar
BrushMyQuant
Joined: 05 Apr 2011
Last visit: 03 Apr 2026
Posts: 2,286
Own Kudos:
Given Kudos: 100
Status:Tutor - BrushMyQuant
Location: India
Concentration: Finance, Marketing
Schools: XLRI (A)
GMAT 1: 700 Q51 V31
GPA: 3
WE:Information Technology (Computer Software)
Expert
Expert reply
Schools: XLRI (A)
GMAT 1: 700 Q51 V31
Posts: 2,286
Kudos: 2,678
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Given that n is a prime number greater than 3 and we need to find what is the remainder when \(n^2\) is divided by 12

Lets take a prime number greater than 3
=> n = 5

(Watch this video to know about Prime Numbers)

\(n^2\) = \(5^2\) = 25

\(n^2\) i.e. 25 when divided by 12 will give 1 remainder

So, Answer will be B
Hope it helps!

Watch the following video to learn the Basics of Remainders

User avatar
totamofficiis
Joined: 21 Jan 2026
Last visit: 20 Apr 2026
Posts: 21
Own Kudos:
Given Kudos: 7
Location: India
Concentration: Economics, Finance
Products:
Posts: 21
Kudos: 4
Kudos
Add Kudos
Bookmarks
Bookmark this Post
this proof holds true for entire number line.
lets say n is a prime number.
if we divide n by 6 the for following are the possibilities.

n mod 6 == {0,1,2,3,4,5}

lets say n mod 6 is 2 or 4 then
n = 6a+2 or 6a+4 hence divisible by 2 thus n can not be a prime. Same proof by negation can be done for 3.
so n has to be either 6n+1 or 6n-1 format.

n^2 then == 6a^2+2*6a+1 or 6a^2-2*6a+1
all the terms are divisible by 6 except 1.
so answer is 1.

converse is not true btw.

koolgmat


All Prime numbers greater than 3 and upto 1000000000000000 can be expressed in the form of 6k+1 or 6k-1 , where k is a not negative integer.

Say N = 6k+1
N^2 = (6k+1)^2 = 36K^2 + 12K + 1 = 12(3K^2 + K) +1

Since 12(3K^2+K) is exactly divisible by 12 , therefore N^2 when divided by 12 leaves a remainder as 1.

Same can be proved for N = 6K -1
Moderators:
Math Expert
109728 posts
Tuck School Moderator
853 posts