mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Closed Thread
 
Thread Tools
Old 2006-11-14, 13:24   #12
herege
 
Nov 2006

5 Posts
Default

Pretty much.

I will try that. Thanks for your help.

Best regards.
herege is offline  
Old 2006-11-14, 13:56   #13
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

746010 Posts
Default

Quote:
Originally Posted by herege View Post
I posted it in the wrong way.

Let me correct:

Based on MR we can assume that p is prime with a probability of 1-2^-n.

Thanks
What is n??? If you are going to discuss mathematics, LEARN TO DEFINE
YOUR VARIABLES.

I suggest that you read a paper by Kim & Pomerance in Math. Comp.
I forget the exact title, but it is along the lines of "The probability that a
strong prp is composite".

If one runs MR n times on a candidate p, and it declares the number
prime, the probability that the declaration is in error is much lower than
2^(-2n). The exact probability depends on the size of p. If MR declares
a very large number (at least several hundred digits) to be prime, the
probability is VERY small that the declaration is in error.

Futhermore, each successive trial of MR on a given number (with a different
base for the test) is NOT INDEPENDENT of the preceeding trials. This is
(partially) what the Kim & Pomerance paper is about.

Once we have run MR with a given base (say b), and MR declares the number
prime, and we now run another trial with base b1, the probability of an
erroneous answer with base b1 is not independent of an erroneous answer
with base b. This is because once MR is run, a second run becomes
*conditional* on the first. The fact that the first trial declares a number prime eliminates a lot of candidates that might cause a second trial to err.

BTW, the use of the expression "probability that p is prime" is wrong
headed. p is either prime or composite. What should be said is that
p had been declared prime by a decision procedure and the probability that
the DECISION PROCEDURE IS IN ERROR is small. One can NOT say
"Based on MR we can assume that p is prime with a probability of 1-2^-n."
as you stated above. What we can say is that the probability that the
MR test is in error is 4^-n. (and yes, it is 4^-n, not 2^-n). A number
is either prime or it is not.

When one discusses probability, one MUST base the discussion upon
*random variables* having some probability density function. To do
otherwsie is meaningless blather.

Go read the Kim & Pomerance paper.
R.D. Silverman is offline  
Old 2006-11-14, 13:58   #14
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

746010 Posts
Default

Quote:
Originally Posted by retina View Post
Am I making any sense? It has been a while since I last programmed an MR test.
No, you are not making sense. And what has programming MR got to do
with understanding the math behind it??

Do us all a favor. If you are unsure about a subject, then KEEP QUIET.
R.D. Silverman is offline  
Old 2006-11-14, 18:34   #15
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

herege, from your posts my best guess is that you are looking for "logarithm base conversion."

Alex
akruppa is offline  
Old 2006-11-14, 18:45   #16
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

1D2416 Posts
Default

Quote:
Originally Posted by akruppa View Post
herege, from your posts my best guess is that you are looking for "logarithm base conversion."

Alex
A person who does not know to convert logarithms from one base to
another should probably not be participating in this forum. Their
math background is just too weak. I expect that anyone participating here
has mastered (not just passed) high school math through pre-calculus.
If they haven't, then discussions will be a total mystery to them.

I would never have guessed that herege was looking to solve 2^-n =
10^-k for k. I thought that he was asking how to achieve probability
10^-n with n trials of MR. The former is just too trivial a question.
R.D. Silverman is offline  
Old 2006-11-14, 23:00   #17
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

24×389 Posts
Default

Quote:
Originally Posted by R.D. Silverman
Do us all a favor. If you are unsure about a subject, then KEEP QUIET.
I don't accapt that statement. I was simply trying to help, if got something wring then so what. Everyone can correct me, or the mods can delete it, I don't mind. The important thing is that the intention is not to belittle or discourage. If one cannot give encouragement then that is the time to keep quiet.
retina is offline  
Old 2006-11-15, 05:50   #18
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

Asking how to convert logarithm bases is a valid math question, if at a pretty elementary level. Not sure if this thread should go into Miscellaneous... it's a beginner's question and was not very well stated, but at least it isn't a "look at teh uber-leet factoring algorithm I found" post.

Alex

Last fiddled with by akruppa on 2006-11-15 at 10:11 Reason: speeling
akruppa is offline  
Old 2006-11-15, 12:02   #19
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by retina View Post
I don't accapt that statement. I was simply trying to help, if got something wring then so what. Everyone can correct me, or the mods can delete it, I don't mind. The important thing is that the intention is not to belittle or discourage. If one cannot give encouragement then that is the time to keep quiet.

"then so what"??

