Squarefreeness
Squarefree numbers are positive integers that are not divisible by the square of any prime. More precisely, a positive integer n is squarefree if in its prime factorization n = p1^e1 p2^e2 ... pr^er every ei is either 0 or 1; equivalently, no prime p satisfies p^2 | n. By convention, 1 is squarefree, while 0 is typically not considered squarefree.
Examples and non-examples illustrate the idea. Squarefree numbers include 1, 2, 3, 5, 6, 10, 14, 15,
Squarefreeness has several important properties. The Möbius function μ(n) encodes squarefreeness: μ(n) = 0 if n has
Testing and computation follow from these characterizations. To check squarefreeness, factor n and verify that all
Applications and related concepts include Möbius inversion, discriminants in algebra, and various counting problems in analytic