Recursive prime triplet by Brillhart – Lehmer – Selfridge algorithm

By: | Comments: 7 Comments

Posted in categories: Fun Stuffs, Prime Search

Take any three primes, say p[1,0], p[2,0], and p[3,0].

Define:

p[i,j]=ABS[1+2*n[i,j]*p[(i+1) mod 3,j-1]*p[(i+2) mod 3,j-1]],n is the integer with minimum ABS[n] that makes p[i,j] a prime number.

The primality of p[i,j] can be proven using Brillhart – Lehmer – Selfridge algorithm recursively by using p[(i+1) mod 3,j-1] and p[(i+2) mod 3,j-1] as helper since n is a small integer, by reducing j to 0.

With this idea, taking

p[1,0]=3, p[2,0]=5, p[3,0]=7

We got the n[i,j] ( columns : j; rows: i):

i j=1 j=2 j=3
1 1 -1 -1
2 -1 2 -1
3 -8 -10 7
4 -14 -3 -13
5 -18 24 46
6 24 39 -32
7 225 -48 27
8 120 -76 30
9 -132 245 -676
10 316 -722 65
11 55 -1197 -510
12 -427 -1716 -637
13 4651 -1158 3420
14 -16337 17640 -18426
15 -8915 -70649 -31489
16 -18844 -92841 124053
17 -144011 -8853 -14042

The last three, p[i,17] makes top 5000 list.
The proof will be posted in the reply of this one.

7 Comments

Leave a Reply