numtheory(deprecated)/issqrfree - Maple Help

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.

withnumtheory:

ifactor20

225

(1)

issqrfree20

false

(2)

ifactor21

37

(3)

issqrfree21

true

(4)

See Also

ifactor

NumberTheory[IsSquareFree]