Processing math: 100%
 
+0  
 
0
673
5
avatar

Find all positive integers n such that n, n + 2, and n + 4 are all primes.

 Jun 22, 2020
 #2
avatar+23254 
+2

If n = 3, then n + 2 = 5, and n + 4 = 7; all primes.

 Jun 22, 2020
 #3
avatar
+1

As far as I know there is only one such example. And that is:

 

3, 5, 7.  Other than this exception, every 3rd number in the form: n, (n + 2), (n + 4) is always divisible by 3. Here are a few examples of "twin primes":  (11, 13) , (17, 19) , (29, 31) , (41, 43) , (59, 61) , (71, 73) , (101, 103) , (107, 109) . In each of these examples, adding 2 to the 2nd prime or adding 4 to the first prime, it becomes divisible by 3. Always!.

 Jun 22, 2020
 #4
avatar+1262 
+4

so the prime numbers list under 100 is

2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97 and we have to have prime numbers that are 0,2, and 4 more than itself are only (3,5,7) so the answer (3,5,7)

 Jun 22, 2020
 #5
avatar+26396 
+4

Find all positive integers n such that n, n + 2, and n + 4 are all primes.

 

All prime numbers past 3 are of one of the form 6n+1 and 6n-1.


All integers are of one of this forms:
{6n22·(3n1)6n16n2·3·n6n+16n+22·(3n+1)6n+33·(2n+1)

 

Note that all other than 6n-1 and 6n+1 can be expressed as a product of two integers bigger than 1.

So a prime number cannot be of any form other than 6n±1

 

(That doesn't mean that all numbers of the form 6n±1 are prime)

 

So n=6n1, and n+2=6n+2 , we see n+4=6n+3 is always divisible by 3, so there is no more solution, if n>3.

The only solution is n=3, n+2=5, n+4=7

 

laugh

 Jun 23, 2020

2 Online Users