Question 897300
Example, assuming the cubed numbers based on natural numbers,

6^3=216;
7^3=343.


The cube numbers are 216 and 343.


Another example, How many numbers between 9 and 6? There are 7 and 8, and these are TWO numbers, both between 9 and 6.  {{{9-6=3}}}, which is one too many; so {{{9-6-1=2}}}, the quantity of numbers (whole) between 9 and 6.


Return to first example, 343-216-1=126 whole numbers between 7^3 and 6^3.
Try to symbolize this in variables.


Let n be a whole number. Two consecutive cubes based on n would be {{{n^3}}} and {{{(n+1)^3}}}.  The quantity of whole numbers between these two cubes is {{{(n+1)^3-n^3-1}}}, which you may simplify if desired.