Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Education > Math Undergrad > JSH: Whooda thu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 23 Topic 4909 of 5601
Post > Topic >>

JSH: Whooda thunk it

by rossum <rossum48@[EMAIL PROTECTED] > Mar 11, 2008 at 11:19 PM

As I have done previously, I tested James' latest factoring method, as
per his March 5th blog entry, on 500 random composite odd numbers that
are multiples of two different primes, each in the range 500 to 1000.
The results are compared to Fermat's method, trial factorisation (both
forward and reverse) and random picking.

  Fermat average =      6.96 probes.
  JSH average =         1.11 probes.
  Probe ratio =         1 : 0.160
  Trial average =       120.15 probes.
  Reverse average =     11.43 probes.
  Random average =      757.46 probes.
  500 trials, 0 misfactors found. 

  Average alphas tried per factorisation: 5.184

This is much better than usual James, your current method filters out
unlikely values before calculating the GCD (counted as "probes"), it
is good at focusing in on the likely possibilities.

Three points.  Firstly I think there is a typo in your March 5th blog
entry, at one point you talk about "f_1 - p must be less than f_1",
but later you say "p - f_1 is smaller than it [= f_1]".  I have gone
with the second version since the first version just says that p is
positive.

Secondly, since I do not know what f_1 is I just started p at the cube
root of nT and worked downwards.  This is probably OK for RSA style
numbers, but will not work in general.  For a more general method you
would probably have to start p low and work upwards just to be sure
that p < f_1 as required.

Thirdly, you say that k is incremented from k_0 by steps of abs(2ap).
When I tried this about 300 out of 500 trials resulted in a misfactor.
I changed the loop to step through all possible values of k between
k_0 and the maximum you state, k_0 + abs(2ap) * k_0 / 2p.  With this
change there were no misfactors.  You may want to revisit this part of
your work.

I will now do some work on absolute, rather than relative, timings.

Good work James, much better than your usual results.

rossum
 




 23 Posts in Topic:
JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-11 23:19:29 
Re: JSH: Whooda thunk it
Randy Poe <poespam-tra  2008-03-11 17:00:43 
Re: JSH: Whooda thunk it
marcus_b <marcus_bruck  2008-03-11 17:14:09 
Re: JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-12 13:30:11 
Re: JSH: Whooda thunk it
JSH <jstevh@[EMAIL PRO  2008-03-12 07:19:34 
Re: JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-12 17:52:04 
Re: JSH: Whooda thunk it
marcus_b <marcus_bruck  2008-03-12 12:16:40 
Re: JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-12 20:19:31 
Re: JSH: Whooda thunk it
JSH <jstevh@[EMAIL PRO  2008-03-12 16:40:58 
Re: JSH: Whooda thunk it
JSH <jstevh@[EMAIL PRO  2008-03-12 21:10:08 
Re: JSH: Whooda thunk it
"Mike Coel" <  2008-03-15 22:30:40 
Re: JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-12 01:01:38 
Re: JSH: Whooda thunk it
JSH <jstevh@[EMAIL PRO  2008-03-11 18:15:30 
Re: JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-12 21:13:15 
Re: JSH: Whooda thunk it
junoexpress <MTBrennem  2008-03-13 01:13:03 
Re: JSH: Whooda thunk it
JSH <jstevh@[EMAIL PRO  2008-03-13 07:12:53 
Re: JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-15 10:03:16 
Re: JSH: Whooda thunk it
JSH <jstevh@[EMAIL PRO  2008-03-15 11:10:53 
Re: JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-15 23:17:13 
Re: JSH: Whooda thunk it
rossum <rossum48@[EMAI  2008-03-16 16:53:48 
Re: JSH: Whooda thunk it
David Bernier <david25  2008-03-15 18:21:36 
Re: JSH: Whooda thunk it
JSH <jstevh@[EMAIL PRO  2008-03-15 19:48:08 
Re: JSH: Whooda thunk it
JSH <jstevh@[EMAIL PRO  2008-03-16 11:17:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 18:53:29 CST 2008.