numtheory(deprecated)/issqrfree - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : numtheory(deprecated)/issqrfree

numtheory(deprecated)

  

issqrfree

  

test if integer is square free

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

issqrfree(n)

Parameters

n

-

integer

Description

• 

Important: The numtheory package has been deprecated.  Use the superseding command NumberTheory[IsSquareFree] instead.

• 

The function issqrfree(n) returns true if n is square free, and false otherwise. The integer n is square free if it is not divisible by a perfect square.

• 

The command with(numtheory,issqrfree) allows the use of the abbreviated form of this command.

Examples

Important: The numtheory package has been deprecated.  Use the superseding command NumberTheory[IsSquareFree] instead.

> 

with⁡numtheory:

> 

ifactor⁡20

22⁢5

(1)
> 

issqrfree⁡20

false

(2)
> 

ifactor⁡21

3⁢7

(3)
> 

issqrfree⁡21

true

(4)

See Also

ifactor

NumberTheory[IsSquareFree]