table n^3-(n-2)^3-(1-ceil((n-1)/n)) from 1 to 10