Misplaced Pages

Square-free integer

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Erdős squarefree conjecture) Number without repeated prime factors
10 is square-free, as its divisors greater than 1 are 2, 5, and 10, none of which is square (the first few squares being 1, 4, 9, and 16)
Square-free integers up to 120 remain after eliminating multiples of squares of primes up to √120

In mathematics, a square-free integer (or squarefree integer) is an integer which is divisible by no square number other than 1. That is, its prime factorization has exactly one factor for each prime that appears in it. For example, 10 = 2 ⋅ 5 is square-free, but 18 = 2 ⋅ 3 ⋅ 3 is not, because 18 is divisible by 9 = 3. The smallest positive square-free numbers are

1, 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 17, 19, 21, 22, 23, 26, 29, 30, 31, 33, 34, 35, 37, 38, 39, ... (sequence A005117 in the OEIS)

Square-free factorization

Every positive integer n {\displaystyle n} can be factored in a unique way as n = i = 1 k q i i , {\displaystyle n=\prod _{i=1}^{k}q_{i}^{i},} where the q i {\displaystyle q_{i}} different from one are square-free integers that are pairwise coprime. This is called the square-free factorization of n.

To construct the square-free factorization, let n = j = 1 h p j e j {\displaystyle n=\prod _{j=1}^{h}p_{j}^{e_{j}}} be the prime factorization of n {\displaystyle n} , where the p j {\displaystyle p_{j}} are distinct prime numbers. Then the factors of the square-free factorization are defined as q i = j : e j = i p j . {\displaystyle q_{i}=\prod _{j:e_{j}=i}p_{j}.}

An integer is square-free if and only if q i = 1 {\displaystyle q_{i}=1} for all i > 1 {\displaystyle i>1} . An integer greater than one is the k {\displaystyle k} th power of another integer if and only if k {\displaystyle k} is a divisor of all i {\displaystyle i} such that q i 1. {\displaystyle q_{i}\neq 1.}

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 for computing a square-free factorization computes also the prime factorization. This is a notable difference with the case of polynomials 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 i = 1 k q i {\displaystyle \textstyle \prod _{i=1}^{k}q_{i}} with notation of the preceding section. An integer is square-free if and only if it is equal to its radical.

Every positive integer n {\displaystyle n} can be represented in a unique way as the product of a powerful number (that is an integer such that is divisible by the square of every prime factor) and a square-free integer, which are coprime. In this factorization, the square-free factor is q 1 , {\displaystyle q_{1},} and the powerful number is i = 2 k q i i . {\displaystyle \textstyle \prod _{i=2}^{k}q_{i}^{i}.}

The square-free part of n {\displaystyle n} is q 1 , {\displaystyle q_{1},} which is the largest square-free divisor k {\displaystyle k} of n {\displaystyle n} that is coprime with n / k {\displaystyle n/k} . The square-free part of an integer may be smaller than the largest square-free divisor, which is i = 1 k q i . {\displaystyle \textstyle \prod _{i=1}^{k}q_{i}.}

Any arbitrary positive integer n {\displaystyle n} can be represented in a unique way as the product of a square and a square-free integer: n = m 2 k {\displaystyle n=m^{2}k} In this factorization, m {\displaystyle m} is the largest divisor of n {\displaystyle n} such that m 2 {\displaystyle m^{2}} is a divisor of n {\displaystyle n} .

In summary, there are three square-free factors that are naturally associated to every integer: the square-free part, the above factor k {\displaystyle k} , and the largest square-free factor. Each is a factor of the next one. All are easily deduced from the prime factorization or the square-free factorization: if n = i = 1 h p i e i = i = 1 k q i i {\displaystyle n=\prod _{i=1}^{h}p_{i}^{e_{i}}=\prod _{i=1}^{k}q_{i}^{i}} are the prime factorization and the square-free factorization of n {\displaystyle n} , where p 1 , , p h {\displaystyle p_{1},\ldots ,p_{h}} are distinct prime numbers, then the square-free part is e i = 1 p i = q 1 , {\displaystyle \prod _{e_{i}=1}p_{i}=q_{1},} The square-free factor such the quotient is a square is e i  odd p i = i  odd q i , {\displaystyle \prod _{e_{i}{\text{ odd}}}p_{i}=\prod _{i{\text{ odd}}}q_{i},} and the largest square-free factor is i = 1 h p i = i = 1 k q i . {\displaystyle \prod _{i=1}^{h}p_{i}=\prod _{i=1}^{k}q_{i}.}

