Assume a quadratic general formula: , , , Substitute n=1 Substitute n=2 Substitute n=3 Now we have this system of equations to solve: Solve that and get A = -152687.75, B=598420.5, C=255762 So the formula is Substituting n=4 gives Edwin