0

Please advice whether below is correct, anything new or useful?

where n, a and b are integers ≥ 1

For $6n - 1$ all numbers will be prime numbers except where $n= 6ab + b - a$

For $6n + 1$ all will be prime numbers except where $n= 6ab ±(b + a)$

I believe the above 2 will capture all the primes above 3.

This is my first post so forgive me if I have made any errors or you feel I am wasting your time.

  • What you write somehow makes sense, but it has no argument. You are stating simply a result, which is indeed false. It is very hard to find a formula which captures all prime numbers. – Crostul Jan 18 '19 at 16:34
  • If $m=6n-1$ is composite then $m=pq$ where $p=1 \mod 6$ and $q=-1 \mod 6$ (or vice versa). Let $p=6a+1$ and $q=6b-1$ and your results follow. Similarly if $m=6n+1$ is composite then $m=pq$ where $p=q=1 \mod 6$ or $p=q=-1 \mod 6$ and your second result follows. – gandalf61 Jan 18 '19 at 16:43
  • @Crostul mentions results are false without saying why and @ gandalf61 gives explanation of how I got the above result although i used different way as I am not familiar with mod. Thank you. So is it correct? if not can anyone provide a number that it will not work for. If correct is it anything new or useful as I have not come across it before? – K. Hussain Jan 18 '19 at 17:13
  • If you exclude 2 and 3 multiples, than evey composite can be expressed as (6b-1)(6a-1)=36ab-6a-6b+1, or (6b+1)(6a-1)=36ab+6a-6b-1, or (6b-1)(6a+1)=36ab-6a+6b-1, or (6b+1)(6a+1)=36ab+6a+6b+1. So any number not multiple of 2 or 3 and not in one of these forms is prime. Don't know if it is usefull, but it is not new. – Collag3n Jan 18 '19 at 18:34
  • @Collag3n thanks that is how I got the above. So it is not new. thanks – K. Hussain Jan 18 '19 at 18:50

0 Answers0