View Single Post
Old 2021-02-07, 11:02   #9
Kebbaj
 
Kebbaj's Avatar
 
"Kebbaj Reda"
May 2018
Casablanca, Morocco

3·29 Posts
Exclamation

Quote:
Originally Posted by Hugo1177 View Post
Generating Large Prime Numbers
We can find bigger prime numbers with this method.
https://www.researchgate.net/publica..._Prime_Numbers
You can make this interesting sequance in OEIS https://oeis.org

If you want the mathematica code for publication :
d = {}; For[i = 1, i <= 326, i++, a = Prime[i];
sol = Solve[x^(2/a) - 3 x^(4/a) + 1 == 0, x];
p = ToExpression[
StringCases[ToString[Numerator[RootReduce[(x /. sol[[1]])^2]]],
WordCharacter ..][[1]]]; If[PrimeQ[p], AppendTo[d, a]]]; d
Attached Thumbnails
Click image for larger version

Name:	hugo PRG.PNG
Views:	37
Size:	15.6 KB
ID:	24277  

Last fiddled with by Kebbaj on 2021-02-07 at 11:26
Kebbaj is offline