Solve the equation : 1 + 4 + 7 + 10 +…+ x = 287