For example, if n = 75600 = 2 4 3 3 5 2 7 , {\displaystyle n=75600=2^{4}\cdot 3^{3}\cdot 5^{2}\cdot 7,} one has q 1 = 7 , q 2 = 5 , q 3 = 3 , q 4 = 2. {\displaystyle q_{1}=7,\;q_{2}=5,\;q_{3}=3,\;q_{4}=2.} The square-free part is 7, the square-free factor such that the quotient is a square is 3 ⋅ 7 = 21, and the largest square-free factor is 2 ⋅ 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 known polynomial-time 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. 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 of the polynomial and its formal derivative).

Equivalent characterizations

A positive integer n {\displaystyle n} is square-free if and only if in the prime factorization of n {\displaystyle n} , no prime factor occurs with an exponent larger than one. Another way of stating the same is that for every prime factor p {\displaystyle p} of n {\displaystyle n} , the prime p {\displaystyle p} does not evenly divide  n / p {\displaystyle n/p} . Also n {\displaystyle n} is square-free if and only if in every factorization n = a b {\displaystyle n=ab} , the factors a {\displaystyle a} and b {\displaystyle b} are coprime. An immediate result of this definition is that all prime numbers are square-free.

A positive integer n {\displaystyle n} is square-free if and only if all abelian groups of order n {\displaystyle n} are isomorphic, which is the case if and only if any such group is cyclic. This follows from the classification of finitely generated abelian groups.

A integer n {\displaystyle n} is square-free if and only if the factor ring Z / n Z {\displaystyle \mathbb {Z} /n\mathbb {Z} } (see modular arithmetic) is a product of fields. This follows from the Chinese remainder theorem and the fact that a ring of the form Z / k Z {\displaystyle \mathbb {Z} /k\mathbb {Z} } is a field if and only if k {\displaystyle k} is prime.

For every positive integer n {\displaystyle n} , the set of all positive divisors of n {\displaystyle n} becomes a partially ordered set if we use divisibility as the order relation. This partially ordered set is always a distributive lattice. It is a Boolean algebra if and only if n {\displaystyle n} is square-free.

A positive integer n {\displaystyle n} is square-free if and only if μ ( n ) 0 {\displaystyle \mu (n)\neq 0} , where μ {\displaystyle \mu } denotes the Möbius function.

Dirichlet series

The absolute value of the Möbius function is the indicator function for the square-free integers – that is, |μ(n)| is equal to 1 if n is square-free, and 0 if it is not. The Dirichlet series of this indicator function is

n = 1 | μ ( n ) | n s = ζ ( s ) ζ ( 2 s ) , {\displaystyle \sum _{n=1}^{\infty }{\frac {|\mu (n)|}{n^{s}}}={\frac {\zeta (s)}{\zeta (2s)}},}

where ζ(s) is the Riemann zeta function. This follows from the Euler product

ζ ( s ) ζ ( 2 s ) = p ( 1 p 2 s ) ( 1 p s ) = p ( 1 + p s ) , {\displaystyle {\frac {\zeta (s)}{\zeta (2s)}}=\prod _{p}{\frac {(1-p^{-2s})}{(1-p^{-s})}}=\prod _{p}(1+p^{-s}),}

where the products are taken over the prime numbers.

Distribution

Let Q(x) denote the number of square-free integers between 1 and x (OEISA013928 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), we obtain the approximation:

Q ( x ) x p   prime ( 1 1 p 2 ) = x p   prime 1 ( 1 1 p 2 ) 1 = x p   prime 1 1 + 1 p 2 + 1 p 4 + = x k = 1 1 k 2 = x ζ ( 2 ) = 6 x π 2 . {\displaystyle {\begin{aligned}Q(x)&\approx x\prod _{p\ {\text{prime}}}\left(1-{\frac {1}{p^{2}}}\right)=x\prod _{p\ {\text{prime}}}{\frac {1}{(1-{\frac {1}{p^{2}}})^{-1}}}\\&=x\prod _{p\ {\text{prime}}}{\frac {1}{1+{\frac {1}{p^{2}}}+{\frac {1}{p^{4}}}+\cdots }}={\frac {x}{\sum _{k=1}^{\infty }{\frac {1}{k^{2}}}}}={\frac {x}{\zeta (2)}}={\frac {6x}{\pi ^{2}}}.\end{aligned}}}

