Explainer ·
What would a polynomial-time factoring result actually look like? Nonconstructive, galactic or practical
A claim that factoring is "in P", meaning it can be done in polynomial time, could mean three very different things. It could be a proof that gives no usable algorithm, an algorithm that only wins on numbers larger than anything in use, or a method that factors a 2,048-bit RSA key this year. Telling them apart decides whether anyone's keys are at risk, and theoretical results in cryptanalysis usually leave deployed key sizes alone.
As of November 29, 2026, nobody has shown a polynomial-time classical factoring algorithm or factored a 2,048-bit RSA modulus.
This is the technical companion to Is RSA-2048 broken? It explains the L-notation used to write factoring costs, the number field sieve and the public records set with it, and what Google's factoring papers of November 2026 claim. Those papers are subexponential, which means faster than exponential but slower than polynomial.
For the plain versions see Did AI just break the internet's locks?, in two minutes, and Is RSA-2048 broken? What to actually do this week, with what to check on your own devices. This page is for readers comfortable with asymptotic notation.
How factoring costs are written
Factoring costs are measured against the number of digits of N, not against N itself. The standard notation is L_N[a, c] = exp((c + o(1)) (ln N)^a (ln ln N)^(1 - a)). With a = 0 this is a power of ln N, which is polynomial in the input length. With a = 1 it is a power of N, which is exponential in the input length. Everything strictly between is subexponential. The exponent a matters most, the constant c next, and the o(1) hides lower-order terms that are large at real sizes.
| Modulus | Formula gives about | Status |
|---|---|---|
| RSA-768 (768 bits) | 2^76.5 | Factored December 2009 (Kleinjung and others) |
| RSA-250 (829 bits) | 2^79.1 | Factored February 28, 2020, about 2,700 core-years (Boudot and others) |
| RSA-260 (862 bits) | 2^80.5 | Factored September 3, 2026, by its run log; reported September 9 (Eric Lu, Cognition) |
| RSA-896 (896 bits) | 2^81.9 | Reported factored September 19, 2026 (Steve Weis) |
| 1,024 bits | 2^86.8 | No public factorization of a 1,024-bit RSA challenge number |
| 2,048 bits | 2^116.9 | No public factorization |
The formula is a heuristic and drops the o(1) term, so only differences between rows mean much. Going from 1,024 to 2,048 bits adds about 30 to the exponent, a factor of about a billion, which matches what Lu wrote in September: RSA-2048 "remains roughly a billion times harder than RSA-1024". From RSA-896 to 2,048 bits the formula adds about 35, a factor of tens of billions. NIST's key-management guidance (SP 800-57 Part 1) rates a 2,048-bit RSA key at 112 bits of security and a 3,072-bit key at 128.
The number field sieve and the records
The general number field sieve (GNFS) is the fastest known classical method for large numbers with no special form. It hunts for many pairs of numbers that are smooth, meaning they split into small primes, on two sides at once: ordinary integers, and the integers of an algebraic number field chosen through a polynomial. Linear algebra over the field with two elements then combines these relations into a congruence of squares, x^2 ≡ y^2 mod N, and gcd(x - y, N) gives a factor with good probability. Its heuristic running time is L_N[1/3, (64/9)^(1/3)], with (64/9)^(1/3) about 1.923. The word heuristic matters: the analysis assumes that the numbers met along the way behave like random numbers with respect to smoothness, which has never been proved.
Records track that formula closely. Paul Zimmermann's page of integer factoring records still lists RSA-250 as the general-purpose record, factored on February 28, 2020, by Fabrice Boudot, Pierrick Gaudry, Aurore Guillevic, Nadia Heninger, Emmanuel Thomé and Zimmermann with the open-source CADO-NFS, using about 2,700 core-years. In September 2026 two engineers at AI companies reported larger RSA challenge numbers on their own pages. Lu's post on Cognition's blog gives RSA-260 at about 4,900 GPU-days, with GPU code written largely by Cognition's agent Devin. Weis's personal page gives RSA-896, "factored with Claude", in about 30 GPU-years over ten days on up to 2,048 GPUs, after Claude ported CADO-NFS to GPUs; it says the work did not meaningfully improve the sieve's running time, does not affect deployed RSA-2048 keys, and shows that RSA-1024 keys are vulnerable to actors with data-center fleets of GPUs. I multiplied Weis's two posted 135-digit factors and they give the posted RSA-896; that checks the arithmetic, not how it was found. Status of both: reported by their authors; the posted factors check; the methods are their own accounts.
Posts on November 29 about AI factoring records up to 896 bits refer to these engineering results. They are the old algorithm on new hardware, with code an AI helped write, not a new algorithm.
The three shapes a "factoring in P" result could take
- Nonconstructive. In some areas a proof shows that a polynomial-time algorithm exists without exhibiting it. The classic case is the Robertson-Seymour graph minor theorem: every minor-closed family of graphs is characterized by a finite list of forbidden minors, so membership can be tested in polynomial time, but the theorem does not say what the list is. Factoring is different, because answers are easy to check. Leonid Levin's universal search runs every program in parallel, giving each a share of the time, and checks each output by multiplying. If any program factors in polynomial time, universal search does too, slowed by a constant that depends only on that program's length. So for factoring an existence proof automatically yields an explicit algorithm. The catch is the constant, which can be 2 raised to the length of an unknown program: explicit, polynomial and useless.
- Galactic. An explicit algorithm with polynomial running time whose exponent or constant is so large that it only wins on inputs far beyond any key in use. Theory has many of these, including the asymptotically fastest matrix multiplication algorithms, and the Agrawal-Kayal-Saxena primality test of 2002 is a well-known polynomial algorithm that loses in practice to the randomized tests everyone uses. What is a galactic algorithm? has more. A galactic factoring algorithm would be one of the great results in mathematics and would not change which keys are safe.
- Practical. An algorithm that, implemented, beats the number field sieve at 2,048 bits. Its sign would be visible before anyone needed to trust a proof: a record factorization far beyond RSA-896 with modest resources. A practical method can be demonstrated, so a serious claim of one would come with a factored challenge number.
Between "subexponential" and "polynomial" there is a lot of room. A method in L_N[1/4] would be a historic jump without being polynomial, and whether it threatened 2,048-bit keys would depend on its constant and its lower-order terms. Polynomial time is not the line that matters to defenders; concrete cost at the sizes in use is.
What Google's November 2026 papers claim
On November 25, 2026, Google Research posted six papers that it says its Cogentic agent, running on Gemini 4, wrote. Two are about factoring. "Unconditional Integer Factorization in Time L_N[1/3, O(1)]" claims a randomized algorithm that never returns a wrong answer and fully factors any N in expected time L_N[1/3, 105]. The exponent 1/3 is the sieve's; the point is the word unconditional. The sieve's L_N[1/3] has always rested on unproven smoothness assumptions, and the best proven bound until now was L_N[1/2, 1], by Hendrik Lenstra and Carl Pomerance in 1992. A second paper claims the first deterministic subexponential factoring algorithm, about exp(3 (ln N)^(3/4)) steps. A third concerns discrete logarithms in finite fields of small characteristic. Status of all of them: claimed, not yet independently verified; the repository says Lean code will be released later.
These are results about what can be proved, not about speed. With c = 105, the proven bound at 2,048 bits is about 2^6,400, more than trial division needs. Scott Aaronson wrote on his blog on November 25 that they are big theoretical results "but nothing of practical relevance for cryptography". My note on the six papers and the status tracker have both factoring rows, and the factoring page follows them day by day.
Why theoretical cryptanalysis rarely moves deployed parameters
Key sizes are chosen from concrete cost estimates with a margin, not from asymptotic classes. A result changes deployed practice only when it lowers the concrete cost at a size in use below that margin. Three precedents show the usual pattern.
- A big asymptotic result in a niche setting. In 2013 Razvan Barbulescu, Pierrick Gaudry, Antoine Joux and Emmanuel Thomé gave a quasi-polynomial algorithm for discrete logarithms in finite fields of small characteristic. It was a landmark, and it ended the use of those fields in pairing-based cryptography, but mainstream systems did not use them, so nothing widely deployed changed. Google's third paper works in the same setting.
- A certificational break. In 2011 Andrey Bogdanov, Dmitry Khovratovich and Christian Rechberger recovered full AES-128 keys in about 2^126.1 operations instead of 2^128. Their paper says this does not threaten the practical use of AES, and AES-128 is still standard.
- A dramatic claim that did not change anything. In March 2021 Claus Peter Schnorr's preprint "Fast Factoring Integers by SVP Algorithms" (IACR ePrint 2021/232) carried the sentence "This destroys the RSA cryptosystem." No factorization of an RSA challenge number came from it, and RSA key recommendations did not change. A claim of a practical break is easy to test, and that test is the one to wait for.
Lattice results deserve their own note, because the November 16 and 17 workshop at MIT behind some of this week's talk was about lattice cryptanalysis. Lattice problems underlie ML-KEM and ML-DSA, not RSA, and a result about them, theoretical or not, says nothing about factoring. It would bear on post-quantum parameter margins instead, which is one reason deployments pair ML-KEM with X25519. Lattice claims are also tested quickly: Yilei Chen's April 2024 preprint claiming a polynomial-time quantum algorithm for learning with errors carried, eight days later, his note that a bug found by Hongxun Wu and Thomas Vidick meant the claim "does not hold".
Shor's quantum algorithm, meanwhile, factors in polynomial time, and the concrete estimates for it keep falling: in May 2025 Craig Gidney of Google estimated that a 2,048-bit RSA integer could be factored in less than a week by a quantum computer with less than a million noisy qubits, down from 20 million in his 2019 estimate with Martin Ekerå. No such machine exists. That concrete trend, not any classical theorem, is why NIST plans to deprecate RSA and elliptic-curve cryptography after 2030 and disallow them after 2035.
Questions to ask of the next claim
- What is the exponent a, and is the bound proved or heuristic?
- What are the constant and the lower-order terms, and what does the bound give at 2,048 bits?
- Is there an implementation, and has it factored a public challenge number beyond the current record?
- Does it touch elliptic curves or lattices too? Factoring, the elliptic curve discrete logarithm and lattice problems are different problems (What is the discrete logarithm problem?).
- Who outside the authors has checked it, and in what sense: a referee report, a reimplementation, a Lean proof?
I use Claude, Anthropic's AI model, for my own research. I do not work for Anthropic.
Short answers
Has anyone factored RSA-2048?
No, not in public as of November 29, 2026. The largest RSA challenge numbers reported factored are RSA-260 (862 bits) and RSA-896 (896 bits), both in September 2026 with the ordinary number field sieve on GPUs.
What is the fastest known classical factoring algorithm?
The general number field sieve, with heuristic running time L_N[1/3, 1.923]. Google claimed on November 25, 2026, a proof of an L_N[1/3, 105] bound without heuristic assumptions; that is a statement about proof, not a faster algorithm in practice.
Could someone prove factoring is in P without giving an algorithm?
Not in a useful sense. Because a factorization is easy to check, Levin's universal search turns any polynomial-time factoring program, known or not, into an explicit polynomial-time algorithm. Its constant could be astronomically large, so the result could still be useless in practice.
Did AI set factoring records in 2026?
Two engineers reported RSA-260 (Eric Lu, Cognition, finished September 3, posted September 9) and RSA-896 (Steve Weis, September 19), using AI agents to write GPU code for the standard number field sieve. Both describe engineering, not a new algorithm, and both say RSA-2048 is not meaningfully affected.
What does L_N[1/3] mean?
A running time of exp((c + o(1)) (ln N)^(1/3) (ln ln N)^(2/3)): faster than any exponential in the number of digits, slower than any polynomial. Polynomial time corresponds to exponent 0.
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.