Cube (algebra) 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, 2, 4, 6 and 8 can be the last two digits of a perfect cube (where stands for any odd digit and for any even digit). Some cube numbers are also square numbers; for example, 64 is a square number and a cube number . This happens if and only if the number is a perfect sixth power (in this case 2). The last digits of each 3rd power are: It is,
Square root of 5 one, when traversing the cube "surface" (the shortest distance when traversing through the "inside" of the cube corresponds to the length of the cube diagonal, which is the square root of three times the edge). The number can be algebraically and geometrically related to and , as it is the length of the hypotenuse of a right triangle with catheti measuring and (again, the Pythagorean theorem proves this). Right triangles of such proportions can be found inside a cube: the sides of any triangle defined by the centre point of a cube, one of its vertices, and the middle point