Re: JSH: What's happening now?



....

[Proginoskes, to JSH]
> One more random note about your SF Theorem, as posted in your Google
> Group "Surrogate Factoring":

>> solving for y gives
>>
>> y = (M^2 - Ax)/x^2
>>
>> and solving for z using
>> [...]
>> and I can just solve to get
>>
>> y = (Ax - M^2)/x^2

> I suspect one of them is a typo.

How hostile of you.

> BTW, the closest that the SF Theorem can get to an algorithm is one
> where you're given M, then choose j, k_1, and f_1, to get a single
> factor (b_2) of M, which may or may not be an integer. (The values of
> T, Ax, Az, f_2, b_1, b_2, and k_2 are forced once the choices for M, j,
> k_1, and f_1 are made.)

Whew -- you've sure got more patience than I have! Can you pick one of the
two expressions for `y` above such that the rest of the algebra actually
looks right?

> Since k_1 and f_1 may need to be rational in order for b_2 to be an
> integer, this means you have to pick FIVE integers (j, the numerator
> and denominator of k_1, and the numerator and denominator of f_1) for
> each factoring attempt. This seems inefficient, because the "naive"
> algorithm picks ONE integer between 1 and M for each factoring attempt.

Ya, except that for a large two-prime product M=pq, where p is within a
small factor of q, picking an int at random between 1 and M has a negligible
chance of finding a non-trivial factor; while James keeps saying that his
"theorem" has a 50% chance of finding a non-trivial factor.

There's no justification for that I've seen. Nora Baron guessed that James
thinks "OK, there are only 4 factors-- 1, p, q, and M --and half of those
are non-trivial, so the odds are 1 in 2 of working". I guessed instead
(although it's related) that he managed to confuse himself twice over with:

[JSH]
...
but if M has two prime factors p_1 and p_2 there are two
cases out of that infinity for two factors that are rational:

f_1 = a/b, f_2 = (b p_1 p_2)/a

or

f__1 = (a p_1)/b, f_2 = (b p_2)/a

where a and b are non-zero integers coprime to p_1 p_2.

Confusion #1: "there are only two cases" (you explicitly showed that those
two forms don't cover all the possibilities).

Confusion #2: "there are only two cases, and case #2 finds a non-trivial
factor, so 1 out of 2 cases works, and 'the math' is equally likely to find
either: 50%". Of course that argument is wrong -- but I'm not sure he's
actually making it.

If he had "a reason" for saying 50% other than those, I missed it -- each
time I've seen the claim, it's pulled out of thin air, with no visible
support of any kind; e.g.,

[JSH]
It's like, mathematically, it's a moot point, which indicates that
it will factor in a way that appears to be truly random, giving you
non-trivial factors about 50% of the time.

> Of course, it depends on how you pick your integers; it just seems
> wasteful.

That's my guess as to why he won't test it -- some part of him has to
suspect it's going to do no better than picking gcd candidates at random. I
should note that most previous algorithms in this family did worse than
that: when you specify an algorithm for marching thru all the
possibilities, it's not really random, and since there's no actual useful
connection here between "rational factors" and integer factors, a
poor-quality pseudo-random sequence is likely to do worse than picking
candidates at random (a high-quality random sequence will eventually find a
factor; a poor-quality sequence can systematically miss all multiples of p
and q).


.



Relevant Pages

  • Re: Chex Wat: Pi is "random" and "not predictable"?
    ... their output sequence. ... The fact is that an algorithm can also be used to ... first was about the probability of finding an apparent match. ... They may be matched within e at an infinite ...
    (talk.origins)
  • Re: an true information theory
    ... > outputs, and figures out that the algorithm must be A1, there ... > there is an infinite number of stages n such that P's guess at ... > sequence of algorithms, strike off every algorithm that appears ... I've read that quantum computing may improve tractability but ...
    (sci.math)
  • Re: best approach to generate random number in java
    ... > to the same initial state, it will produce the same sequence. ... There is a difference between the determinism of an algorithm and the ... > quest to locate the algorithm, using, say, a future quantum computer ... generate all possible binary strings of length 100. ...
    (comp.lang.java.programmer)
  • Re: Q: Algorithm M vs. P of Knuths book
    ... >> another sequence in such a manner that the relationship ... probabilities depends on the size of the array. ... >> to the region of the array), I am not yet sure that Algorithm ... >> venture to say that for most practical situations the ...
    (sci.crypt)
  • Re: Recursion problem - Graph theory - Algorithm needed
    ... )> I pose a question here concerning what I think is a classic computer ... but I don't know of an algorithm for solving it. ... here are 15 square tiles arranged in a 4x4 grid, ...
    (comp.programming)