In arithmetic and algebra, the cube of a number n is its third power — the result of multiplying it by itself three times:
This is also the volume formula for a geometric cube with sides of length n, giving rise to the name. The inverse operation of finding a number whose cube is n is called extracting the cube root of n. It determines the side of the cube of a given volume. It is also n raised to the onethird power.
A perfect cube (also called a cube number, or sometimes just a cube) is a number which is the cube of an integer.
The sequence of nonnegative perfect cubes starts (sequence A000578 in OEIS):
Geometrically speaking, a positive number m is a perfect cube if and only if one can arrange m solid unit cubes into a larger, solid cube. For example, 27 small cubes can be arranged into one larger one with the appearance of a Rubik's Cube, since 3 × 3 × 3 = 27.
The pattern between every perfect cube from negative infinity to positive infinity is as follows,
n^{3} = (n − 1)^{3} + (3n − 3)n + 1.
Contents 
There is no smallest perfect cube, since negative integers are included. For example, (−4) × (−4) × (−4) = −64. For any n, (−n)^{3} = −(n^{3}).
Unlike perfect squares, perfect cubes do not have a small number of possibilities for the last two digits. Except for cubes divisible by 5, where only 25, 75 and 00 can be the last two digits, any pair of digits with the last digit odd can be a perfect cube. With even cubes, there is considerable restriction, for only 00, o2, e4, o6 and e8 can be the last two digits of a perfect cube (where o stands for any odd digit and e for any even digit). Some cube numbers are also square numbers, for example 64 is a square number (8 × 8) and a cube number (4 × 4 × 4); this happens if and only if the number is a perfect sixth power.
It is, however, easy to show that most numbers are not perfect cubes because all perfect cubes must have digital root 1, 8 or 9. Moreover, the digital root of any number's cube can be determined by the remainder the number gives when divided by 3:
Every positive integer can be written as the sum of nine (or fewer) positive cubes. This upper limit of nine cubes cannot be reduced because, for example, 23 cannot be written as the sum of fewer than nine positive cubes:
The equation x^{3} + y^{3} = z^{3} has no nontrivial (i.e. xyz ≠ 0) solutions in integers. In fact, it has none in Eisenstein integers.^{[1]}
Both of these statements are also true for the equation^{[2]} x^{3} + y^{3} = 3z^{3}.
Every rational number is the sum of three positive rational cubes,^{[3]} and there are rationals that are not the sum of two rational cubes.^{[4]}
The sum of the first n perfect cubes is the n^{th} triangle number squared:
For example, the sum of the first five perfect cubes, 1^{3} + 2^{3} + 3^{3} + 4^{3} + 5^{3}, is equal to the 5th triangular number squared, namely 15^{2} which is 225.
Determination of the Cube of large numbers was very common in many ancient civilizations. Aryabhatta, the ancient Indian mathematician in his famous work Aryabhatiya explains about the mathematical meaning of cube (Aryabhatiya, 23), as "the continuous product of three equals as also the (rectangular) solid having 12 equal edges are called cube". Similar definitions can be seen in ancient texts such as Brahmasphuta Siddhanta (XVIII. 42) , Ganitha sara sangraha (II. 43) and Siddhanta sekhara (XIII. 4). It is interesting that in modern mathematics too, the term "Cube" stands for two mathematical meanings just like in Sanskrit , where the word Ghhana means a factor of power with the number, multiplied by itself three times and also a cubical structure.
