1. Introduction
Let
be a set of natural numbers and by
we mean
. For some
let us define the arithmetic function
as a function counting the number of square-free numbers from 1 to
n. The function
is related to the Möbius function
, which takes the values
, 0 or 1 depending on the prime factorization of
n. Namely:
The Möbius function, in turn, is related to the Riemann zeta function
, which is an analytical extension of the sum:
for any complex number
s other than 1. There is a known formula called Euler’s product that combines these two functions:
The Riemann hypothesis says that all non-trivial zeros of the
function lie on the so-called critical line, i.e. they have a real part equal to
. This is a very important theorem that has many consequences for number theory, e.g. for the distribution of prime numbers.
In
Section 2 we present some interesting observations related to square-free numbers in
. Recall that a square-free number is not divisible by the square of a prime number. Equivalently, a square-free number canonically decomposes into the product of distinct prime numbers in the first power. The mentioned observations are equivalents to known properties regarding prime numbers. In particular, we examined some properties of the
s function in 2.19 and 2.20.
In
Section 3 we discuss further properties of the
s function in terms of trying to find connections with the famous Riemann hypothesis. Additionally, we define an arithmetic function
, which counts all square numbers from 1 to a given
n. In Theorem 3.5 we find another consequence of the truth of the Riemann hypothesis and show what is the relationship of the
s function with the non-trivial zeros of the Riemann zeta function. In Theorem 3.6 we find an even better approximation of the
s function, without using the non-trivial zeros of the Riemann zeta function, assuming the truth of the Riemann hypothesis.
In
Section 4 we provide an encouraging overview of the initial theory of square-free factorizations for commutative cancellative monoids (in particular for
), which was pioneered in the papers [
4], [
3], [
6] and [
7]. Let us recall (according to [
2]) that by a commutative cancellative monoid we mean the semigroup
H satisfying the law of contraction, i.e. for any
a,
b,
there is an implication
Let us also recall that an element is called square-free if we cannot represent it in the form , where (x is invertible in H) and . An element is called radical if for any and the condition results in . The radical element is always square-free. We present different types of square-free and radical factorizations and their relationships in Proposition 4.2.
2. Some observations on square-free numbers
In this section we present some properties of square-free numbers in . Most of these statements are analogues of known theorems about prime numbers.
Let us note the following basic facts.
Lemma 2.1. Any divisor of a square-free number is a square-free number.
Lemma 2.2. If a is a square-free number and , then the numbers , , ⋯, are pairwise relatively prime.
Lemma 2.3. Let , , ⋯, be integers. If , , ⋯, are square-free and pairwise relatively prime, then is a square-free number.
Lemma 2.4. Let , , ⋯, be square-free numbers and let b be any integer. If , , ⋯, are pairwise relatively prime and each divides b, then .
In the following Proposition we try to find many equivalent definitions of a square-free number. This may not matter much from a number theory perspective, but in algebra it matters a lot more. More information can be found in [
6].
Proposition 2.5. The following conditions are equivalent:
- (a)
n is a square-free number, i.e. it is not divisible by the square of a natural number greater than 1.
- (b)
The prime factorization of n does not contain any repetitions.
- (c)
The number n cannot be written as the product of two larger natural numbers, i.e. it has no proper factors.
- (d)
The greatest common divisor of n and any square of any other natural number is 1.
- (e)
, where is the number of square-free numbers from 1 to n.
In the following proposals we present similar observations as in the case of prime numbers.
Proposition 2.6. There are no four consecutive natural numbers, each of which is square-free.
Proof. Let p be any prime number. Then is a divisor of exactly one of the numbers , , , . Therefore, at least one of these four numbers is not square-free because it has a square divisor greater than 1. However, the smallest prime number is 2 and its square is 4. So there are no four consecutive natural numbers less than 4. Therefore, there are no four consecutive natural numbers, each of which is square-free. □
Proposition 2.7. There are infinitely many triples of consecutive natural numbers, each of which is square-free.
Proof. Let p be any prime number. Then is a divisor of exactly one of the numbers , , . So at most one of these three numbers is not square-free because it has a square divisor greater than 1. This means that if there are three consecutive natural numbers, each of which is square-free, then they must be different from , , for each prime number p . However, there are infinitely many prime numbers, and therefore infinitely many such triples to exclude. Thus, there are infinitely many triples of consecutive natural numbers, each of which is square-free. □
Proposition 2.8. If , then there is always a square-free number between n and .
Proof. It follows from Bertrand’s Theorem because there is always a prime number that is square-free that is less than . Since always holds , the above statement holds. □
In the Proposition 2.8 it was enough to find a prime number. But to be more consistent, let’s find a square-free number that is not prime in the proposition 2.9.
Proposition 2.9. If , then between n and there is always a square-free number, which does not have to be prime.
Proof. Let be the prime factorization of n, where are distinct prime numbers and are positive natural numbers. Let be the product of all distinct prime factors n. Note that q is a square-free number. Suppose that q is a prime number. Then q must be one of the prime factors of n, say . But then , which means that n is divisible by , which contradicts the fact that n is a number square-free. Therefore q is not a prime number. Moreover, q lies between n and because for . □
Proposition 2.10. If is a natural number, then there exists a square-free number s such that .
Proof. Let be a natural number. Then n has a unique prime factorization, say , where are pair of distinct primes and are positive exponents.
Let . Then s is a square-free number because it has no repeated prime factors. Moreover, s is a divisor of n because every prime factor of s occurs in n.
We will show that . On the one hand, we have if and only if if and only if . This is true because each factor on the left is less than or equal to 1 (because for every i) and at least one of them is less than 1 (because ).
On the other hand, we have if and only if if and only if . This is true because each factor on the left side is less than or equal to 1 and the sum of the exponents on the right side is greater than or equal to 1. So and s is the square-free number we were looking for. □
Proposition 2.11. For every square-free number s, there are infinitely many square-free numbers r such that .
Proof. Note that the condition is equivalent to the condition that r congruent to 1 modulo s.
Let be a square-free number, where are different prime numbers. Let . Note that r is also a square-free number because it has no repeated prime factor. Indeed, suppose that r is divisible by the square of some prime number q. Then q must be one of the prime factors of s or , because has no prime factors. But then divides both s and , which contradicts the fact that s is a square-free number and that is the product of distinct primes.
Furthermore, r congruent to 1 modulo s because is divisible by s.
Therefore, we have found one square-free number r such that r congruent to 1 modulo s. But we can find infinitely many such numbers by repeating this process for any . □
The following Proposition follows immediately from Euclid’s Theorem on the infinity of the set of prime numbers. However (to be consistent) the proof will be presented by omitting Euclid’s Theorem.
Proposition 2.12. There are infinitely many square-free numbers.
Proof. Let for denote consecutive prime numbers in ascending order. Let for . Note that is a square-free number for every i because there is no repeated prime factor. Indeed, suppose that is divisible by the square of some prime number q. Then q must be one of the prime factors of or . But then divides both and , which contradicts the fact that .
Moreover, are pairwise different for different i because for . So we found an infinite sequence of square-free numbers . □
Proposition 2.13. The set of all square-free numbers is fractionally dense, i.e. the set of all fractions , where s and r are square-free numbers, is dense in the set of positive real numbers.
Proof. Assume that is an arbitrary fraction, where s and r are square-free numbers. Note that , where p and q are relatively prime integers. Let us define the set S as the set of all positive pairwise relatively prime square-free numbers. Then S is a multiplicative set, i.e. if a, , then .
Let . Then , because each element of F has the form , where s and and .
Let us define the set T as the set of all fractions , where s and r are relatively prime numbers. Then T is a subset of F and is dense in F. That is, for every and for every , there exists such that .
Using the Diophantine approximation theorem or Dirichlet’s pigeonhole lemma, it can be shown that each element of F can be approximated arbitrarily exactly by an element of T. Indeed, if , where a and b are integers and , then we can find the integers p and q that , where q is square-free. Then and for a suitably small .
Finally, we will show that if T is dense in F, then T is also dense in the set of positive real numbers. Let and let . Then there exists such that . We can assume without loss of generality that . Then there exists such that . Then we have , i.e. . So T is dense in . □
Proposition 2.14. The number of the form is not integer, where are consecutive square-free numbers for .
Proof. Note that if , , ⋯, are consecutive square-free numbers, then their least common multiple L is also a square-free number.
Let . Then is an integer because each component of the sum is divisible by L. We will show that and , which means that x cannot be an integer.
On the one hand, we have if and only if if and only if . This is true where and every is greater than 1 (except ).
On the other hand, we have if and only if if and only if . This is true with and every is less than L.
Therefore , and x is not an integer. □
Proposition 2.15. The series diverges.
Proof. Note that if is a square-free number, then for each i. Then for each i.
Let . Then is a non-decreasing sequence limited in advance by 1. Therefore converges to some number . Let . Then is a positive and decreasing sequence. Therefore, the series converges or diverges depending on whether the series of partial sums is bounded or not.
We will show that the sequence of partial sums is not bounded, which means that the series diverges. We can do this in two ways:
Using the comparison criterion, we can compare the series with the series , which we know is divergent. Since for every n (because for every n), then if the series diverges, then the series also diverges.
Using the integral criterion, we can compare the series with the indefinite integral , which we know diverges. Since the function is continuous, positive and decreasing on the interval , the series converges if and only if the integral . But we know that this integral diverges because .
Therefore the series diverges and has no limit. □
Proposition 2.16. For we have .
Proof. From [
8] we know that
. Therefore
□
Proposition 2.17. If s is a square-free number and a is an integer, then .
Proof. If s is a square-free number, it means that there is no square divisor greater than 1. Therefore, the Euler function is the product of for all primes p dividing s. It is known that . Therefore .
Assume
a and
s are relatively prime. Then from Euler’s Theorem we have:
Raising both sides to the
s power we get:
Note that
is divisible by
s because every factor
is divisible by
p. Therefore we can write
, for some integer
k. Putting into the above equation we have:
Multiplying both sides by
a we get:
However, if
a and
s are not relatively prime, it means that they have a common divisor
d greater than 1. Then we also have:
because both sides are divisible by
d. Therefore, the theorem holds for any integer
a. □
Proposition 2.18. If m is a square-free number, then for all .
Proof. We will prove using mathematical induction on
k. For
we have:
which is obvious. Now assume that the theorem holds for some
k and we will show that it also holds for
. We have:
Using the inductive assumption and Euler’s Theorem, we have:
Therefore
□
Let us denote by the number of square-free numbers smaller or equal to n.
Proposition 2.19. .
Proof. The asymptotic approximation of
is
. Therefore, the asymptotic approximation of the fraction
is
. So there we have it
□
Proposition 2.20. .
Proof. We have
where
is the asymptotic remainder that satisfies:
for some constant
C. Therefore:
and finally:
□
3. A function that counts the number of square-free numbers
In this section, we will delve into the arithmetic function s.
Let us recall that the arithmetic function counting the number of square-free numbers from 1 to
n is denoted by
s. It can be expressed as:
where
p,
q,
r are prime numbers.
Let us use the function
to denote the number of square numbers from 1 to
n, taking into account that 1 is a square number. Then the pattern occurs:
Example 3.1.
We will calculate the number of square-free numbers from 1 to 10. According to the above formulas we have:
This means that the number of square numbers is 4 because
Remark 3.2. The number 1 is both a square and a squareless number. We have the formula . It follows from the fact that every natural number is either square or non-square and that 1 is counted twice. This formula can be proven using mathematical induction.
Note that
is actually the Mertens function:
where
is a Möbius function that takes the values
, 0 or 1 depending on the prime factorization of the number
k. The Mertens function has many interesting properties and relationships with other arithmetic functions, such as the Euler function or the Riemann zeta function [
1]. One of the most important problems regarding the Mertens function is the Mertens hypothesis, which states that for every
the inequality occurs:
This hypothesis was formulated in 1897 by Franz Mertens (see [
1] for details) and was considered true for over 80 years. However, in 1985, Andrew Odlyzko and Herman te Riele proved the hypothesis false (see [
9]) using advanced computational methods. However, they did not provide any specific value of
n for which the inequality is violated. The smallest known such value is
, found in 2013 by Thomas R. Nicely.
From Proposition 2.20 we know that the limit as
n approaches infinity with
is
. This is a known result from number theory and can be proven using the Riemann zeta function (see [
8]).
However, the limit as n approaches infinity with is 1. This can be demonstrated using the fact that is equal to the number of perfect squares less than or equal to n. Therefore is equal to the frequency of perfect squares among the natural numbers 1 to n. It can be shown that this frequency tends to 1 as n increases to infinity, because the distances between successive perfect squares grow slower than n.
Proposition 3.3. .
Proof. Let us write as the power of the set . Let’s define the sequence for . We want to show that .
The sequence is non-decreasing. Indeed, for a given n, let be a perfect square. Then we have . However, if is not a perfect square, we have .
The string is bounded above by 1. Using the definition of and the property we have . So .
It is easy to show that . This can be done by showing that for every there is an index N such that . This can be achieved by choosing N such that where denotes the integer part of x.
We showed that . □
Proposition 3.4.
Proof. We will show that the number
is asymptotically equal to
, that is:
This means that:
Hence it follows that:
However, this limit is not appropriate because the value of the expression under the root may be negative for some values of
n. To avoid this problem, we can use absolute value and get:
□
Theorem 3.5.
If the Riemann hypothesis is true, then
where is the number of square-free numbers from 1 to n, and ρ denotes the non-trivial zero of the Riemann zeta function.
Proof. We can note that square-free numbers have a certain property: if n is a square-free number, then is also a square-free number for any . This is because if n does not have any square in its prime factorization, then will not have it either.
Now let’s try to count the number of square-free numbers from 1 to n. Note that each square-free number has the form , where are pairs of different prime numbers. We can therefore use the inclusion and exclusion theorem, which tells us how to count the number of elements of a set that is the sum or difference of other sets.
Let
be the set of numbers from 1 to
n divisible by the
i-th prime number
. Let
be the set of numbers from 1 to
n divisible by the square of the
i-th prime number
. Then
, i.e. the number of square-free numbers from 1 to
n, is equal to:
We can simplify this formula by using
, where
is the largest integer less than or equal to
x. Similarly,
. Furthermore, we can note that the number of prime numbers less than or equal to
x is asymptotically equal to
according to the prime number theorem. Therefore
k is asymptotically equal to
, where ln is natural logarithm. Substituting these values into the formula for
, we get:
Now we can show that
, where we sum over all non-trivial zeros of the Riemann zeta function. To do this, we will use Landau’s theorem, which tells us that:
where
M is a constant that is equal to the difference between the value of the Riemann zeta function in 1 and the value of the gamma function in 1. The Riemann zeta function is defined as:
and the gamma function as:
Landau’s theorem follows from the fact that the Riemann zeta function has the form of an Euler product:
where
p are prime numbers. Taking the natural logarithm of both sides, we get:
Now we can compare both sides of the equation for
and use the geometric series formula:
Note that the last term
implies that the sum is finite for finite
x, so we can add or subtract any small value. Now we can simplify the sum by using
:
We can simplify the sum even further by using
:
Now we can see that this limit is equal to 1, so we have:
But we know that the Riemann zeta function has a pole at zero 1 with a residual 1, so we have:
where
is a holomorphic function in neighbourhood of zero 1. Taking the limit of
s to 1, we get:
where
is the value of the gamma function at zero. So we have:
Now we can use Landau’s theorem to estimate the sum of
for
i from 1 to
k:
Now we can substitute this into the formula for
and get:
where the last equality results from the fact that
M is a constant close to
. This ends the proof. □
An even better approximation can be used for the sum over all non-trivial zeros of the Riemann zeta function. The proof uses the formula . This formula is true, but it is not very accurate because it does not take into account the fact that some zeros have a larger real part than others. It can be shown that has an even better approximation.
Theorem 3.6.
If the Riemann hypothesis is true, then
Proof. In the previous proof, we used the formula:
where
are the non-trivial zeros of the Riemann zeta function. This formula is true, but it is not very accurate because it does not take into account the fact that some zeros have a larger real part than others. It can be shown that a better approximation is:
where
is the gamma function.
This formula results from the fact that the Riemann zeta function has the form of an Euler product:
where
p are prime numbers. Taking the natural logarithm of both sides, we get:
Now we can compare both sides of the equation for
and use the geometric series formula:
Note that the last term is zero because the sum over all prime numbers converges. So we have:
Now we can use the residual theorem, which tells us that if
is a holomorphic function in
D and
C is a closed curve in
D, then:
where
a are the poles of
inside
C and
are their residuals. Let
, where
n is any natural number. Let
be a circle with radius
and center at 0. Then we have:
where
are the non-trivial zeros of the Riemann zeta function inside
. It can be shown that:
Now we can use Cauchy’s curve integration theorem, which tells us that if
is a holomorphic function in
D and
C is a closed curve in
D, then:
Rearranging this equation, we get:
Now we can substitute
into the
function and get:
Multiplying both sides by
, we get:
Now we can substitute
and get:
Now we can use Euler’s formula, which tells us that:
Taking the module from both sides, we get:
Now we can use the formula for the modulus of a complex number. So we have:
Now we can use the formula for the real and imaginary parts of the quotient of complex numbers, which tells us that:
where
,
are complex conjugates of
a and
b. So we have:
Now we can use the formula for the power of a complex number, which tells us that:
Now we can use the formula for the modulus of the sum of complex numbers, which tells us that:
Now we can use the inequality which tells us that:
Now we can use the asymptotic theorem of the Riemann zeta function, which tells us that:
Now we can use the inequality which tells us that:
Now we can see that the second term is dominant, so we have:
Now we can sum up our estimates and get:
This is a better estimate than the one that appeared in the previous proof. They can be substituted into the formula for
and get:
□
Remark 3.7.
Recall that M at the end of the proof is a constant that is equal to the difference between the value of the Riemann zeta function in 1 and the value of the gamma function in 1. The Riemann zeta function is defined as:
and the gamma function as:
It can be shown that:
where is a holomorphic function in the neighborhood of 1. Taking the limit of s to 1, we get:
where is the value of the gamma function at 0. So we have:
It can be numerically calculated that M is close to .
Since , the following theorem can be proven in a similar way:
Theorem 3.8.
If the Riemann hypothesis is true, then
Proof. We can see that square numbers have a certain property: if n is a square number, then is also a square number for any . This follows from the fact that if n has some square in its prime factorization, then will also have it.
Now let’s try to count the number of square numbers from 1 to n. Note that every square number has the form , where are pairwise distinct primes and are even natural numbers. We can therefore use the inclusion and exclusion theorem, which tells us how to count the number of elements of a set that is the sum or difference of other sets.
Let
be the set of numbers from 1 to
n divisible by the square of the
i-th prime number
. Let
be the set of numbers from 1 to
n divisible by the
i-th prime number
. Then
, i.e. the number of square numbers from 1 to
n, is equal to:
We can simplify this formula by using , where is the largest integer less than or equal to x. Similarly, . Furthermore, we can note that the number of prime numbers less than or equal to x is asymptotically equal to according to the prime number theorem. Therefore k is asymptotically equal to .
Substituting these values into the formula for
, we get:
Now we can show that
, that is, there exists a constant
C such that
for all sufficiently large
n. To do this, we will use Landau’s theorem, which tells us that:
where
M is the same constant as in the previous proofs. The Riemann zeta function is defined as:
and the gamma function as:
Landau’s theorem follows from the fact that the Riemann zeta function has the form of an Euler product:
where
p are prime numbers. Taking the natural logarithm of both sides, we get:
Now we can compare both sides of the equation for
and use the geometric series formula:
Note that the last term
implies that the sum is finite for finite
x, so we can add or subtract any small value. Now we can simplify the sum by using
:
We can simplify the sum even further by using
:
Now we can see that this limit is equal to 1, so we have:
But we know that the Riemann zeta function has a pole at 1 with a residual of 1, so we have:
where
is a holomorphic function in the 1 neighborhood. Taking the limit of
s to 1, we get:
where
is the value of the gamma function at 0. So we have:
Now we can use Landau’s theorem to estimate the sum of
for
i from 1 to
k:
Now we can substitute this into the formula for
and get:
Now we can show that
, that is, there exists a constant
C such that
for all sufficiently large
n. To do this, we will use the same approximation for the sum over all non-trivial zeros of the Riemann zeta function that we used for
:
So we have:
for some constant
C. This ends the proof. □
Remark 3.9.
It would be possible to estimate more precisely, just as we did for . To do this, one would need to use a better approximation for the sum over all non-trivial zeros of the Riemann zeta function, which is . So we have:
for some constant C. This means that the number of square numbers from 1 to n is asymptotically equal to , or about of all numbers from 1 to n.
Therefore, a more accurate formula for is: