On Tuesday 11 April 2006 00:22, dasimov@earthlink.net wrote:
Now I'm wondering about a sort of reverse problem: Suppose you're given two numbers solely in terms of their prime factorizations, i.e., the prime powers, in order, up to the last nonzero power: ... Now: What's the fastest way to compute the prime factorization of K + L ?
Obviously, one way is to represent K and L to some number base, add, then factor the result. Is there a faster short cut? (Or could a judicious choice of number base make a big difference?)
Suppose there is; then, given a Mysterious Large Number, we can try to factor it by finding two easily factored numbers whose sum it (or some multiple of it) is. For instance, we could try to write 2N as a sum of two primes. We famously don't know whether that's always possible, but naively and handwavily you can pick candidates at random and find one after about log N attempts. So, if you can find a way to factor K+L efficiently whenever the factorizations of K,L are known, then you have *either* an efficient way of factoring any number *or* a promising line of attack on Goldbach's conjecture. :-) If the restriction to K,L squarefree was intended as a concession rather than a limitation, then the fact that n=a^2+b^2+c^2+d^2 suffices. (Write n thus, for which I believe there are efficient algorithms; factor a,b,c,d; then factor successively a^2+b^2, a^2+b^2+c^2, n.) I suspect that someone more awake than me could find a more clear-cut demonstration that the thing can't be done, perhaps using a quantitative form of the various theorems that exist in the vicinity of Goldbach's conjecture. (For instance, it's well known that all large enough even numbers are p+q or p+qr; I think it's in fact known that they have many such representations, but I don't know how many. If there are enough, then we're probably done.) -- g