
In
mathematics, a square-free integer (or squarefree integer) is an
integer
An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
which is
divisible
In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a multiple of m. An integer n is divisible or evenly divisible by ...
by no
square number
In mathematics, a square number or perfect square is an integer that is the square of an integer; in other words, it is the product of some integer with itself. For example, 9 is a square number, since it equals and can be written as .
The u ...
other than 1. That is, its
prime factorization
In number theory, integer factorization is the decomposition of a composite number into a product of smaller integers. If these factors are further restricted to prime numbers, the process is called prime factorization.
When the numbers are s ...
has exactly one factor for each prime that appears in it. For example, is square-free, but is not, because 18 is divisible by . The smallest positive square-free numbers are
Square-free factorization
Every positive integer
can be factored in a unique way as
where the
different from one are square-free integers that are
pairwise coprime
In mathematics, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equival ...
.
This is called the ''square-free factorization'' of .
To construct the square-free factorization, let
be the
prime factorization
In number theory, integer factorization is the decomposition of a composite number into a product of smaller integers. If these factors are further restricted to prime numbers, the process is called prime factorization.
When the numbers are s ...
of
, where the
are distinct
prime number
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only way ...
s. Then the factors of the square-free factorization are defined as
An integer is square-free if and only if
for all
. An integer greater than one is the
th power of another integer if and only if
is a divisor of all
such that
The use of the square-free factorization of integers is limited by the fact that its computation is as difficult as the computation of the prime factorization. More precisely every known
algorithm
In mathematics and computer science, an algorithm () is a finite sequence of rigorous instructions, typically used to solve a class of specific problems or to perform a computation. Algorithms are used as specifications for performing ...
for computing a square-free factorization computes also the prime factorization. This is a notable difference with the case of
polynomial
In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An ex ...
s for which the same definitions can be given, but, in this case, the
square-free factorization is not only easier to compute than the complete factorization, but it is the first step of all standard factorization algorithms.
Square-free factors of integers
The
radical of an integer is its largest square-free factor, that is
with notation of the preceding section. An integer is square-free
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false.
The connective is bi ...
it is equal to its radical.
Every positive integer
can be represented in a unique way as the product of a
powerful number
A powerful number is a positive integer ''m'' such that for every prime number ''p'' dividing ''m'', ''p''2 also divides ''m''. Equivalently, a powerful number is the product of a square and a cube, that is, a number ''m'' of the form ''m'' = ''a ...
(that is an integer such that is divisible by the square of every prime factor) and a square-free integer, which are
coprime
In mathematics, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equival ...
. In this factorization, the square-free factor is
and the powerful number is
The ''square-free part'' of
is
which is the largest square-free divisor
of
that is coprime with
. The square-free part of an integer may be smaller than the largest square-free divisor, which is
Any arbitrary positive integer
can be represented in a unique way as the product of a
square
In Euclidean geometry, a square is a regular quadrilateral, which means that it has four equal sides and four equal angles (90-degree angles, π/2 radian angles, or right angles). It can also be defined as a rectangle with two equal-length a ...
and a square-free integer:
In this factorization,
is the largest divisor of
such that
is a divisor of
.
In summary, there are three square-free factors that are naturally associated to every integer: the square-free part, the above factor
, and the largest square-free factor. Each is a factor of the next one. All are easily deduced from the
prime factorization
In number theory, integer factorization is the decomposition of a composite number into a product of smaller integers. If these factors are further restricted to prime numbers, the process is called prime factorization.
When the numbers are s ...
or the square-free factorization: if
are the prime factorization and the square-free factorization of
, where
are distinct prime numbers, then the square-free part is
The square-free factor such the quotient is a square is
and the largest square-free factor is
For example, if
one has
The square-free part is , the square-free factor such that the quotient is a square is , and the largest square-free factor is .
No algorithm is known for computing any of these square-free factors which is faster than computing the complete prime factorization. In particular, there is no known
polynomial-time
In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by t ...
algorithm for computing the square-free part of an integer, or even for
determining whether an integer is square-free. In contrast, polynomial-time algorithms are known for
primality testing
A primality test is an algorithm for determining whether an input number is prime. Among other fields of mathematics, it is used for cryptography. Unlike integer factorization, primality tests do not generally give prime factors, only stating wheth ...
. This is a major difference between the arithmetic of the integers, and the arithmetic of the
univariate polynomials, as polynomial-time algorithms are known for
square-free factorization of polynomials (in short, the largest square-free factor of a polynomial is its quotient by the
greatest common divisor
In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' i ...
of the polynomial and its
formal derivative
In mathematics, the formal derivative is an operation on elements of a polynomial ring or a ring of formal power series that mimics the form of the derivative from calculus. Though they appear similar, the algebraic advantage of a formal deriva ...
).
Equivalent characterizations
A positive integer
is square-free if and only if in the
prime factorization
In number theory, integer factorization is the decomposition of a composite number into a product of smaller integers. If these factors are further restricted to prime numbers, the process is called prime factorization.
When the numbers are s ...
of
, no prime factor occurs with an exponent larger than one. Another way of stating the same is that for every prime
factor
Factor, a Latin word meaning "who/which acts", may refer to:
Commerce
* Factor (agent), a person who acts for, notably a mercantile and colonial agent
* Factor (Scotland), a person or firm managing a Scottish estate
* Factors of production, ...
of
, the prime
does not evenly divide
. Also
is square-free if and only if in every factorization
, the factors
and
are
coprime
In mathematics, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equival ...
. An immediate result of this definition is that all prime numbers are square-free.
A positive integer
is square-free if and only if all
abelian group
In mathematics, an abelian group, also called a commutative group, is a group in which the result of applying the group operation to two group elements does not depend on the order in which they are written. That is, the group operation is com ...
s of
order are
isomorphic, which is the case if and only if any such group is
cyclic. This follows from the classification of
finitely generated abelian group
In abstract algebra, an abelian group (G,+) is called finitely generated if there exist finitely many elements x_1,\dots,x_s in G such that every x in G can be written in the form x = n_1x_1 + n_2x_2 + \cdots + n_sx_s for some integers n_1,\dots, n ...
s.
A integer
is square-free if and only if the
factor ring
In ring theory, a branch of abstract algebra, a quotient ring, also known as factor ring, difference ring or residue class ring, is a construction quite similar to the quotient group in group theory and to the quotient space in linear algebra. I ...
(see
modular arithmetic
In mathematics, modular arithmetic is a system of arithmetic for integers, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to modular arithmetic was developed by Carl Friedrich Gauss in his bo ...
) is a
product
Product may refer to:
Business
* Product (business), an item that serves as a solution to a specific consumer problem.
* Product (project management), a deliverable or set of deliverables that contribute to a business solution
Mathematics
* Prod ...
of
fields. This follows from the
Chinese remainder theorem
In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer ''n'' by several integers, then one can determine uniquely the remainder of the division of ''n'' by the product of the ...
and the fact that a ring of the form
is a field if and only if
is prime.
For every positive integer
, the set of all positive divisors of
becomes a
partially ordered set
In mathematics, especially order theory, a partially ordered set (also poset) formalizes and generalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a set. A poset consists of a set together with a binar ...
if we use
divisibility
In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a multiple of m. An integer n is divisible or evenly divisible by ...
as the order relation. This partially ordered set is always a
distributive lattice
In mathematics, a distributive lattice is a lattice in which the operations of join and meet distribute over each other. The prototypical examples of such structures are collections of sets for which the lattice operations can be given by set ...
. It is a
Boolean algebra
In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variables are the truth values ''true'' and ''false'', usually denoted 1 and 0, whereas ...
if and only if
is square-free.
A positive integer
is square-free
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false.
The connective is bi ...
, where
denotes the
Möbius function
The Möbius function is a multiplicative function in number theory introduced by the German mathematician August Ferdinand Möbius (also transliterated ''Moebius'') in 1832. It is ubiquitous in elementary and analytic number theory and most of ...
.
Dirichlet series
The absolute value of the Möbius function is the
indicator function
In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if is a subset of some set , one has \mathbf_(x)=1 if x ...
for the square-free integers – that is, is equal to 1 if is square-free, and 0 if it is not. The
Dirichlet series
In mathematics, a Dirichlet series is any series of the form
\sum_^\infty \frac,
where ''s'' is complex, and a_n is a complex sequence. It is a special case of general Dirichlet series.
Dirichlet series play a variety of important roles in analyti ...
of this indicator function is
:
where is the
Riemann zeta function. This follows from the
Euler product In number theory, an Euler product is an expansion of a Dirichlet series into an infinite product indexed by prime numbers. The original such product was given for the sum of all positive integers raised to a certain power as proven by Leonhar ...
:
where the products are taken over the prime numbers.
Distribution
Let ''Q''(''x'') denote the number of square-free integers between 1 and ''x'' ( shifting index by 1). For large ''n'', 3/4 of the positive integers less than ''n'' are not divisible by 4, 8/9 of these numbers are not divisible by 9, and so on. Because these ratios satisfy the
multiplicative property (this follows from
Chinese remainder theorem
In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer ''n'' by several integers, then one can determine uniquely the remainder of the division of ''n'' by the product of the ...
), we obtain the approximation:
:
This argument can be made rigorous for getting the estimate (using
big O notation)
:
''Sketch of a proof:'' the above characterization gives
:
observing that the last summand is zero for
, it results that
:
By exploiting the largest known zero-free region of the Riemann zeta function
Arnold Walfisz improved the approximation to
:
for some positive constant .
Under the
Riemann hypothesis
In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part . Many consider it to be the most important unsolved problem in pu ...
, the error term can be reduced to
:
Recently (2015) the error term has been further reduced to
:
The asymptotic/
natural density In number theory, natural density (also referred to as asymptotic density or arithmetic density) is one method to measure how "large" a subset of the set of natural numbers is. It relies chiefly on the probability of encountering members of the ...
of square-free numbers is therefore
:
Therefore over 3/5 of the integers are square-free.
Likewise, if ''Q''(''x'',''n'') denotes the number of ''n''-free integers (e.g. 3-free integers being cube-free integers) between 1 and ''x'', one can show
:
Since a multiple of 4 must have a square factor 4=2
2, it cannot occur that four consecutive integers are all square-free. On the other hand, there exist infinitely many integers ''n'' for which 4''n'' +1, 4''n'' +2, 4''n'' +3 are all square-free. Otherwise, observing that 4''n'' and at least one of 4''n'' +1, 4''n'' +2, 4''n'' +3 among four could be non-square-free for sufficiently large ''n'', half of all positive integers minus finitely many must be non-square-free and therefore
:
for some constant ''C'',
contrary to the above asymptotic estimate for
.
There exist sequences of consecutive non-square-free integers of arbitrary length. Indeed, if ''n'' satisfies a simultaneous congruence
:
for distinct primes
, then each
is divisible by ''p
i ''
2. On the other hand, the above-mentioned estimate
implies that, for some constant ''c'', there always exists a square-free integer between ''x'' and
for positive ''x''. Moreover, an elementary argument allows us to replace
by
The
ABC conjecture
The ''abc'' conjecture (also known as the Oesterlé–Masser conjecture) is a conjecture in number theory that arose out of a discussion of Joseph Oesterlé and David Masser in 1985. It is stated in terms of three positive integers ''a'', ''b'' ...
would allow
.
Table of ''Q''(''x''), ''x'', and ''R''(''x'')
The table shows how
and
compare at powers of 10.
, also denoted as
.
:
changes its sign infinitely often as
tends to infinity.
The absolute value of
is astonishingly small compared with
.
Encoding as binary numbers
If we represent a square-free number as the infinite product
:
then we may take those
and use them as bits in a binary number with the encoding
:
The square-free number 42 has factorization , or as an infinite product Thus the number 42 may be encoded as the binary sequence
...001011
or 11 decimal. (The binary digits are reversed from the ordering in the infinite product.)
Since the prime factorization of every number is unique, so also is every binary encoding of the square-free integers.
The converse is also true. Since every positive integer has a unique binary representation it is possible to reverse this encoding so that they may be decoded into a unique square-free integer.
Again, for example, if we begin with the number 42, this time as simply a positive integer, we have its binary representation
101010
. This decodes to
Thus binary encoding of squarefree numbers describes a
bijection between the nonnegative integers and the set of positive squarefree integers.
(See sequences
A019565,
A048672 and
A064273 in the
OEIS
The On-Line Encyclopedia of Integer Sequences (OEIS) is an online database of integer sequences. It was created and maintained by Neil Sloane while researching at AT&T Labs. He transferred the intellectual property and hosting of the OEIS to th ...
.)
Erdős squarefree conjecture
The
central binomial coefficient
In mathematics the ''n''th central binomial coefficient is the particular binomial coefficient
: = \frac = \prod\limits_^\frac \textn \geq 0.
They are called central since they show up exactly in the middle of the even-numbered rows in Pascal ...
:
is never squarefree for ''n'' > 4. This was proven in 1985 for all sufficiently large integers by
András Sárközy
András Sárközy (born in Budapest) is a Hungarian mathematician, working in analytic and combinatorial number theory, although his first works were in the fields of geometry and classical analysis. He has the largest number of papers co-a ...
, and for all integers > 4 in 1996 by
Olivier Ramaré and
Andrew Granville.
Squarefree core
The
multiplicative function
In number theory, a multiplicative function is an arithmetic function ''f''(''n'') of a positive integer ''n'' with the property that ''f''(1) = 1 and
f(ab) = f(a)f(b) whenever ''a'' and ''b'' are coprime.
An arithmetic function ''f''(''n'') ...
is defined
to map positive integers ''n'' to ''t''-free numbers by reducing the
exponents in the prime power representation modulo ''t'':
:
The value set of
, in particular, are the
square-free integers. Their
Dirichlet generating functions are
:
.
OEIS
The On-Line Encyclopedia of Integer Sequences (OEIS) is an online database of integer sequences. It was created and maintained by Neil Sloane while researching at AT&T Labs. He transferred the intellectual property and hosting of the OEIS to th ...
representatives are (''t''=2), (''t''=3) and (''t''=4).
Notes
References
*
*
*
*
{{DEFAULTSORT:Square-Free Integer
Number theory
Integer sequences