Blog · Opinion · 30 November 2026

RSA-2048, explained with two primes and a staircase

Our video on what could break RSA-2048 starts with a puzzle you can do in your head. Here is the same explanation in writing, with a source for every number.

We made a short video, What could break RSA 2048, after the rumour that an AI lab had broken it went round again [1]. Vlad wrote up what breaks if RSA-2048 breaks, and this post is the step before that. What RSA-2048 is, and the three things people mean when they say it might fall.

Two primes and a puzzle

Two prime numbers multiply to 221. Which two? It's 13 and 17. Once you have the answer you can check it in your head, and finding the pair in the first place takes more work.

RSA uses the same idea with much bigger numbers. In RSA-2048 the number a company publishes is 617 digits long [2]. Anyone can use that public key to check the company's digital signature. If you could work backwards and find the two secret primes, you could rebuild the private key and sign a message that looks like it came from the company. That's why a break matters more for signatures than for privacy, which Vlad's post goes through in detail [1].

Why a proof about primes doesn't hand you the factors

So when Claude helped a mathematician prove something about prime numbers, it was reasonable to wonder what it meant for RSA.

Put a dot at every prime on a number line, and by 100 you've passed 25 of them. Now draw the count as a staircase that steps up once at every prime, so it's 25 steps high by 100. The smooth curve that estimates it, the logarithmic integral, puts you at about 30, five too high [3]. The Riemann hypothesis says how far that gap can grow as you keep counting [4]. Even knowing exactly how many primes come before 221, you'd still have to work out which two were multiplied to make it.

On 20 November 2026 Levent Alpöge posted a proof of the Generalized Riemann Hypothesis that he'd found with Claude [5]. It's written in Lean, a language in which software checks that every step follows from the ones before it. Independent checkers accepted it, and on 25 November another team released a rewrite about 76,000 lines long, against about 17 million in the original, which is easier for mathematicians to study [6]. It's a proof about how the primes are spread out, and it doesn't tell you the two primes behind anyone's key.

How close ordinary computers are

Claude has also helped factor a number directly. Stephen Weis used it to run an existing method on up to 2,048 graphics processors and factor RSA-896, an 896-bit challenge number, on 19 September 2026 [7]. Getting from there to 2,048 bits needs about 35 billion times the work under the usual scaling, about a trillion GPU-years at his rate [7]. A faster method for ordinary computers would change that picture, and nobody has shown one.

Why a quantum computer is different

A quantum computer is the other route. A qubit, short for quantum bit, is its basic unit of information. An ordinary bit is a zero or a one, and a qubit can hold a combination of both until you measure it, when you get one answer. What makes it useful is what happens before the measurement. Think of two waves meeting. Two crests build each other up, and a crest meeting a trough flattens out, and a quantum algorithm uses that to make the right answer stand out.

Shor's algorithm looks for a pattern that repeats, a bit like hearing a tune on a loop and working out where it starts again. Once you know the length of the repeat, ordinary maths can usually give you the factors. Peter Shor's paper solves a second problem the same way, the discrete logarithm [8], and the elliptic-curve keys that browsers use to agree on a secret with a website rest on a version of that problem. So a quantum computer big enough for RSA would reach further than a shortcut for factoring alone [1].

Real qubits make errors, so a machine needs many extra ones to keep the sum on track. In 2019 Craig Gidney and Martin Ekerå estimated that 20 million noisy qubits could factor a 2048-bit RSA number in 8 hours [9]. In May 2025 Gidney estimated that a smaller design could do it with fewer than a million, given up to a week [10].

617digits in an RSA-2048 number
896 bitsthe biggest RSA challenge number factored in public, with Claude
35 billiontimes the work RSA-2048 needs compared with RSA-896
under 1 millionnoisy qubits Gidney estimates would factor RSA-2048 in under a week
RSA-2048 and what it would take, from [2], [7], [9] and [10].

How to check a claim that it's broken

Those are estimates for machines that would still have to be built. If someone says they've already factored an RSA-2048 number, go back to 221. Ask for the two primes, because anyone can multiply them and check, and RSA-2048 itself is published with a $200,000 prize that was never claimed before the challenge ended [2].

References

Sources read on 30 November 2026.

  1. [1]Vlad Cealicu, Anchor Terminal, What breaks if RSA-2048 breaks, 29 November 2026. Source for the rumour going round again, signatures being forged while TLS 1.3 traffic stays private, and a quantum computer reaching elliptic curves where a classical break wouldn't. anchorterminal.com
  2. [2]Wikipedia, RSA numbers, RSA-2048. Source for RSA-2048 having 617 decimal digits and the largest prize, $200,000, and the challenge ending in 2007. en.wikipedia.org
  3. [3]Wikipedia, Prime-counting function, the table of π(x), x/log x and li(x). Source for 25 primes up to 100 and li(100) being 5 more than that. en.wikipedia.org
  4. [4]Wikipedia, Riemann hypothesis. Source for the hypothesis bounding how far the count of primes strays from its estimate. en.wikipedia.org
  5. [5]Levent Alpöge, four-page note, 20 November 2026. Source for the proof of the Generalized Riemann Hypothesis found with Claude and written in Lean. alpo.ge
  6. [6]Michael Rubinstein, University of Waterloo, Alpöge/Claude proof of the Generalized Riemann Hypothesis, page as of 27 November 2026. Source for the original proof's about 17 million lines, Luke Sernau's rewrite of 25 November in about 76,000 lines, and the checkers accepting it. math.uwaterloo.ca
  7. [7]PostQuantum.com, RSA-896 Factored With Claude, 16 Days After RSA-260, September 2026. Source for Stephen Weis factoring RSA-896 on 19 September 2026 on up to 2,048 GPUs, the biggest RSA challenge number factored in public, the 35 billion times the work and the trillion GPU-years. postquantum.com
  8. [8]Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, arXiv quant-ph/9508027, 1995. Source for the algorithm covering both factoring and discrete logarithms. arxiv.org
  9. [9]Craig Gidney and Martin Ekerå, How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits, arXiv 1905.09749, 23 May 2019. Source for the 2019 estimate. arxiv.org
  10. [10]Craig Gidney, How to factor 2048 bit RSA integers with less than a million noisy qubits, arXiv 2505.15917, 21 May 2025. Source for the estimate of under a million noisy qubits and under a week. arxiv.org

Your experience matters

Used a tool in the Terminal?

Tell people and their agents what worked and what didn't. Write a review of a tool you've used and confirm it by email or wallet.