![]() |
![]() |
#1 |
"Sam"
Nov 2016
5·67 Posts |
![]()
What is a good sieve program for Generalized Pierpoint primes which do not have the form k*b^n+-1 where (k < 2^32) is small? That is, a sieve which works on primes of the form 2^a*p^b*q^c*r^d...(r_n)^(d_n) where p, q, r..., r_n are distinct odd primes and there are NO restrictions on the exponents a, b, c, d,... d_n, such as their size. Does the sieve work when trying to find primes of the form 2^a*p^b*q^c*r^d...(r_n)^(d_n) where all the primes (p, q, r,..., r_n) are fixed, and all the exponents for the primes are fixed (except only one, two, or even three primes).
For example, I found a prime of the form 2^a*3^b*5^c*7^d+1 with no definite ratio, pattern, or restrictions for the exponents a, b, c, d. Here is what my sieve file looked like: (I chose the fixed exponents for 2 and 3 randomly and the exponent ranges for 5 and 7 randomly) sieve.txt: --- ABC2 2^1473*3^2731*5^$a*7^$b+1 a: from 1000 to 1000 b: from 400 to 500 --- Running the program up to b = 415, I only found one PRP (which was later proved prime): 2^1473*3^2731*5^1020*7^408+1 --- If I wanted to try higher fixed exponents and ranges, what would be a good sieve program to use so I know which numbers I should test? Thanks for help. |
![]() |
![]() |
![]() |
#2 | |
"Forget I exist"
Jul 2009
Dartmouth NS
23×3×5×71 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#3 |
"Forget I exist"
Jul 2009
Dartmouth NS
23·3·5·71 Posts |
![]()
You can use quadratic reciprocity to help some all even powers clump to form a quadratc residue. All powers not in those, but divisble by 3 form cubic residues, 5 pentic residues ...
|
![]() |
![]() |
![]() |
#4 |
"Forget I exist"
Jul 2009
Dartmouth NS
23×3×5×71 Posts |
![]()
Triple post
You can also show things like: 2^(8x+4)*3^(16y+8)*5^(16z+8)+1 are always divisible by 17. |
![]() |
![]() |
![]() |
#5 |
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
23·19·41 Posts |
![]()
I am not sure that there is a particularly good example. polysieve from http://mersenneforum.org/showthread....lysieve&page=8 would probably sieve it although it is not what it was designed for.
|
![]() |
![]() |
![]() |
#6 | |
"Forget I exist"
Jul 2009
Dartmouth NS
23·3·5·71 Posts |
![]() Quote:
Last fiddled with by science_man_88 on 2018-02-18 at 19:51 |
|
![]() |
![]() |
![]() |
#7 | |
"Forget I exist"
Jul 2009
Dartmouth NS
23·3·5·71 Posts |
![]() Quote:
Last fiddled with by science_man_88 on 2018-02-19 at 01:33 |
|
![]() |
![]() |
![]() |
#8 |
"Forget I exist"
Jul 2009
Dartmouth NS
23·3·5·71 Posts |
![]() Code:
forprime(x=1,10,forprime(y=x+1,100, for(z=1,y-1,if(lift(Mod(x,y)^z)==n-1,print(x","y","z);next(2))))) |
![]() |
![]() |
![]() |
#9 | |
"Sam"
Nov 2016
5·67 Posts |
![]() Quote:
2^(8x+4) = 2^4 = -1 (mod 17) 3^(16y+8) = 3^8 = 1 (mod 17) 5^(16z+8) = 5^8 = -1 (mod 17) Add these up and you get (-1)+(-1)+1 = -1 (mod 17) Then adding 1, you get (-1)+1 = 0 (mod 17) The congruence holds for any values of x, y, z. Here is another example: 2^(22x+11)*3^(31y)+1 cannot be prime for any integers x, y. Now as a quick exercise, show that this is true. |
|
![]() |
![]() |
![]() |
#10 | |
"Forget I exist"
Jul 2009
Dartmouth NS
23×3×5×71 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
generalized minimal (probable) primes | sweety439 | sweety439 | 140 | 2022-12-20 07:08 |
Generalized Repunit primes | Bob Underwood | Math | 12 | 2020-10-11 20:01 |
Generalized Fermat numbers (in our case primes) | pepi37 | Conjectures 'R Us | 4 | 2015-10-09 14:49 |
Generalized Mersenne Primes | Unregistered | Homework Help | 6 | 2012-10-31 14:16 |
Generalized Mersenne Primes | Cyclamen Persicum | Math | 1 | 2004-01-30 15:11 |