IP331.com | Online Tools
HomeNumber Theory ToolsSquare-Free Number Checker

Square-Free Number Checker

Check whether an integer is square-free

Square-Free Number Formula

n is square-free if p^2 does not divide n for every prime p
If n = p1^a1 x ... x pk^ak, all ai must equal 1

A square-free number has no repeated prime factor. Prime factorization makes the test direct: if any exponent is greater than 1, the number contains a square divisor.

This checker uses trial factorization, so extremely large values may require a more specialized factoring method.

What Is a Square-Free Number?

A square-free number is an integer with no squared prime factor. It is closely related to the Mobius function and appears often in divisor-sum identities.

No Square Divisor

No p^2 greater than 1 can divide n.

Factor Exponents

All prime exponents must be 1.

Mobius Link

Square-free numbers have nonzero Mobius values.

Common Examples

30 and 42 are square-free; 12 and 18 are not.

Example: For n = 42, the factorization is 2 x 3 x 7. No prime is repeated, so 42 is square-free.

Applications of Square-Free Numbers

Mobius Function Divisor Theory Prime Factorization Combinatorics Number Theory

Frequently Asked Questions

What is a square-free number checker?
It tests whether a positive integer is not divisible by any perfect square greater than 1.
What is the square-free formula?
A number is square-free if every prime exponent in its factorization is 0 or 1. No p^2 may divide n.
How do I use this squarefree calculator?
Enter a positive integer. The tool factors it and checks whether any prime appears with exponent greater than 1.
Is 1 square-free?
Yes. By convention, 1 is square-free because no prime square divides it.
Where are square-free numbers used?
They are used in Mobius function calculations, divisor theory, algebraic number theory, and combinatorics.

More Number Theory Tools

Free online calculators and tools covering mathematics, unit conversion, text processing, and daily life. Accurate, fast, mobile-friendly, and completely free to use.

© 2026 IP331.com — Free Online Tools. All rights reserved.

About · Contact · Privacy Policy · Cookie Policy · Terms of Use · Disclaimer · Sitemap