Menu Close

Let-p-be-a-prime-number-gt-3-What-is-the-remainder-when-p-2-is-divided-by-12-




Question Number 13529 by Tinkutara last updated on 20/May/17
Let p be a prime number > 3. What  is the remainder when p^2  is divided by  12?
Letpbeaprimenumber>3.Whatistheremainderwhenp2isdividedby12?
Commented by prakash jain last updated on 20/May/17
Any prime number greater than  3 is of the form  6n+1  6n−1 (or 6n+5)  since 6n+2,6n+3,6n+4 are composites.  (6n+1)^2 =36n^2 +12n+1  (6n+1)^2  mod 12=1  (6n−1)^2 =36n^2 −12n+1  (6n−1)^2  mod 12 =1  so for all primes p greater>3  p^2  mod 12=1
Anyprimenumbergreaterthan3isoftheform6n+16n1(or6n+5)since6n+2,6n+3,6n+4arecomposites.(6n+1)2=36n2+12n+1(6n+1)2mod12=1(6n1)2=36n212n+1(6n1)2mod12=1soforallprimespgreater>3p2mod12=1
Commented by RasheedSindhi last updated on 20/May/17
e^x cellent!
excellent!
Commented by mrW1 last updated on 20/May/17
Can you please explain why any prime  is of the form 6n±1?
Canyoupleaseexplainwhyanyprimeisoftheform6n±1?
Commented by prakash jain last updated on 20/May/17
all integer can be written as  6n+m when m∈{1,2,3,4,5}  6n+2 =2(3n+1) not a prime  6n+3 =3(2n+1) not a prime  6n+4 =2(3n+2) not a prime  so only two possibilities of  a prime number>5, 6n+1, 6n+5  we write 6n+5 as 6n−1 so that  we cover number 5 as well.  6n+5=6(n+1)−1  6n+1=6n−1  so all primes >3 are of the form  6n±1
allintegercanbewrittenas6n+mwhenm{1,2,3,4,5}6n+2=2(3n+1)notaprime6n+3=3(2n+1)notaprime6n+4=2(3n+2)notaprimesoonlytwopossibilitiesofaprimenumber>5,6n+1,6n+5wewrite6n+5as6n1sothatwecovernumber5aswell.6n+5=6(n+1)16n+1=6n1soallprimes>3areoftheform6n±1
Commented by mrW1 last updated on 20/May/17
Thanks very much!
Thanksverymuch!
Commented by Tinkutara last updated on 21/May/17
It is also called Euclid′s Division Lemma  where a = bq + r, 0 ≤ r < b.
ItisalsocalledEuclidsDivisionLemmawherea=bq+r,0r<b.
Commented by mrW1 last updated on 22/May/17
According to the method of Prakash  we can prove   p^2  (mod 4) =1  p^2  (mod 8) =1  p^2  (mod 12) =1    The question is now if there exists a   further positive integer n>12 so that  p^2  (mod n)=1 for every prime number p  upon a certain one?
AccordingtothemethodofPrakashwecanprovep2(mod4)=1p2(mod8)=1p2(mod12)=1Thequestionisnowifthereexistsafurtherpositiveintegern>12sothatp2(modn)=1foreveryprimenumberpuponacertainone?

Leave a Reply

Your email address will not be published. Required fields are marked *