mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: 10metreh
Forum: gophne 2017-12-31, 23:58
Replies: 29
Views: 8,157
Posted By 10metreh
Here is some Pari code to run your test for...

Here is some Pari code to run your test for numbers n+2 from 1 to 10000, and print the false positives along with a counter:
x=0;for(n=-1,9998,if(isprime(n+2)==0&&(2^n-1)%(n+2)==(n+1)/2,x++;print(x"...
Showing results 1 to 1 of 1

 
All times are UTC. The time now is 20:40.

Tue Apr 13 20:40:43 UTC 2021 up 5 days, 15:21, 2 users, load averages: 1.88, 1.58, 1.65

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.