Rational Base Descent: A Deterministic Algorithm for Factoring Structured Semiprimes
Abstract
We present a special-purpose algorithm for factoring semiprimes N = pq in which one prime factor satisfies p ≈ c\,(a/b)n for positive integers a, b, c, n with a > b and (a,b) = 1. Given the correct parameters (a, b), the algorithm isolates a factor in O(3 N) time when a/b is bounded away from 1, and the cofactor q is unconstrained beyond a mild size bound. We describe a search strategy over (a, b) using primitivity filters, give a complexity analysis showing that the method poses no threat to balanced RSA semiprimes, and provide a gmpy2-based Python implementation.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.