

Inmathematics, asquare-free integer (orsquarefree integer) is aninteger that isdivisible by nosquare number other than 1. That is, itsprime factorization has exactly one factor for each prime that appears in it. For example,10 = 2 ⋅ 5 is square-free, but18 = 2 ⋅ 3 ⋅ 3 is not, because 18 is divisible by9 = 32. The smallest positive square-free numbers are
Every positive integer can be factored in a unique way aswhere the different from one are square-free integers that arepairwise coprime.This is called thesquare-free factorization ofn.
To construct the square-free factorization, let be theprime factorization of, where the are distinctprime numbers. 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 theth 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 knownalgorithm for computing a square-free factorization computes also the prime factorization. This is a notable difference with the case ofpolynomials for which the same definitions can be given, but, in this case, thesquare-free factorization is not only easier to compute than the complete factorization, but it is the first step of all standard factorization algorithms.
Theradical of an integer is its largest square-free factor, that is with notation of the preceding section. An integer is square-freeif and only if it is equal to its radical.
Every positive integer can be represented in a unique way as the product of apowerful number (that is an integer such that is divisible by the square of every prime factor) and a square-free integer, which arecoprime. In this factorization, the square-free factor is and the powerful number is
Thesquare-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 asquare 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 theprime factorization or the square-free factorization: ifare the prime factorization and the square-free factorization of, where are distinct prime numbers, then the square-free part isThe square-free factor such the quotient is a square isand the largest square-free factor is
For example, if one has The square-free part is7, the square-free factor such that the quotient is a square is3 ⋅ 7 = 21, and the largest square-free factor is2 ⋅ 3 ⋅ 5 ⋅ 7 = 210.
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 knownpolynomial-time algorithm for computing the square-free part of an integer, or even fordetermining whether an integer is square-free.[1] In contrast, polynomial-time algorithms are known forprimality testing.[2] This is a major difference between the arithmetic of the integers, and the arithmetic of theunivariate polynomials, as polynomial-time algorithms are known forsquare-free factorization of polynomials (in short, the largest square-free factor of a polynomial is its quotient by thegreatest common divisor of the polynomial and itsformal derivative).[3]
A positive integer is square-free if and only if in theprime factorization of, no prime factor occurs with an exponent larger than one. Another way of stating the same is that for every primefactor of, the prime does not evenly divide . Also is square-free if and only if in every factorization, the factors and arecoprime. An immediate result of this definition is that all prime numbers are square-free.
A positive integer is square-free if and only if allabelian groups oforder areisomorphic, which is the case if and only if any such group iscyclic. This follows from the classification offinitely generated abelian groups.
A integer is square-free if and only if thefactor ring (seemodular arithmetic) is aproduct offields. This follows from theChinese remainder theorem 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 apartially ordered set if we usedivisibility as the order relation. This partially ordered set is always adistributive lattice. It is aBoolean algebra if and only if is square-free.
A positive integer is square-freeif and only if, where denotes theMöbius function.
The absolute value of the Möbius function is theindicator function for the square-free integers – that is,|μ(n)| is equal to 1 ifn is square-free, and 0 if it is not. TheDirichlet series of this indicator function is
whereζ(s) is theRiemann zeta function. This follows from theEuler product
where the products are taken over the prime numbers.
LetQ(x) denote the number of square-free integers between 1 andx (OEIS: A013928 shifting index by 1). For largen, 3/4 of the positive integers less thann are not divisible by 4, 8/9 of these numbers are not divisible by 9, and so on. Because these ratios satisfy themultiplicative property (this follows fromChinese remainder theorem), we obtain the approximation:
This argument can be made rigorous for getting the estimate (usingbig O notation)
Sketch of a proof: the above characterization gives
observing that the last summand is zero for, it follows that
| 1 |
By exploiting the largest known zero-free region of the Riemann zeta functionArnold Walfisz improved the approximation to[4]
for some positive constantc.
Under theRiemann hypothesis, the error term can be reduced to[5]
In 2015 the error term was further reduced (assuming also Riemann hypothesis) to[6]
The asymptotic/natural density of square-free numbers is therefore
Therefore over 3/5 of the integers are square-free.
Likewise, ifQ(x,n) denotes the number ofn-free integers (e.g. 3-free integers being cube-free integers) between 1 andx, one can show[7]
Since a multiple of 4 must have a square factor 4=22, it cannot occur that four consecutive integers are all square-free. On the other hand, there exist infinitely many integersn for which 4n +1, 4n +2, 4n +3 are all square-free. Otherwise, observing that 4n and at least one of 4n +1, 4n +2, 4n +3 among four could be non-square-free for sufficiently largen, half of all positive integers minus finitely many must be non-square-free and therefore
contrary to the above asymptotic estimate for.
There exist sequences of consecutive non-square-free integers of arbitrary length. Indeed, for every tuple(p1, ...,pl) of distinct primes, theChinese remainder theorem guarantees the existence of ann that satisfies the simultaneous congruence
Eachn +i is then divisible byp2
i.[8] On the other hand, the above-mentioned estimate implies that, for some constantc, there always exists a square-free integer betweenx and for positivex. Moreover, an elementary argument allows us to replace by[9] Theabc conjecture would allow.[10]
The squarefree integers≤x can be identified and counted inÕ(x) time by using a modifiedSieve of Eratosthenes. If onlyQ(x) is desired, and not a list of the numbers that it counts, then (1) can be used to computeQ(x) inÕ(√x) time. The largest known value ofQ(x), forx = 1036, was computed by Jakub Pawlewicz in 2011 using an algorithm that achievesÕ(x2/5) time,[11] and an algorithm takingÕ(x1/3) time has been outlined but not implemented.[12]: §5.5
The table shows how and (with the latter rounded to one decimal place) compare at powers of 10.
, also denoted as.
| 10 | 7 | 6.1 | 0.9 |
| 102 | 61 | 60.8 | 0.2 |
| 103 | 608 | 607.9 | 0.1 |
| 104 | 6,083 | 6,079.3 | 3.7 |
| 105 | 60,794 | 60,792.7 | 1.3 |
| 106 | 607,926 | 607,927.1 | −1.3 |
| 107 | 6,079,291 | 6,079,271.0 | 20.0 |
| 108 | 60,792,694 | 60,792,710.2 | −16.2 |
| 109 | 607,927,124 | 607,927,101.9 | 22.1 |
| 1010 | 6,079,270,942 | 6,079,271,018.5 | −76.5 |
| 1011 | 60,792,710,280 | 60,792,710,185.4 | 94.6 |
| 1012 | 607,927,102,274 | 607,927,101,854.0 | 420.0 |
| 1013 | 6,079,271,018,294 | 6,079,271,018,540.3 | −246.3 |
| 1014 | 60,792,710,185,947 | 60,792,710,185,402.7 | 544.3 |
| 1015 | 607,927,101,854,103 | 607,927,101,854,027.0 | 76.0 |
changes its sign infinitely often as tends to infinity.[13]
The absolute value of is astonishingly small compared with.
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 factorization2 × 3 × 7, or as an infinite product21 · 31 · 50 · 71 · 110 · 130 ··· 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 representation101010. This decodes to20 · 31 · 50 · 71 · 110 · 131 = 3 × 7 × 13 = 273.
Thus binary encoding of squarefree numbers describes abijection between the nonnegative integers and the set of positive squarefree integers.
(See sequencesA019565,A048672 andA064273 in theOEIS.)
Thecentral binomial coefficient
is never squarefree forn > 4. This was proven in 1985 for all sufficiently large integers byAndrás Sárközy,[14] and for all integers > 4 in 1996 byOlivier Ramaré andAndrew Granville.[15]
Let us call "t-free" a positive integer that has not-th power in its divisors. In particular, the 2-free integers are the square-free integers.
Themultiplicative function maps every positive integern to the quotient ofn by its largest divisor that is at-th power. That is,
The integer ist-free, and everyt-free integer is mapped to itself by the function
TheDirichlet generating function of the sequence is
See alsoOEIS: A007913 (t=2),OEIS: A050985 (t=3) andOEIS: A053165 (t=4).
{{cite journal}}: CS1 maint: unflagged free DOI (link)