Integer

EXPLORE THIS TOPIC IN the MathWorld Classroom

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).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.