mersenneforum.org  

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

Reply
 
Thread Tools
Old 2011-04-30, 12:46   #23
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

164448 Posts
Default

Quote:
Originally Posted by imwithid View Post
Perhaps this gets to the root of it. For the sake of argument, it may frustrate you that one who knows nothing. little or insufficiently much about a given subject matter may wish to take it upon themselves to attempt to solve, modify or simply experiment with a given problem. That is their privilege and for the sake of civil discussion there are implicit rules when rightly discounting or critiquing one's ideas.

That one concedes lacking the requisite knowledge, yet is condescended upon by another by assuming one's level of ignorance or skill despite your expectations of this forum is what may lead some to think that you are being "mean" (tantamount to tripping one who is lame, that is, unless one is intentionally being a pest, whereby a general consensus may be informally met). One need not have to explain this to one who knows more/better. This is not an invitation to any flame war. I only mention this as I suspect that it may be more a general sentiment.
Forgive me for trying to impose or expect some minimal standards of
scholarship. Part of the problem with education in the U.S. is that teachers
do not demand excellence or diligence from students.

I do demand diligence. I expect that students should be willing to put
in the necessary background study and preparation before discussing
a subject. (esp. a technical one such as mathematics)
R.D. Silverman is offline   Reply With Quote
Old 2011-04-30, 16:23   #24
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

72·131 Posts
Default

You may demand diligence if you want, but the atmosphere in this forum is such that you're unlikely to get it - much more likely to get rewarding results in that direction at Terence Tao or Tim Gowers' forums, http://polymathprojects.org/ or even MathOverflow. And the style in which you demand it isn't one whereby you're likely to get it.

Continuing in an ornery fashion to demand things - even praiseworthy things - which you haven't got the last eighteen times rapidly shades into incivility.

Last fiddled with by fivemack on 2011-04-30 at 16:25
fivemack is offline   Reply With Quote
Old 2011-04-30, 20:02   #25
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

170148 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Forgive me for trying to impose or expect some minimal standards of scholarship. Part of the problem with education in the U.S. is that teachers do not demand excellence or diligence from students.
(* sigh *) Once again:

This is not one of your classrooms, Mr. Silverman. Your imposition and/or expectation of minimal standards is inappropriate here.
cheesehead is offline   Reply With Quote
Old 2011-04-30, 21:07   #26
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

135338 Posts
Default

Quote:
Originally Posted by cheesehead View Post
This is not one of your classrooms
FWIW I think he's in industry, not academia.
CRGreathouse is offline   Reply With Quote
Old 2011-05-01, 05:10   #27
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22·3·641 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
FWIW I think he's in industry, not academia.
1) He used the terms "standards of scholarship", "education", "teachers" and "students".

2) I was once an instructor in the Training Department of a computer vendor. I worked in a "classroom", in addition to my personal cubicle elsewhere. :-)

Last fiddled with by cheesehead on 2011-05-01 at 05:12
cheesehead is offline   Reply With Quote
Old 2011-05-01, 16:23   #28
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

135338 Posts
Default

No disagreement, just bringing up a potentially relevant point.
CRGreathouse is offline   Reply With Quote
Old 2011-05-02, 18:16   #29
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Quote:
Originally Posted by cheesehead View Post
2) I was once an instructor in the Training Department of a computer vendor. I worked in a "classroom", in addition to my personal cubicle elsewhere. :-)
However, that terminology might have been biased: all the other instructors were former school teachers.
cheesehead is offline   Reply With Quote
Old 2011-06-04, 09:53   #30
Maybeso
 
Maybeso's Avatar
 
Aug 2002
Portland, OR USA

4228 Posts
Default

To get back to the question ... here's a very non-technical description of another consequence of fiddling with r.

Yes, reducing the minimum required r will reduce how may values of a you think you have to try. But it also reduces the width of your coefficient vector.

AKS calculates the nth row of Pascals triangle, but wraps the n terms into r terms with the modulo. This would be okay if, for n = p*q, only term p and term q were non-zero modulo n. But every p-th term = k*q, and every q-th term = j*p. And in a crude sense you're stacking n/r terms into each term, and with the wrong a you'll get h*p*q == 0 mod n. Yes, I know mathematically this is gibberish, probably in several ways at the same time.

I tried it with n = mersenne numbers, starting with a big r. So steps 1 and 3 are very fast. It worked perfectly on my entire test range, but as I reduced r the larger n gave false primality more often. (Related among other things to r mod p and q mod r.) So sometimes a slightly smaller r would work again, but the overall failure rate went up.
Maybeso is offline   Reply With Quote
Old 2011-06-04, 10:58   #31
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

22·5·373 Posts
Default

Quote:
Originally Posted by Maybeso View Post
To get back to the question ... here's a very non-technical description of another consequence of fiddling with r.

Yes, reducing the minimum required r will reduce how may values of a you think you have to try. But it also reduces the width of your coefficient vector.

AKS calculates the nth row of Pascals triangle, but wraps the n terms into r terms with the modulo. This would be okay if, for n = p*q, only term p and term q were non-zero modulo n. But every p-th term = k*q, and every q-th term = j*p. And in a crude sense you're stacking n/r terms into each term, and with the wrong a you'll get h*p*q == 0 mod n. Yes, I know mathematically this is gibberish, probably in several ways at the same time.
It is. So I ask: what compels you to post it? Especially since you
recognize that it is gibberish?
R.D. Silverman is offline   Reply With Quote
Old 2011-06-04, 16:43   #32
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

11110000011002 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
It is. So I ask: what compels you to post it? Especially since you recognize that it is gibberish?
Perhaps Maybeso is trying to learn something via the method of expressing what he thinks he understands (fully knowing that it's imperfect, and not pretending otherwise), then seeing what constructive corrections the more knowledgeable folks may offer.

His goal is to increase his knowledge and understanding. How did you help him do that (keeping in mind that he already knows his understanding is flawed, so telling him that contributes nothing)? Answer: naught, but you did reassert your own mathematics superiority (on the off-chance that we'd forgotten about that).

Have a nice day! :-)

- - -

How're you coming with that petition drive to add participation prerequisites to this Math subforum?

Last fiddled with by cheesehead on 2011-06-04 at 17:15
cheesehead is offline   Reply With Quote
Old 2011-06-11, 15:19   #33
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

226138 Posts
Smile

why not use a larger base of logarithm? yeah, why not?

based on the same idea:

laurv's aks algorithm to check if a number is prime:

step1: trial division of n with all numbers smaller then square root of n.
if any factor is found, output "composite"
if no factor is found, output "prime"


but wait! this algorithm is bloody slow! why take square root of n, and not take cubical root of n? why not take \sqrt{n} of a higher order?

well, because in this case maybe you will correctly find some primes having quite small factors, but eventually you will run in a number having just two factors close to \sqrt{n} (like 323=17*19, for which the cubical root is about 7) and your algorithm will say that is prime...
LaurV is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with discrete logarithm pinnn Information & Answers 43 2021-03-18 15:40
multiplication and logarithm bhelmes Math 4 2016-10-06 13:33
Discrete logarithm software Unregistered Information & Answers 39 2012-04-27 20:08
calculate logarithm base 2 of number very close 1 thehealer Other Mathematical Topics 9 2011-04-20 14:02
Base-6 speed for prime testing vs. base-2 jasong Conjectures 'R Us 36 2010-08-03 06:25

All times are UTC. The time now is 18:11.


Fri Jul 16 18:11:25 UTC 2021 up 49 days, 15:58, 1 user, load averages: 2.55, 2.20, 1.87

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.