![]() |
![]() |
#1 |
Sep 2002
Database er0rr
2×33×83 Posts |
![]() Code:
f(p)=mp=2^p-1;a=Mod(2,mp);for(b=1,p-1,a=(a/2+1/a));a==2 ![]() |
![]() |
![]() |
![]() |
#2 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
10,273 Posts |
![]() |
![]() |
![]() |
![]() |
#3 | |
Sep 2002
Database er0rr
2×33×83 Posts |
![]() Quote:
Code:
f(p)=mp=2^p-1;a=Mod(2,mp);for(b=1,p-1,a=(a/2+3/a));a==0 ![]() Last fiddled with by paulunderwood on 2017-11-13 at 23:56 |
|
![]() |
![]() |
![]() |
#4 |
"Forget I exist"
Jul 2009
Dartmouth NS
2·3·23·61 Posts |
![]()
comes down to where the squares are on the arithmetic progression y(mp)-6. parity of x is the parity of y.
Last fiddled with by science_man_88 on 2017-11-13 at 23:57 |
![]() |
![]() |
![]() |
#5 |
Sep 2002
Database er0rr
448210 Posts |
![]()
Here is another test for Mersennes:
Code:
f(p)=local(mp=2^p-1,a=Mod(2,mp),b);for(b=3,p,a=a^2*2-1);a==0 ![]() |
![]() |
![]() |
![]() |
#6 | |
"Forget I exist"
Jul 2009
Dartmouth NS
2×3×23×61 Posts |
![]() Quote:
Last fiddled with by science_man_88 on 2017-12-11 at 01:08 |
|
![]() |
![]() |
![]() |
#7 |
"Sam"
Nov 2016
5×67 Posts |
![]()
I don't know if this is useful but https://oeis.org/A002812 happens to be the subset of the sequence https://oeis.org/A110293. Like the Mersenne sequence 2^n-1, this is also a divisibility sequence.
a(n) = 2*a(n-1)^2 - 1, starting a(0)=n b(n) = b(n-1)^2-2, starting b(0)=n are generalizations of https://oeis.org/A110293 I don't know the sequences which a(n) or b(n) are subsets of. That is, there exists sequences A(n) and B(n) such that A(2^n) = a(n) B(2^n) = b(n) The sequences a(n) and b(n) For further discussion let ll(2^n) be the sequence in https://oeis.org/A002812 and ll(n) be the sequence in https://oeis.org/A110293 Another question that comes up is how are ll(n) and 2^n-1 related to eachother other than the fact that if 2^n-1 is prime, then 2^n-1 divides ll(2^(n-2)). |
![]() |
![]() |
![]() |
#8 | |
Sep 2002
Database er0rr
118216 Posts |
![]() Quote:
1^2+6 == 0 mod 2^3-1 5^2+6 == 0 mod 2^5-1 11^2+6 == 0 mod 2^7-1 1405^2+6 == 0 mod 2^13-1 Last fiddled with by paulunderwood on 2018-05-02 at 15:40 |
|
![]() |
![]() |
![]() |
#9 |
"Forget I exist"
Jul 2009
Dartmouth NS
2·3·23·61 Posts |
![]()
12²+6== 0 mod 2^4-1
Last fiddled with by science_man_88 on 2018-05-02 at 17:32 |
![]() |
![]() |
![]() |
#10 | |
Feb 2017
Nowhere
22·1,553 Posts |
![]() Quote:
;-) Last fiddled with by Dr Sardonicus on 2018-05-02 at 18:05 |
|
![]() |
![]() |
![]() |
#11 |
Dec 2017
24×3×5 Posts |
![]()
Paul can you elaborate on this concept of rapid verification of Mprime?.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fulsorials | a1call | Miscellaneous Math | 46 | 2020-08-03 00:31 |
Java applet alternative | a1call | Programming | 19 | 2019-11-08 22:31 |
alternative ( points of view ) | cmd | cmd | 51 | 2019-09-28 14:56 |
CEMPLLA: An alternative to GIMPS ? | CEMPLLA Author | Data | 233 | 2019-06-28 17:18 |
free alternative to EasyFit? | ixfd64 | Software | 1 | 2008-04-26 21:28 |