This argument can be made rigorous for getting the estimate (using big O notation)

Q ( x ) = 6 x π 2 + O ( x ) . {\displaystyle Q(x)={\frac {6x}{\pi ^{2}}}+O\left({\sqrt {x}}\right).}

Sketch of a proof: the above characterization gives

Q ( x ) = n x d 2 n μ ( d ) = d x μ ( d ) n x , d 2 n 1 = d x μ ( d ) x d 2 ; {\displaystyle Q(x)=\sum _{n\leq x}\sum _{d^{2}\mid n}\mu (d)=\sum _{d\leq x}\mu (d)\sum _{n\leq x,d^{2}\mid n}1=\sum _{d\leq x}\mu (d)\left\lfloor {\frac {x}{d^{2}}}\right\rfloor ;}

observing that the last summand is zero for d > x {\displaystyle d>{\sqrt {x}}} , it results that

Q ( x ) = d x μ ( d ) x d 2 = d x x μ ( d ) d 2 + O ( d x 1 ) = x d x μ ( d ) d 2 + O ( x ) = x d μ ( d ) d 2 + O ( x d > x 1 d 2 + x ) = x ζ ( 2 ) + O ( x ) . {\displaystyle {\begin{aligned}Q(x)&=\sum _{d\leq {\sqrt {x}}}\mu (d)\left\lfloor {\frac {x}{d^{2}}}\right\rfloor =\sum _{d\leq {\sqrt {x}}}{\frac {x\mu (d)}{d^{2}}}+O\left(\sum _{d\leq {\sqrt {x}}}1\right)=x\sum _{d\leq {\sqrt {x}}}{\frac {\mu (d)}{d^{2}}}+O({\sqrt {x}})\\&=x\sum _{d}{\frac {\mu (d)}{d^{2}}}+O\left(x\sum _{d>{\sqrt {x}}}{\frac {1}{d^{2}}}+{\sqrt {x}}\right)={\frac {x}{\zeta (2)}}+O({\sqrt {x}}).\end{aligned}}}

By exploiting the largest known zero-free region of the Riemann zeta function Arnold Walfisz improved the approximation to

Q ( x ) = 6 x π 2 + O ( x 1 / 2 exp ( c ( log x ) 3 / 5 ( log log x ) 1 / 5 ) ) , {\displaystyle Q(x)={\frac {6x}{\pi ^{2}}}+O\left(x^{1/2}\exp \left(-c{\frac {(\log x)^{3/5}}{(\log \log x)^{1/5}}}\right)\right),}

for some positive constant c.

Under the Riemann hypothesis, the error term can be reduced to

Q ( x ) = x ζ ( 2 ) + O ( x 17 / 54 + ε ) = 6 π 2 x + O ( x 17 / 54 + ε ) . {\displaystyle Q(x)={\frac {x}{\zeta (2)}}+O\left(x^{17/54+\varepsilon }\right)={\frac {6}{\pi ^{2}}}x+O\left(x^{17/54+\varepsilon }\right).}

In 2015 the error term was further reduced (assuming also Riemann hypothesis) to

Q ( x ) = 6 π 2 x + O ( x 11 / 35 + ε ) . {\displaystyle Q(x)={\frac {6}{\pi ^{2}}}x+O\left(x^{11/35+\varepsilon }\right).}

The asymptotic/natural density of square-free numbers is therefore

lim x Q ( x ) x = 6 π 2 0.6079 {\displaystyle \lim _{x\to \infty }{\frac {Q(x)}{x}}={\frac {6}{\pi ^{2}}}\approx 0.6079}

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

Q ( x , n ) = x k = 1 1 k n + O ( x n ) = x ζ ( n ) + O ( x n ) . {\displaystyle Q(x,n)={\frac {x}{\sum _{k=1}^{\infty }{\frac {1}{k^{n}}}}}+O\left({\sqrt{x}}\right)={\frac {x}{\zeta (n)}}+O\left({\sqrt{x}}\right).}

Since a multiple of 4 must have a square factor 4=2, it cannot occur that four consecutive integers are all square-free. On the other hand, there exist infinitely many integers n 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 large n, half of all positive integers minus finitely many must be non-square-free and therefore

Q ( x ) x 2 + C {\displaystyle Q(x)\leq {\frac {x}{2}}+C} for some constant C,

contrary to the above asymptotic estimate for Q ( x ) {\displaystyle Q(x)} .

