TOPICS
Search

Integer


One of the numbers ..., -2, -1, 0, 1, 2, .... The set of integers forms a ring that is denoted Z. A given integer n may be negative (n in Z^-), nonnegative (n in Z^*), zero (n=0), or positive (n in Z^+=N). The set of integers is, not surprisingly, called Integers in the Wolfram Language, and a number x can be tested to see if it is a member of the integers using the command Element[x, Integers]. The command IntegerQ[x] returns True if x has function head Integer in the Wolfram Language.

Numbers that are integers are sometimes described as "integral" (instead of integer-valued), but this practice may lead to unnecessary confusions with the integrals of integral calculus.

The ring Z of integers has cardinal number of aleph0. The generating function for the nonnegative integers is

 f(x)=x/((1-x)^2)=x+2x^2+3x^3+4x^4+....

There are several symbols used to perform operations having to do with conversion between real numbers and integers. The symbol |_x_| ("floor x") means "the largest integer not greater than x," i.e., int(x) in computer parlance. The symbol [x] means "the nearest integer to x" (nearest integer function), i.e., nint(x) in computer parlance. The symbol [x] ("ceiling x") means "the smallest integer not smaller than x," or -int(-x), where int(x) is the integer part of x.

The German mathematician and logician Kronecker vociferously opposed the work of Georg Cantor on infinite sets and summarized his view that arithmetic and analysis should be based on whole numbers only by saying, "God made the natural numbers; all else is the work of man" (Bell 1986, p. 477).


See also

Algebraic Integer, Almost Integer, Complex Number, Counting Number, Cyclotomic Integer, Eisenstein Integer, Fractional Part, Gaussian Integer, Integer Part, N, Natural Number, Negative Integer, Nonnegative Integer, Nonpositive Integer, Positive Integer, Radical Integer, Real Number, Whole Number, Z, Z--, Z-+, Z-*, Zero Explore this topic in the MathWorld classroom

Explore with Wolfram|Alpha

References

Bell, E. T. Men of Mathematics. New York: Simon and Schuster, 1986.Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, p. 1168, 2002.

Referenced on Wolfram|Alpha

Integer

Cite this as:

Weisstein, Eric W. "Integer." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/Integer.html

Subject classifications