mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2015-08-28, 16:08   #23
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

1D2416 Posts
Default

Quote:
Originally Posted by danaj View Post
That sounds very useful. Heck, I want that so I can play around with other tests. Edit referencing RDS comment: useful to people implementing these things for running on computers. It would offer little in terms of math other than speed up simple checks.
So why is it in a sub-forum for discussion of mathematics????
R.D. Silverman is offline   Reply With Quote
Old 2015-08-28, 17:07   #24
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
Maybe if somebody could implement this with a simple GWNUM command line program and post the source, it might be useful and instructive to the community
Here it is!
Create a.abc file:
Code:
ABC $a*$b^$c$d
1 2 1321355 3
Start llr -d a.abc
and you will find that all-complex FFT is used which is better than generic. Nothing needs to be implemented.
Code:
Starting probable prime test of 2^1000020+3
Using all-complex AVX FFT length 64K, Pass1=256, Pass2=256, a = 3
...
2^1000020+3, bit: 250000 / 1000021 [24.99%].  Time per bit: 0.364 ms.
Even if you'd implement the LLT, it would add nothing to that. Speed would be the same and it would still be a PRP.
Batalov is offline   Reply With Quote
Old 2015-08-28, 17:27   #25
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,739 Posts
Default

Quote:
Originally Posted by Batalov View Post
Here it is!
Create a.abc file:
Code:
ABC $a*$b^$c$d
1 2 1321355 3
Start llr -d a.abc
and you will find that all-complex FFT is used which is better than generic. Nothing needs to be implemented.
Code:
Starting probable prime test of 2^1000020+3
Using all-complex AVX FFT length 64K, Pass1=256, Pass2=256, a = 3
...
2^1000020+3, bit: 250000 / 1000021 [24.99%].  Time per bit: 0.364 ms.
Even if you'd implement the LLT, it would add nothing to that. Speed would be the same and it would still be a PRP.


Here is what I meant:
  • include GWNUM
  • read some parameter(s) from a file or a decimal string
  • initialize a few things
  • loop over bits including mults, squarings, additions etc. including (special) mod reductions
  • test a condition
  • report result to screen and file

We have the source to LLR/PFGW/Prime95 but those are thousands of lines of code (and code for GUI). I envisage maybe 50 lines of simple code, which can be hacked.

As for Tony's x <- x^2-2 (LLT), I agree they are hardly faster than a fermat base 3 test

Last fiddled with by paulunderwood on 2015-08-28 at 18:21
paulunderwood is online now   Reply With Quote
Old 2015-08-28, 17:30   #26
danaj
 
"Dana Jacobsen"
Feb 2011
Bangkok, TH

22×227 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
So why is it in a sub-forum for discussion of mathematics????
My two kopeks. There are a few different topics going on, and I'm not sure if you mean the first or second is inappropriate.

1) T.Rex's idea of a L-L type test. That's seemingly the point of the thread. I get different impressions from comments as to how useful this is vs. current PRP tests, which would seem to be something worth discussing.

2) the digression to gwnum programs. It came up because of the subject matter, and isn't directly math related.

batalov: thanks, though I was hoping for a simple gwnum program, not LLR.
danaj is offline   Reply With Quote
Old 2015-08-28, 17:53   #27
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

11101001001002 Posts
Default

Quote:
Originally Posted by danaj View Post
My two kopeks. There are a few different topics going on, and I'm not sure if you mean the first or second is inappropriate.

1) T.Rex's idea of a L-L type test. That's seemingly the point of the thread. I get different impressions from comments as to how useful this is vs. current PRP tests, which would seem to be something worth discussing.
Worth discussing? Fine.

But the discussion contains no mathematics. I don't even see a discussion of a heuristic which suggests WHY
the test reveals PRPs. LL works for a reason. If T.Rex wants to suggest that the test is useful he needs to
provide at least some mathematics as to WHY numbers that pass it might be prime.

Quote:
2) the digression to gwnum programs. It came up because of the subject matter, and isn't directly math related.
NONE of it contains mathematics.
R.D. Silverman is offline   Reply With Quote
Old 2015-08-28, 19:23   #28
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

22·229 Posts
Default Small conjectures may grow and become theorems, with Math proof to build

Quote:
Originally Posted by R.D. Silverman View Post
Worth discussing? Fine.

But the discussion contains no mathematics.

NONE of it contains mathematics.
Yes. These threads contain NO mathematics. FOR NOW. It is now your duty to start finding ideas for proving these conjectures with Math tools, like I did for the Reix-Vrba algorithm (but found only the first part of the proof).

I put this in Math threads because it deals with possible primality-proof methods that need Math proof. Go and work !

If you had read in depth books about old math genius people, you should know that FIRST they did experimental computation by hand. Then, with facts, they started to prove what were conjectures at first.
They were genius people due to several qualities : be curious, experiment a lot with pen and paper, then search and find proofs.

