rafael01 Posted January 18, 2021 Posted January 18, 2021 is it possible to factor a large number in polynomial time using this method?
Ghideon Posted January 18, 2021 Posted January 18, 2021 (edited) 1 hour ago, rafael01 said: is it possible to factor a large number in polynomial time using this method? I do not see an explanation of the method that allows for an analysis. As far as I know there is no known method for integer factorization that runs in polynomial time on classical* computers. "Large" is also rather vague. For quantum computers refer to Shor's algorithm: https://en.wikipedia.org/wiki/Shor's_algorithm Edited January 18, 2021 by Ghideon
fiveworlds Posted January 19, 2021 Posted January 19, 2021 Quote As far as I know there is no known method for integer factorization that runs in polynomial time on classical* computers. It is possible, if we restrict ourselves to prime factorization we know that the distribution of primes is strictly increasing (if looking at the largest and second largest primes we know of the gap is fairly large). We can assume that after some point x the number of primes to test should be small enough to run in polynomial time using known algorithms. We just use a hashmap for the ones before that and we have an algorithm that has a polynomial runtime.
Sensei Posted January 19, 2021 Posted January 19, 2021 4 minutes ago, fiveworlds said: It is possible, if we restrict ourselves to prime factorization we know that the distribution of primes is strictly increasing (if looking at the largest and second largest primes we know of the gap is fairly large). We can assume that after some point x the number of primes to test should be small enough to run in polynomial time using known algorithms. We just use a hashmap for the ones before that and we have an algorithm that has a polynomial runtime. The largest known primes are Mersenne primes. You have no idea where are non-Mersenne primes prior it..
John Cuthber Posted January 20, 2021 Posted January 20, 2021 Unless rafael returns and explains his wallpaper designs, the answer is no.
Ghideon Posted January 20, 2021 Posted January 20, 2021 19 hours ago, fiveworlds said: It is possible, if we restrict ourselves to prime factorization we know that the distribution of primes is strictly increasing (if looking at the largest and second largest primes we know of the gap is fairly large). We can assume that after some point x the number of primes to test should be small enough to run in polynomial time using known algorithms. We just use a hashmap for the ones before that and we have an algorithm that has a polynomial runtime. Can you provide a reference? As far as I know the best algorithm at this time is general number field sieve and it does not run in polynomial time.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now