represents the domain of integers, as in x∈Integers.
- x∈Integers evaluates immediately only if x is a numeric quantity.
- Simplify[expr∈Integers] can be used to try to determine whether an expression is an integer.
- IntegerQ[expr] tests only whether expr is manifestly an integer (i.e. has head Integer).
- Integers is output in StandardForm or TraditionalForm as . This typeset form can be input using ints.
Examplesopen allclose all
Introduced in 1999
(4.0)| Updated in 2017