Complicated algebra in order to prove a sequence

Okay, so since I don't know how to use the math wraps for signs, etc, I'll just try to explain this.

We just got into sequences, and after the professor showed us the proof to find a formula for the sum of a sequence where i (infront of the sigma) is squared, he challanged us to try and resolve the the proof for the cubed sequence.

Just to explain what this looks like since I don't know the signage:

A sigma with:

i=1 on the bottom (where it starts, if I haven't already forgotten.)

n on the top (where it ends)

And to its right: i cubed. (i^3)

Then I ended up with a bunch of polynomial functions. I remember understanding it in class, but my poor note taking and quick-lost memory failed me once more, so I am not sure how I got here, but I am pretty sure it's correct. I ended up with this:

f(1) = A + B + C + D + E = 1

f(2) = 16A + 8B + 4C +2D + E = 9

f(3) = 81A + 27B + 9C + 3D + E = 37

f(4) = 256A + 64B + 16C + 4D + E = 37

f(5) = 625A + 125B + 25C + 5D + E = 226

Now, I'm pretty sure, as far as I remember from class, that all we had to do was algebraically solve for all of these using whatever method we could. I've tried a few that I can swing but kept getting stuck.

Perhaps someone can give me a hint as how to go about this, maybe a simpler way. Or maybe I'm just doing it wrong and there is a polynomial calculator that'll do the algebra. Kind of embarrassing and maybe this shouldn't even be on the precalc forum. Either way, I'd like to hear your advice, thanks.