SquareFreeQ

SquareFreeQ[expr]

gives True if expr is a square-free polynomial or number, and False otherwise.

SquareFreeQ[expr,vars]

gives True if expr is square-free with respect to the variables vars.

Details and Options

Examples

open allclose all

Basic Examples  (2)

In[1]:=
Click for copyable input
Out[1]=

12 has a factor 4, which is a square:

In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (6)

Options  (2)

Applications  (1)

Properties & Relations  (3)

Neat Examples  (2)

See Also

FactorInteger  Factor  FactorSquareFree  PolynomialGCD  IrreduciblePolynomialQ  Discriminant  PrimeQ  PrimePowerQ  MoebiusMu  DuplicateFreeQ

Tutorials

Introduced in 2007
(6.0)