結果 : generating function for sequence of cubes