Abstract
In this paper, we reduce a large integer to an integer
, which has a smaller number of decimal digits than
. Then we find the greatest common divisor (gcd) of
and
to return a nontrivial factor of
.
Introduction
The branch of mathematics that deals with integers is called number theory. Integers of particular interest are natural numbers which are given by the set . The elements of this set are mainly divided into two parts: prime numbers and composite numbers. Prime numbers can only be divided by 1 and itself. They are given by the set
. On the other hand, composite numbers have more than two divisors. They are given by the set
. Normally a composite number is factored into smaller numbers
, where the factors
and
may be again composite numbers. The goal is to express every positive number greater than 1 in terms of prime numbers, which is actually the statement of the fundamental theorem of arithmetic (FTA). According to FTA, one can write
, where the prime factors
`s are not necessarily distinct. Although FTA says that prime factors are possible, it does not tell us how to obtain them. This is one of the hardest problems in mathematics and computer science to factor a large number.
See the full article here https://pajandoon.com/wp-content/uploads/2025/07/cc652-factorization.pdf
Leave a comment