Re: How to Generator Prime Numbers in a short time ?
- From: "Chen" <forchen_lc@xxxxxxxxxxx>
- Date: 11 Aug 2006 00:12:11 -0700
Joseph Ashwood wrote:
Sorry, I guess I screwed up the capitalization. He has replied to thisI'm terribly sorry about that. It's my fault just notice the context
thread already (10 Aug 2006 6:34AM according to my newsreader), and you
replied to him (same day 8:19PM).
of the replies, but
ignore the names.
By the way , I replied to him at 11:19 am , can you guess where am I ?
Yeah but you said it only goes to a couple thousand, you should be able toNow I initialize a mucher larger table which contains 4202 primes, upto
initialize a larger table to filter more.
39989,
Is it large enough ?
A few rounds of MR should be sufficient. A simple program of mine a whileOnce I have found a probable prime I do the the first Miller-Rabin
back was finding several thousand new large primes per week, basically one
every couple minutes. Just to crushingly over do things I would recommend
that once you have found a probable prime you verify it with log(p)/2 MR
tests, but generally anything over about 10 is considered substantial
overkill.
with a base of 2, then verify it with random bases for another 2 times,
You said verify it with log(p)/2 MR tests. In my program p=1024,
log(p)/2=1.5, does that mean 2 times MR tests is enough?
.
- Follow-Ups:
- Re: How to Generator Prime Numbers in a short time ?
- From: Joseph Ashwood
- Re: How to Generator Prime Numbers in a short time ?
- References:
- How to Generator Prime Numbers in a short time ?
- From: Chen
- Re: How to Generator Prime Numbers in a short time ?
- From: Joseph Ashwood
- Re: How to Generator Prime Numbers in a short time ?
- From: Chen
- Re: How to Generator Prime Numbers in a short time ?
- From: Joseph Ashwood
- How to Generator Prime Numbers in a short time ?
- Prev by Date: Re: How to Generator Prime Numbers in a short time ?
- Next by Date: Re: How to Generator Prime Numbers in a short time ?
- Previous by thread: Re: How to Generator Prime Numbers in a short time ?
- Next by thread: Re: How to Generator Prime Numbers in a short time ?
- Index(es):
Relevant Pages
|
|