A number theory problem by Angaddeep Singh

Number Theory Level pending

The remainder when square of any prime number greater than 3 is divided by 6


The answer is 1.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Any number can be written as 6 k , 6 k + 1 , 6 k + 2 , 6 k + 3 , 6 k + 4 , 6k, 6k+1, 6k+2, 6k+3, 6k+4, or 6 k + 5. 6k+5.

Note that 6 k , 6 k + 2 , 6 k + 3 6k, 6k+2, 6k+3 , and 6 k + 4 6k+4 cannot be prime (excluding 2 and 3) since they are multiples of 2 or 3. Thus we will only consider primes of the form p = 6 k + 1 p= 6k+1 and p = 6 k + 5 p= 6k+5 .

If p = 6 k + 1 p= 6k+1 then this is the same as saying p 1 p \equiv 1 (mod 6).Then p 2 1 2 = 1 p^2 \equiv 1^2 = 1 (mod 6).

If p = 6 k + 5 p= 6k+5 then this is the same as saying p 5 p \equiv 5 (mod 6). Then p 2 5 2 = 25 = 1 p^2 \equiv 5^2 = 25 = 1 (mod 6).

In both cases, a prime number greater than 3 squared will yield a remainder of 1 \boxed{1} when divided by 6 because it is of the form 6 k + 1. 6k+1.

In a table:

we may assume any prime number after 3 to get the answer also the square of each prime no after 3 is (multiple of 6 + 1)

If I've understood you correctly, you just simply took a prime number > 3 > 3 , squared it and saw that it gives the remainder of 1 1 when divided by 6 6 . Do you know why that happens? And how do you know that it'll work for any prime greater than 3 3 ?

Mursalin Habib - 6 years, 6 months ago

Log in to reply

Any prime p p greater than 3 can be expressed in the form p p = 6 k ± 1 6k\pm1 . p 2 = 36 k 2 + 1 ± 12 k = 6 ( 6 k 2 ± 2 ) + 1 p^2 = 36k^2+1\pm12k=6(6k^2\pm2)+1 .

Hence remainder is 1 when this p p is divided by 3.

Also the method is that remainder will be either 1 or 2 ,so you have 3 tries & 2 answers!!!! :p

Harsh Shrivastava - 6 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...