iscomposite: Tests whether a given value n is composite. Essentially the...

Description Usage Arguments Value References Examples

Description

A composite number is defined as a positive integer :math:'n' that has a factor than 1 and itself. In short, a composite number is not prime.

Usage

1

Arguments

n

Value to test

Value

TRUE if n is composite, FALSE otherwise

References

Weisstein, Eric W. "Composite Number." From MathWorld–A Wolfram Web Resource. http://mathworld.wolfram.com/CompositeNumber.html

Examples

1
2

aschleg/numberr documentation built on May 14, 2019, 10:31 a.m.