Skip to content

Square-Free Integer

An integer not divisible by any perfect square greater than one, equivalently one whose prime factorization contains no repeated prime factor.

Version
v2 · 2026-11-14 · History
Domain-specific #
12222
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Number Theory → Mathematics

Core Idea

A square-free integer is divisible by no perfect square greater than one. Equivalently, its prime factorization contains no repeated prime: each exponent is zero or one. Thus a product of distinct primes is square-free, while an integer such as 18 is not because 3² divides it even though 18 is not itself a square. The property supports a unique square-free factorization of every positive integer into pairwise coprime square-free exponent layers. The property supports a unique square-free factorization of every positive integer into pairwise coprime square-free exponent layers.

How would you explain it like I'm…

No Repeat Primes

Every number can be made by multiplying special building-block numbers called primes. A square-free number never uses the same prime twice. 10 is 2 × 5, so it's square-free. 18 is 2 × 3 × 3, using 3 twice, so it's not.

Numbers With No Repeat Primes

Every whole number can be made by multiplying prime numbers, like 18 = 2 × 3 × 3. A square-free integer is one where no prime is used twice. So 6 = 2 × 3 and 30 = 2 × 3 × 5 are square-free, but 18 is not, because 3 appears twice. Another way to say it: no perfect square bigger than 1, like 4, 9, or 25, divides it evenly. A number doesn't have to be a perfect square itself to fail; 18 isn't a square, but 9 divides it.

Integers Free of Square Divisors

A square-free integer is one divisible by no perfect square greater than 1; equivalently, in its prime factorization every prime appears at most once (exponent 0 or 1). So any product of distinct primes is square-free, while 18 = 2·3² is not, even though 18 is not itself a square. Every positive integer can be uniquely written as a product of square-free pieces associated with different exponents. The Möbius function μ(n) is nonzero exactly when n is square-free. The proportion of positive integers that are square-free approaches 6/π², about 61%. Conventions for 1, negative numbers and zero should be stated explicitly.

 

A square-free integer is divisible by no perfect square greater than one; equivalently, every prime appears in its factorization with exponent at most one, so a product of distinct primes is square-free while 18 is not, since 3^2 divides it. Every positive integer has a unique square-free factorization into pairwise coprime square-free layers indexed by exponent. The Möbius function mu(n) is nonzero exactly when positive n is square-free. Square-free positive integers have asymptotic density 6/pi^2. For nonzero integers, sign does not affect prime exponents, but conventions for 1, negative numbers and especially 0 should be stated explicitly in context.

Scope of Application

Use square-free integer with integer domain and sign convention, prime factorization or divisibility proof, any computational bound, and distinction from nonsquare or cubefree stated. Use square-free integer with integer domain and sign convention, prime factorization or divisibility proof, any computational bound, and distinction from nonsquare or cubefree stated.

  • Number theory. Studies divisibility.
  • Arithmetic functions. Uses the Möbius function.
  • Factorization algorithms. Removes repeated prime powers.
  • Diophantine equations. Controls repeated factors.
  • Analytic number theory. Counts square-free values.

Clarity

The local exponent rule becomes a global divisibility property. It can be checked through factorization, gcd conditions, Möbius evaluation, or sieving depending on available information. The closest near miss sets the boundary: A nonsquare integer is closest: it is not itself a perfect square, but it may still contain a square factor, as 18 is divisible by 9.

Manages Complexity

Nonsquare and square-free differ sharply: the first excludes one global shape, while the second excludes every embedded nontrivial square divisor. The central factorization definition–efficient recognition tradeoff is this: Prime exponents are exact but full factorization can be costly. A second shared adjective–domain shift tension matters because Square-free extends to polynomials and ideals with changed factor notions.

Abstract Reasoning

Use three linked moves: fix integer conventions for sign, one, and zero; factor the absolute value or test prime-square divisibility; check every prime exponent is at most one. As a collapse test, the case exits as soon as one prime has exponent two or greater in the integer's factorization. A fourth check is to use Möbius or radical identities when justified.

Knowledge Transfer

Multiplicity-free factorization transfers to polynomials and ideals, but integer prime divisibility delimits this object. The nearest stopping boundary is explicit: A nonsquare integer is closest: it is not itself a perfect square, but it may still contain a square factor, as 18 is divisible by 9. The inclusion test remains: An integer is square-free when no prime square divides it, equivalently all prime exponents in its factorization are at most one. The structure no longer applies when the case exits as soon as one prime has exponent two or greater in the integer's factorization. No canonical parent prime is currently asserted; broader structural comparisons remain related-prime analogies until separately adjudicated in the DAG. It supplies the canonical test.

Neighborhood in Abstraction Space

Square-Free Integer sits in a crowded region of the domain-specific corpus (39th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Number-Theoretic Properties & Tests (22 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14