The answer is that one adds, rather than detracts from the confusion,
and a less than sophisticated reader would not know the difference.

Indeed, we already knew that the O.P. was less than sophisticated by
the nature of the original question. So how is such a person going to tell
that a supplied "answer" isn't correct?
R.D. Silverman is offline  
Old 2006-11-15, 13:21   #20
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

24·389 Posts
Default

Quote:
Originally Posted by R.D. Silverman
"then so what"??

The answer is that one adds, rather than detracts from the confusion,
and a less than sophisticated reader would not know the difference.

Indeed, we already knew that the O.P. was less than sophisticated by
the nature of the original question. So how is such a person going to tell
that a supplied "answer" isn't correct?
herege seemed quite satisfied with the result. That is enough for me. It seems the real question herege was asking was finally extracted and thus answered.

I doubt there is any harm in the method used to get there. "With so many mistakes we must surely be learning" (I can't remember who said it but it's a damn good quote). We can't all be right all the time, so mistakes and wrong conclusions will happen occasionally, and so what. It all gets fixed up in the end and we learn something because of it.

If the answer is not correct then there is no harm in someone else politely saying "umm, I think you made a mistake or misunderstood, a better answer is this ...".

Your response to herege about how the probabilty of each test being conditional on previous tests is indeed correct, but how did that help poor herege? herege, I feel quite certain, just needed a simple computation to satisfy his/her need. With you being so quick to measure the sophistication of herege but at the same time not realising that talking about conditional probabilities was most likely not helping seems to be somewhat poor judgement.

Quote:
Originally Posted by R.D. Silverman
Go read the Kim & Pomerance paper.
Do you really think that herege, at his/her level of sophistication that you judged so easily, would be able to understand the Kim & Pomerance paper? Perhaps herege can understand given enough study time, but not everyone has oodles of time to devote to studying every piece of mathematical minutae.
retina is offline  
Old 2006-11-15, 14:06   #21
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by retina View Post

Do you really think that herege, at his/her level of sophistication that you judged so easily, would be able to understand the Kim & Pomerance paper? Perhaps herege can understand given enough study time, but not everyone has oodles of time to devote to studying every piece of mathematical minutae.
If you want to discuss a subject you need the pre-requisites.
If you are unwilling to do background reading then you should not
get involved.

Your attitude stinks. "oodles of time". If you are not willing to devote the
time to learning and reading what you need to know then take up another
subject.

Yet another instance of the "instant gratification" generation. A person
who wants to participate but is unwilling to spend the necessary time to
acquire needed background.
R.D. Silverman is offline  
Old 2006-11-15, 14:14   #22
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by akruppa View Post
Asking how to convert logarithm bases is a valid math question, if at a pretty elementary level. Not sure if this thread should go into Miscellaneous... it's a beginner's question and was not very well stated, but at least it isn't a "look at teh uber-leet factoring algorithm I found" post.

Alex
But the O.P. did NOT ask: how do I convert 2^-n to 10^-k? What was
asked was:

"1-2^n if a number is prime or not.

But what if i wanted to proof that a prime number has a diffenter probability.

Say x is prime with a probability of 10^-n???"

Note the use of the word "diffenter (sic)" [different]. The O.P was
not asking how to convert 2^-n to an EQUIVALENT 10^-k, but was asking
for a different probability: 2^-n vs. 10^-n. Why else use the word "different"???

Asking "If 2^-n = 10^-k then what is k" is so totally a simple question
that it is hard to imagine from the gibberish posted that this is what the O.P.
intended. The wording of the original post strongly suggested that the O.P.
was trying to *improve* the probability of being wrong from 2^-n to 10^-n.

This math is only at the (U.S.) first year high school level or perhaps
the year before in a good math program.

You can't participate if you don't speak the language (math, not English).
R.D. Silverman is offline  
Closed Thread



Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Number Theory 15: Lagrange's theorem, cyclic groups and modular arithmetic Nick Number Theory Discussion Group 0 2017-01-07 13:15
Basic Number Theory 8: equiv. relations and Fermat's little theorem Nick Number Theory Discussion Group 0 2016-11-10 23:10
Basic Number Theory 6: functions and the Chinese Remainder Theorem Nick Number Theory Discussion Group 4 2016-10-31 22:26
My(?) Three body theorem. davieddy Math 1 2011-08-08 03:14
Another vindication of Gödel's Theorem? devarajkandadai Miscellaneous Math 1 2006-09-22 17:43

All times are UTC. The time now is 16:21.


Mon Aug 2 16:21:10 UTC 2021 up 10 days, 10:50, 0 users, load averages: 2.37, 2.56, 2.39

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.