Menu Close

If-p-is-a-prime-number-greater-than-5-the-prove-that-p-mod-6-1-or-p-mod-6-5-i-e-All-prime-numbers-greater-than-5-leave-a-remainder-of-1-or-5-when-divided-by-6-




Question Number 4942 by prakash jain last updated on 24/Mar/16
If p is a prime number greater than 5, the prove  that p mod 6 ≡1 or p mod 6≡5.  i.e. All prime numbers greater than 5 leave a  remainder of 1 or 5 when divided by 6.
Ifpisaprimenumbergreaterthan5,theprovethatpmod61orpmod65.i.e.Allprimenumbersgreaterthan5leavearemainderof1or5whendividedby6.
Commented by Yozzii last updated on 25/Mar/16
  Define the function f: P→N such that  f(p)=p (mod 6) where 0≤f(p)≤6 and p>5.  Since p∈P, ∄n∈N such that p=6n+2=2(3n+1) (>5),  p=6n+3=3(2n+1) (>5),p=6n+4=2(3n+2) (>5) or p=6n=2×3n (>5). Therefore,  we know that f(p)≠0,2,3,4 and so,  possibly f(p)=1 or f(p)=5 since for   p=6n+1 or p=6n+5, no integer factors  arise from these formulae of p.  If n is even, f(6n+1)=1 or f(6n+5)=5.  If n is odd⇒p=6(2k+1)+1=12n+7  ⇒f(12k+7)=1 or if p=6(2k+1)+5=12k+11  ⇒f(12k+11)=5.
Definethefunctionf:PNsuchthatf(p)=p(mod6)where0f(p)6andp>5.SincepP,nNsuchthatp=6n+2=2(3n+1)(>5),p=6n+3=3(2n+1)(>5),p=6n+4=2(3n+2)(>5)orp=6n=2×3n(>5).Therefore,weknowthatf(p)0,2,3,4andso,possiblyf(p)=1orf(p)=5sinceforp=6n+1orp=6n+5,nointegerfactorsarisefromtheseformulaeofp.Ifniseven,f(6n+1)=1orf(6n+5)=5.Ifnisoddp=6(2k+1)+1=12n+7f(12k+7)=1orifp=6(2k+1)+5=12k+11f(12k+11)=5.
Commented by 3 last updated on 15/May/16
h
h

Leave a Reply

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