There exist sequences of consecutive non-square-free integers of arbitrary length. Indeed, if n satisfies a simultaneous congruence

n i ( mod p i 2 ) ( i = 1 , 2 , , l ) {\displaystyle n\equiv -i{\pmod {p_{i}^{2}}}\qquad (i=1,2,\ldots ,l)}

for distinct primes p 1 , p 2 , , p l {\displaystyle p_{1},p_{2},\ldots ,p_{l}} , then each n + i {\displaystyle n+i} is divisible by pi . On the other hand, the above-mentioned estimate Q ( x ) = 6 x / π 2 + O ( x ) {\displaystyle Q(x)=6x/\pi ^{2}+O\left({\sqrt {x}}\right)} implies that, for some constant c, there always exists a square-free integer between x and x + c x {\displaystyle x+c{\sqrt {x}}} for positive x. Moreover, an elementary argument allows us to replace x + c x {\displaystyle x+c{\sqrt {x}}} by x + c x 1 / 5 log x . {\displaystyle x+cx^{1/5}\log x.} The ABC conjecture would allow x + x o ( 1 ) {\displaystyle x+x^{o(1)}} .

Table of Q(x), ⁠6/π⁠x, and R(x)

The table shows how Q ( x ) {\displaystyle Q(x)} and 6 π 2 x {\displaystyle {\frac {6}{\pi ^{2}}}x} (with the latter rounded to one decimal place) compare at powers of 10.

R ( x ) = Q ( x ) 6 π 2 x {\displaystyle R(x)=Q(x)-{\frac {6}{\pi ^{2}}}x} , also denoted as Δ ( x ) {\displaystyle \Delta (x)} .

x {\displaystyle x} Q ( x ) {\displaystyle Q(x)} 6 π 2 x {\displaystyle {\frac {6}{\pi ^{2}}}x} R ( x ) {\displaystyle R(x)}
10 7 6.1 0.9
10 61 60.8 0.2
10 608 607.9 0.1
10 6,083 6,079.3 3.7
10 60,794 60,792.7 1.3
10 607,926 607,927.1 - 1.3
10 6,079,291 6,079,271.0 20.0
10 60,792,694 60,792,710.2 - 16.2
10 607,927,124 607,927,101.9 22.1
10 6,079,270,942 6,079,271,018.5 - 76.5
10 60,792,710,280 60,792,710,185.4 94.6
10 607,927,102,274 607,927,101,854.0 420.0
10 6,079,271,018,294 6,079,271,018,540.3 - 246.3
10 60,792,710,185,947 60,792,710,185,402.7 544.3
10 607,927,101,854,103 607,927,101,854,027.0 76.0

R ( x ) {\displaystyle R(x)} changes its sign infinitely often as x {\displaystyle x} tends to infinity.

The absolute value of R ( x ) {\displaystyle R(x)} is astonishingly small compared with x {\displaystyle x} .

Encoding as binary numbers

If we represent a square-free number as the infinite product

n = 0 ( p n + 1 ) a n , a n { 0 , 1 } ,  and  p n  is the  n th prime , {\displaystyle \prod _{n=0}^{\infty }(p_{n+1})^{a_{n}},a_{n}\in \lbrace 0,1\rbrace ,{\text{ and }}p_{n}{\text{ is the }}n{\text{th prime}},}

then we may take those a n {\displaystyle a_{n}} and use them as bits in a binary number with the encoding

n = 0 a n 2 n . {\displaystyle \sum _{n=0}^{\infty }{a_{n}}\cdot 2^{n}.}

The square-free number 42 has factorization 2 × 3 × 7, or as an infinite product 2 · 3 · 5 · 7 · 11 · 13 ··· 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 2 · 3 · 5 · 7 · 11 · 13 = 3 × 7 × 13 = 273.

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.)

Erdős squarefree conjecture

The central binomial coefficient

( 2 n n ) {\displaystyle {2n \choose n}}

is never squarefree for n > 4. This was proven in 1985 for all sufficiently large integers by András Sárközy, and for all integers > 4 in 1996 by Olivier Ramaré and Andrew Granville.

Squarefree core

Let us call "t-free" a positive integer that has no t-th power in its divisors. In particular, the 2-free integers are the square-free integers.

The multiplicative function c o r e t ( n ) {\displaystyle \mathrm {core} _{t}(n)} maps every positive integer n to the quotient of n by its largest divisor that is a t-th power. That is,

