This site is supported by donations to The OEIS Foundation.

Squarefree numbers

From OeisWiki
(Redirected from Squarefree)
Jump to navigationJump to search


This article needs more work.

Please help by expanding it!


Squarefree numbers are numbers not divisible by a square greater than 1. Alternately, they are numbers with all exponents in its prime factorization less than 2. Note that although 1 is a square, it is also squarefree. The squarefree numbers are sequence A005117, and the first few squarefree 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, 41, 42, 43, 46, 47, 51, 53, 55, 57, 58, 59, 61, 62, 65, 66, 67, ...

Characteristic function

[edit]

The characteristic function of squarefree numbers is given by

q(n)=|μ(n)|

where μ(n) is the Möbius function. When n is squarefree |μ(n)|=1 and otherwise |μ(n)|=0. The first few terms are

1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, ... (A008966)

Alternately,

q(n)1q¯(n)χ{squarefree}(n)=1sgn[Ω(n)ω(n)], n1,

sgn(n) being the sign function, or

q(n)=δnrad(n), where δij is the Kronecker delta and rad(n) is the radical or squarefree kernel of n.

Squarefree counting function

[edit]

The summatory quadratfrei function is defined as

Q(n)i=1nq(n)=i=1n|μ(n)|

The asymptotic density of squarefree numbers corresponds to the probability that 2 randomly chosen integers are coprime

limnQ(n)n=n=1(11pn2)=1ζ(2)=6π2,

where ζ(s) is the Riemann zeta function.

See also

[edit]