In any case, this is fun !
T.Rex is offline   Reply With Quote
Old 2015-08-28, 20:01   #29
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

1D2416 Posts
Default

Quote:
Originally Posted by T.Rex View Post
Yes. These threads contain NO mathematics. FOR NOW. It is now your duty to start finding ideas
MY duty??? What the fuck have you been smoking??? You are the one presenting this as a valid PRP test.
It is YOUR responsibility to provide supporting mathematics.



Quote:

I put this in Math threads because it deals with possible primality-proof methods that need Math proof. Go and work !
I have ZERO interest.
Quote:

If you had read in depth books about old math genius people, you should know that FIRST they did experimental computation by hand. Then, with facts, they started to prove what were conjectures at first.
They were genius people due to several qualities : be curious, experiment a lot with pen and paper, then search and find proofs.

In any case, this is fun !
Hey moron!


I don't NEED to read books about them. In many cases I am on a first name basis with them.
I have collaborated with them.

You say "experiment a lot.... then find proofs". But one needs a least some supporting heuristical
arguments that suggest looking for a proof would have some chance of succeeding. The people of whom
you speak don't just pull a test from their ass. They have some reason for believing it might be correct.

All this thread has produced is mindless numerology. It contains no mathematical arguments at all.

I would like to see an explanation of why a number passing your test(s) has a reason that we should
expect it to be prime. You are one making the proposal(s). It is YOUR job to present supporting arguments.
[and saying that it works for a small set of numbers you tried is not a supporting argument]

Do you even know what group you might be working in, or its order as a function of the number being
tested? (Hint: I do)
R.D. Silverman is offline   Reply With Quote
Old 2015-08-28, 20:29   #30
T.Rex
 
T.Rex's Avatar
 
Feb 2004
France

11100101002 Posts
Default

Dear Silverman
You are still the same ! It's nice to see that some things are stable in this so moving world.
And you still don't read your comments twice in order to see when you are wrong. By providing these algorithms, I've provided heuristical arguments proving that there is something interesting behind that people should study and find a math theory for explaining why it works: properties of a DiGraph under x^2-2 modulo N. Remember that my algorithm Reix-Vrba for Wagstaff numbers has been used for finding the biggest known PRPs : (2^13372531+1)/3 and (2^13347311+1)/3 . See: http://www.primenumbers.net/prptop/prptop.php
Anyway, I've already produced Math papers about proof of LLT for Mersenne and Fermat numbers. I also worked on building a proof for the conjecture for LLT for Wagstaff numbers, with some gentle help from Hugh C. Williams. And I'm not a professional in Math, as you seems to be.
Read Edouard Lucas books and papers, read Hugh C. Williams book about Lucas' work, read Ribenboim, read all the books and papers about this subject, read my papers, and then go back with a proof, so that you can prove you can do something useful rather than always saying that other people are nuts.
Have a good day.
T.Rex is offline   Reply With Quote
Old 2015-08-28, 20:32   #31
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

Quote:
Originally Posted by T.Rex View Post
Remember that my algorithm Reix-Vrba for Wagstaff numbers has been used for finding the biggest known PRPs : (2^13372531+1)/3 and (2^13347311+1)/3 . See: http://www.primenumbers.net/prptop/prptop.php
Are you sure it was not a simple ABC ($a*$b^$c$d)/$e test in llr?
Batalov is offline   Reply With Quote
Old 2015-08-28, 20:36   #32
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

E9B16 Posts
Default

Quote:
Originally Posted by Batalov View Post
DRUG (Diepeveen-Reix-Underwood-Gilchrist) used Reix-Vrba up to exponent 10M. Ryan Propper said that he used "PFGW -f" to find the top 2 PRPs.

Last fiddled with by paulunderwood on 2015-08-28 at 20:37
paulunderwood is online now   Reply With Quote
Old 2015-08-28, 20:48   #33
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

Same thing: P95, llr, pfgw all use the same library and the same FFT mod (2^n+1) with the gcd(res, (2^n+1)/3) in the last iteration only.
As for his use of -f the only thing one can say is
Batalov is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding M(37156667) to OEIS lidocorc Information & Answers 1 2016-12-11 07:26
OEIS - 2·A261539: (2^n+5)/3 , n even T.Rex Miscellaneous Math 38 2015-09-05 16:14
OEIS - A059242 : 2^n+5 , n odd T.Rex Miscellaneous Math 7 2015-08-28 18:04
my misunderstanding of the OEIS science_man_88 Miscellaneous Math 11 2011-05-18 15:04

All times are UTC. The time now is 03:28.


Sat Jul 17 03:28:03 UTC 2021 up 50 days, 1:15, 1 user, load averages: 1.80, 1.61, 1.48

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.