c o r e t ( p e ) = p e mod t . {\displaystyle \mathrm {core} _{t}(p^{e})=p^{e{\bmod {t}}}.}

The integer c o r e t ( n ) {\displaystyle \mathrm {core} _{t}(n)} is t-free, and every t-free integer is mapped to itself by the function c o r e t . {\displaystyle \mathrm {core} _{t}.}

The Dirichlet generating function of the sequence ( c o r e t ( n ) ) n N {\displaystyle \left(\mathrm {core} _{t}(n)\right)_{n\in \mathbb {N} }} is

n 1 c o r e t ( n ) n s = ζ ( t s ) ζ ( s 1 ) ζ ( t s t ) {\displaystyle \sum _{n\geq 1}{\frac {\mathrm {core} _{t}(n)}{n^{s}}}={\frac {\zeta (ts)\zeta (s-1)}{\zeta (ts-t)}}} .

See also OEISA007913 (t=2), OEISA050985 (t=3) and OEISA053165 (t=4).

Notes

  1. Adleman, Leonard M.; McCurley, Kevin S. (1994). "Open problems in number theoretic complexity, II". In Adleman, Leonard M.; Huang, Ming-Deh A. (eds.). Algorithmic Number Theory, First International Symposium, ANTS-I, Ithaca, NY, USA, May 6–9, 1994, Proceedings. Lecture Notes in Computer Science. Vol. 877. Springer. pp. 291–322. doi:10.1007/3-540-58691-1_70. ISBN 978-3-540-58691-3.
  2. Agrawal, Manindra; Kayal, Neeraj; Saxena, Nitin (1 September 2004). "PRIMES is in P" (PDF). Annals of Mathematics. 160 (2): 781–793. doi:10.4007/annals.2004.160.781. ISSN 0003-486X. MR 2123939. Zbl 1071.11070.
  3. Richards, Chelsea (2009). Algorithms for factoring square-free polynomials over finite fields (PDF) (Master's thesis). Canada: Simon Fraser University.
  4. Walfisz, A. (1963). Weylsche Exponentialsummen in der neueren Zahlentheorie. Berlin: VEB Deutscher Verlag der Wissenschaften.
  5. Jia, Chao Hua. "The distribution of square-free numbers", Science in China Series A: Mathematics 36:2 (1993), pp. 154–169. Cited in Pappalardi 2003, A Survey on k-freeness; also see Kaneenika Sinha, "Average orders of certain arithmetical functions", Journal of the Ramanujan Mathematical Society 21:3 (2006), pp. 267–277.
  6. Liu, H.-Q. (2016). "On the distribution of squarefree numbers". Journal of Number Theory. 159: 202–222. doi:10.1016/j.jnt.2015.07.013.
  7. Linfoot, E. H.; Evelyn, C. J. A. (1929). "On a Problem in the Additive Theory of Numbers". Mathematische Zeitschrift. 30: 443–448. doi:10.1007/BF01187781. S2CID 120604049.
  8. Parent, D. P. (1984). Exercises in Number Theory. Problem Books in Mathematics. Springer-Verlag New York. doi:10.1007/978-1-4757-5194-9. ISBN 978-1-4757-5194-9.
  9. Filaseta, Michael; Trifonov, Ognian (1992). "On gaps between squarefree numbers. II". Journal of the London Mathematical Society. Second Series. 45 (2): 215–221. doi:10.1112/jlms/s2-45.2.215. MR 1171549.
  10. Andrew, Granville (1998). "ABC allows us to count squarefrees". Int. Math. Res. Not. 1998 (19): 991–1009. doi:10.1155/S1073792898000592.
  11. Minoru, Tanaka (1979). "Experiments concerning the distribution of squarefree numbers". Proceedings of the Japan Academy, Series A, Mathematical Sciences. 55 (3). doi:10.3792/pjaa.55.101. S2CID 121862978.
  12. Sárközy, A. (1985). "On divisors of binomial coefficients. I". Journal of Number Theory. 20 (1): 70–80. doi:10.1016/0022-314X(85)90017-4. MR 0777971.
  13. Ramaré, Olivier; Granville, Andrew (1996). "Explicit bounds on exponential sums and the scarcity of squarefree binomial coefficients". Mathematika. 43 (1): 73–107. doi:10.1112/S0025579300011608.

References

Divisibility-based sets of integers
Overview Divisibility of 60
Factorization forms
Constrained divisor sums
With many divisors
Aliquot sequence-related
Base-dependent
Other sets

Categories: