test if integer is square free - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : Number Theory : numtheory/issqrfree

numtheory[issqrfree] - test if integer is square free

Calling Sequence

issqrfree(n)

Parameters

n

-

integer

Description

• 

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

withnumtheory:

ifactor20

225

(1)

issqrfree20

false

(2)

ifactor21

37

(3)

issqrfree21

true

(4)

See Also

ifactor


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam