Centered cube number (source code)

= Centered cube number
{wiki=Centered_cube_number}

A centered cube number is a specific type of figurate number that represents a three-dimensional cube with a center cube and additional layers of smaller cubes surrounding it. Specifically, the \\( n \\)-th centered cube number can be calculated using the formula: \\\[ C_n = n^3 + (n-1)^3 \\\] where \\( C_n \\) represents the \\( n \\)-th centered cube number and \\( n \\) is a positive integer.