Is Square Free - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


NumberTheory

  

IsSquareFree

  

test whether an integer is square free

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

IsSquareFree(n)

Parameters

n

-

nonzero integer

Description

• 

The IsSquareFree command returns  if n is square free and returns  if n is not square free.

• 

An integer is said to be square free if it is not divisible by the square of another integer other than .

Examples

Any prime number is square free.

(1)

(2)

 is not square free since it is divisible by .

(3)

(4)

The Tabulate command can be used to display square-free numbers in a grid. The following table highlights all square-free numbers from 1 to 100 with a pink background.

(5)

 

Note that V(r, c) can be modified to show tables for various values of r and c.

Compatibility

• 

The NumberTheory[IsSquareFree] command was introduced in Maple 2016.

• 

For more information on Maple 2016 changes, see Updates in Maple 2016.

See Also

ifactor

isprime

NumberTheory

 


Download Help Document