![]() |
|
|
#12 | ||
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
1E0C16 Posts |
Quote:
Quote:
Where m_f_h refers to "the penultimate, S[p-2]", that is what I would have called S(p-3). However, there m_f_h meant, instead, "... by repeating p-2 times ...". Last fiddled with by cheesehead on 2007-03-08 at 18:30 |
||
|
|
|
|
|
#13 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22·3·641 Posts |
Look at all this huffing-and-puffing by folks who actually (or partially, in my case
) do understand the Lucas-Lehmer test!Is it any wonder that novices get confused? Last fiddled with by cheesehead on 2007-03-08 at 18:43 Reason: the usual perfectionism |
|
|
|
|
|
#14 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
102538 Posts |
Quote:
|
|
|
|
|
|
|
#15 | |
|
Feb 2007
24·33 Posts |
Quote:
Last fiddled with by m_f_h on 2007-03-09 at 12:38 Reason: added PS on penultimate |
|
|
|
|
|
|
#16 | |
|
Nov 2003
746010 Posts |
Quote:
However, I still fail to understand the following: The LL test says that if the result of a particular computation is 0, then the number is prime. The details of that computation are irrelevent. How can anyone be led to even ask the question: "If one only does part of the computation, does this make it more likely that the result is true"??? [the result being that the number is prime] This is, in essence, what the O.P. asked. I'd like to understand the thought process that might lead someone to ask about a PARTIAL computation leading to some kind of conclusion about the ENTIRE computation. I guess that I just don't understand how people think. What might lead someone who is told "If A then B" to somehow ask "What about C" when the statement says nothing about C?? Suppose we had a computation that said: if x^17 = 0 mod N, then N is prime. How could anyone be led to ask about (say) x^8 mod N?? What might cause someone to believe that the value of x^8 gives useful information about the final conclusion? The computation says x^17, not x^8 mod N gives the answer. Is this a question of READING comprehension???? I find quite often that the problems beginners and naiive people have with math is not a lack of mathematical comprehension, but rather of READING comprehension. |
|
|
|
|
|
|
#17 | |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10AB16 Posts |
Quote:
reading comprehension problems wanting "instant gratification", they skipped over the relevant parts to finish reading about it faster or they just never looked it up at all before asking. |
|
|
|
|
|
|
#18 | |
|
Feb 2007
6608 Posts |
Quote:
Today, young(not only, but easiest) people are conditionned by "the system" to be good consumers, i.e. to think the "I want it, and I want it now" way. This applies as well to buying things (what if the started thinking : "why do I need this ? do I really need this ?" - they would buy less than half of all the stuff they buy ! Where for do they really need things like the (n+1)st playstation or plasma screen or mobile phone ?) as well as in education. You also notice that in the approach of students to mathematics but I believe to other subjects. They know they have to spend a given amount in lessons and/or training sessions, but apart from that, they are not taught to spend hours and hours on understanding a problem. If they cannot do the exam at the end of the course, it's the instructor's fault, not theirs. If up to high school the method is "learning by playing around" and never "learning by working hard", how could that change when entering university ? I think we cannot blame our youth for that (at least only to a small extend). Whom we can blame for that, would be maybe the parents (insofar as they are not yet sufficiently well-conditioned), but first and foremost, the government, or ministry of education. But... it seems the country needs good consumers more than good mathematicians or good engeneers or any other competent people. At least this is true for the short-range reasoning (time scale = time between two elections). But this is a "democratic" choice. (That word's real significance had already been well understood by the ancient Greek philosophers.) Last fiddled with by m_f_h on 2007-03-09 at 16:10 |
|
|
|
|
|
|
#19 | |
|
Feb 2007
6608 Posts |
Quote:
So prior to knowing (i.e. reading) what the LL test actually does, this is a "valid" question, so we tried to provide an extremely oversimplified answer, which clearly explains that "nothing is known", in the case of this particular test, before reaching the end. |
|
|
|
|
|
|
#20 | |
|
Nov 2003
22×5×373 Posts |
Quote:
For LL, the "result" is a statement of the form "If A then B". This is NOT true for trial division or ECM. For a given 2^p-1, One can NOT say: "By trial division, 2^p-1 has no factors less than X, therefore the probability that 2^p-1 is primes is Z". 2^p-1 is prime either with probability 0 or 1. All trial division says is: "If 2^p-1 has no factors less than X, then 2^p-1 has no factors less than X": a tautology. One CAN say: "I have trial divided 2^p-1 to X and found no factors, therefore I have done Z% of the work needed to factor 2^p-1 by trial division". [where Z depends on X and p]. But one can say the same of the LL test. One CAN say "I have performed k iterations, therefore I have done k/(p-2) of the work needed tp determine if this number is prime". But this says NOTHING about the "probability" of the number being prime. It simply says one has done some percentage of the required computation. For ECM [run on a *known* composite] , all one can say after a number of trials is that the probability of there being a factor less than X is some value Z. But this really does not get you closer to the *deterministic* goal of factoring the composite. You are comparing totally different things. The concepts do not carry over from one problem to the other. |
|
|
|
|
|
|
#21 |
|
∂2ω=0
Sep 2002
República de California
103×113 Posts |
All this debate seems to boil down to the fundamental confusion some beginners have with the profound difference between factorial and nonfactorial compositeness tests.
To some degree that's understandable, but anyone who is savvy enough to post to an online forum is also perfectly capable of doing a little background reading (either on the web or using one of those musty old "book" thingies) to educate themself on the basics. How hard can googling "lucas lehmer test" be? I'll stop now, lest I be accused of "huffing and puffing." |
|
|
|
|
|
#22 | |
|
"Lucan"
Dec 2006
England
11001010010102 Posts |
Quote:
The probability that 2^p-1 is prime when no factor has been found up to x bits is~ x/(gamma*p) where gamma is Euler's constant Last fiddled with by davieddy on 2007-03-09 at 18:27 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mlucas on ubuntu | Damian | Mlucas | 17 | 2017-11-13 18:12 |
| MLucas on IBM Mainframe | Lorenzo | Mlucas | 52 | 2016-03-13 08:45 |
| Mlucas on HP-UX/PA-RISC setup question | smoky | Mlucas | 14 | 2009-05-05 15:40 |
| mlucas on sun | delta_t | Mlucas | 14 | 2007-10-04 05:45 |
| A quick question regarding iterations in Mlucas... | DeadSpam | Mlucas | 4 | 2007-03-05 14:06 |