CompositeQ
returns
True
ifn
is a composite integer number.
For very large numbers, CompositeQ
uses probabilistic prime testing, so it might be wrong sometimes (i.e. a number might be non composite even though CompositeQ
says it is).
See
Examples
CompositeQ
has attribute Listable
:
Implementation status
- ✅ - full supported