There's a lot of obvious fractions in there that you left in decimal form...0.1111111111, 0.2857,... There's also some redundant code where you subtract 0 from a number, which makes no sense.
You can always come up with a formula to describe this, it's just really complicated and drawn out.
You can always come up with a formula to describe this, it's just really complicated and drawn out.

