with my math i should be getting [3, 21, 105, 630, 5670]
front = [3,7,5,6,9] for i in range(len(front)-1): front[i] *= temp temp *= front[i]