![]() |
![]() |
#386 | |
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
![]() Quote:
2) if you only consider this page it's a modular residue mod the mersenne number of a sequence and can't be said to be used like Si is on the wikipedia page about it. 3) as Si is very roughly 2^(2i) we can say i<(p/2) but that's all I know, as to you saying it's grade three math I didn't learn algebra until grade nine. Last fiddled with by science_man_88 on 2014-09-03 at 02:54 |
|
![]() |
![]() |
#387 | |
Jun 2003
113708 Posts |
![]() Quote:
Code:
4 16 64 256 1024 4096 16384 65536 262144 1048576 |
|
![]() |
![]() |
#388 |
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
![]()
sorry I realize now it's roughly 2^(2^i)
Last fiddled with by science_man_88 on 2014-09-03 at 11:59 |
![]() |
![]() |
#389 |
Jun 2003
23×607 Posts |
![]() |
![]() |
![]() |
#390 |
"Forget I exist"
Jul 2009
Dumbassville
20C016 Posts |
![]() Last fiddled with by science_man_88 on 2014-09-03 at 12:21 |
![]() |
![]() |
#391 |
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
![]()
I'm guessing if an easy way to use one result of the LL test to figure another it would already be in use, but is there a way to figure out using the multinomial theorem the multinomial connecting two values in the LL sequence separated by a certain difference if so y->a*x+b where y is in the LL sequence and x is the previous mersenne you're jumping from I'm thinking about the result formed when the multinomial is divided by the form z=wp+n; 2^p-1=x; 2^z-1 = 2^n*((x+1)^w)-1 ( yes I eliminated part of a term). I'm guessing it's too complicated or some other flaw has come up ?
|
![]() |
![]() |
#392 | |
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
![]() Quote:
|
|
![]() |
![]() |
#393 | |
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
![]()
I started off with the sieve of sundaram using the form of value that created a composite and said well if a mersenne is composite the next one has such and such a form and tried to equate form there I was hoping this would lead me to a property of some sort to look for the exponent or a form to solve into simpler terms that I could evaluate easy for a prime exponent. and yes I went through multiple steps but only show one and mix * and not leaving a space again.
Quote:
|
|
![]() |
![]() |
#394 | ||
"Forget I exist"
Jul 2009
Dumbassville
20C016 Posts |
![]()
I got to:
Quote:
Quote:
Last fiddled with by science_man_88 on 2015-05-19 at 00:21 |
||
![]() |
![]() |
#395 |
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
![]()
I know I've talked about the original non-reduced LL tests with x^2-2 and the difference a bit to people but I can't remember if I've talked about how the reduced form using 2*x^2-1 matches up to within a sum that I believe is mostly powers of two must equal to 1 mod 2^p-1 , p obviously being prime ( by convention only) for 2^p-1 to be prime. I guess I would have to figure out the formula for the sum to be of any use, anyone else interested ? edit: I realize now it's 2 mod 2^p-1 the reason this came to mind is outside the -1 this resembles the trail factoring example on the GIMPS math page. edit: 2 I keep thinking I would have to tack a 1 on the begging but I don't in the case of the one starting with 2 because it's already like it's done the first 1 in the binary.
Last fiddled with by science_man_88 on 2015-06-02 at 14:03 |
![]() |
![]() |
#396 |
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
![]()
I just thought I'd back this up with code ( prettied up after pasting):
Code:
Mcode(p,{flag=1},{modulus=[p<<1+1,1<<p-1][flag]},{zerocode=x^2},{onecode=[zerocode<<1,zerocode<<1-1][flag]},{bin=[p,1<<(p-2)-1][flag]},{result=[1,0][flag]},{x=[1,2][flag]})={ a=binary(bin); for(y=1,#a, if(a[y], x=eval(onecode)%modulus, x=eval(zerocode)%modulus ) ); if(x==result, if(flag==1, print("M"p" has a factor "modulus), if(flag==2, print("M"p" is prime") ) ) ) } Code:
addhelp(Mcode," if flag=1 proceed with checking if modulus is a divisor of Mp, if flag=2 proceeed with LL test of Mp") |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mersenne Primes p which are in a set of twin primes is finite? | carpetpool | Miscellaneous Math | 3 | 2017-08-10 13:47 |
Distribution of Mersenne primes before and after couples of primes found | emily | Math | 34 | 2017-07-16 18:44 |
Mersenne primes and class field theory | Nick | Math | 4 | 2017-04-01 16:26 |
Basic Number Theory 11: Gaussian primes | Nick | Number Theory Discussion Group | 0 | 2016-12-03 11:42 |
Mersenne Wiki: Improving the mersenne primes web site by FOSS methods | optim | PrimeNet | 13 | 2004-07-09 13:51 |