Integers—Wolfram Language Documentation (original) (raw)

BUILT-IN SYMBOL

Integers

Integers

represents the domain of integers, as in x∈Integers.

Details

Examples

open allclose all

Basic Examples (3)

Seven is an integer:

If is an integer, so is :

Find positive integer solutions of a Pell equation:

Scope (7)

Test domain membership of a numeric expression:

Make domain membership assumptions:

Specify the default domain over which a function should work:

Find integer roots of a high-degree polynomial:

Find a representation of an integer as a sum of seven squares:

Solve an optimization problem over the integers:

Test whether several numbers are integers:

If any number is explicitly non-integer, the result is False:

TraditionalForm formatting:

Properties & Relations (3)

Wolfram Research (1999), Integers, Wolfram Language function, https://reference.wolfram.com/language/ref/Integers.html (updated 2017).

Text

Wolfram Research (1999), Integers, Wolfram Language function, https://reference.wolfram.com/language/ref/Integers.html (updated 2017).

CMS

Wolfram Language. 1999. "Integers." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/Integers.html.

APA

Wolfram Language. (1999). Integers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Integers.html

BibTeX

@misc{reference.wolfram_2025_integers, author="Wolfram Research", title="{Integers}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/Integers.html}", note=[Accessed: 14-June-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_integers, organization={Wolfram Research}, title={Integers}, year={2017}, url={https://reference.wolfram.com/language/ref/Integers.html}, note=[Accessed: 14-June-2025 ]}