What is the Perfect Cubes List Generator?
A perfect cube is any integer that equals the cube of an integer, that is a number of the form n cubed (\(n^3\)). This tool builds a table of consecutive perfect cubes: for every integer n it shows the cube notation and the integer value n times n times n. By default it lists the first 100 perfect cubes, from \(1^3 = 1\) up to \(100^3 = 1{,}000{,}000\), but you can choose any count and a custom starting integer.
How to use it
Enter how many cubes you want under "How many perfect cubes to list" (1 to 10,000). Optionally change "Start from integer" if you do not want to begin at 1. The generator produces a scrollable, printable table with three columns: the base integer n, its cube notation (such as \(7^3\)), and the computed cube value. It also reports the last cube and the total sum of every cube listed.
The formula explained
The cube of an integer is simply \(n^3 = n \times n \times n\). For a list of count C beginning at start S, the tool iterates over every integer n in the inclusive range \([S, S + C - 1]\) and computes \(n^3\) for each:
$$a_k = \left(\text{Start} + k\right)^{3}, \quad k = 0, 1, \dots, \text{Count} - 1$$Because each value is the cube of an integer by construction, every entry produced is a genuine perfect cube. This sequence (starting at 1) is catalogued as A000578 in the On-Line Encyclopedia of Integer Sequences, where \(a(n) = n^3\).
Worked example
With count = 5 and start = 1 the generator outputs:
$$1^3 = 1, \quad 2^3 = 8, \quad 3^3 = 27, \quad 4^3 = 64, \quad 5^3 = 125$$Spot checks against larger entries confirm the pattern: \(26^3 = 17{,}576\), \(51^3 = 132{,}651\), \(80^3 = 512{,}000\) and \(100^3 = 1{,}000{,}000\).
Patterns and Properties of Perfect Cubes
A perfect cube is an integer of the form \(n^3\). The list has several regular patterns, which are useful for checking the generator's output.
- Sum of the first n cubes. The total of the first \(n\) cubes is $$1^3+2^3+\dots+n^3=\left(\frac{n(n+1)}{2}\right)^2.$$ For \(n=5\): \(1+8+27+64+125=225=15^2\). For \(n=10\): \(\left(\frac{10\cdot 11}{2}\right)^2=55^2=3025\). Use this to check any total the tool reports when the list starts at 1.
- Parity. A cube has the same parity as its base. Even bases give even cubes (\(4^3=64\)) and odd bases give odd cubes (\(5^3=125\)).
- Last digit. The last digit of \(n^3\) depends only on the last digit of \(n\): 0→0, 1→1, 2→8, 3→7, 4→4, 5→5, 6→6, 7→3, 8→2, 9→9. So a cube can end in any digit, unlike a square.
- Differences between consecutive cubes. $$(n+1)^3-n^3=3n^2+3n+1.$$ For \(n=4\): \(3\cdot16+3\cdot4+1=61\), and \(125-64=61\). These gaps grow quickly.
- Negative bases. A negative base gives a negative cube, because \((-n)^3=-n^3\). For example, \((-3)^3=-27\). The cube function is increasing across all integers, so every integer has exactly one real cube root.
How to Check a Perfect Cube by Hand
- Compute a cube directly. Square the base, then multiply by the base again: \(n^3=n^2\cdot n\). For example, \(12^2=144\) and \(144\cdot12=1728\).
- Step to the next cube. Use \((n+1)^3=n^3+3n^2+3n+1\). From \(12^3=1728\): \(13^3=1728+3\cdot144+3\cdot12+1=1728+432+36+1=2197\).
- Test with prime factorization. Factor the number into primes. It is a perfect cube exactly when every prime exponent is divisible by 3. For example, \(3375=27\cdot125=3^3\cdot5^3=(3\cdot5)^3=15^3\). By contrast, \(54=2\cdot3^3\) is not a cube, because the exponent of 2 is 1.
- Or estimate the cube root. Bracket the number between known cubes, then check the nearby integers. Since \(10^3=1000\) and \(20^3=8000\), the cube root of 3375 lies between 10 and 20. The number ends in 5, so the base must end in 5. That leaves 15, and \(15^3=3375\) confirms it.
For a negative number, test its absolute value and keep the minus sign. For example, \(-3375=(-15)^3\).
FAQ
What is a perfect cube? An integer that can be written as another integer raised to the third power, like 8 (\(2^3\)) or 27 (\(3^3\)).
Can I start from a number other than 1? Yes. Set "Start from integer" to any value. Note that negative integers also produce valid cubes, for example \((-2)^3 = -8\).
How large can the numbers get? Cubes grow quickly: \(100^3\) is one million and \(10{,}000^3\) is one trillion. The generator uses 64-bit integer arithmetic so values in the default range are always exact.