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