galois.is_composite

galois.is_composite(n: int) bool

Determines if \(n\) is composite.

Parameters
n: int

An integer.

Returns

True if the integer \(n\) is composite.

Examples

In [1]: galois.is_composite(13)
Out[1]: False

In [2]: galois.is_composite(15)
Out[2]: True

Last update: Apr 21, 2022