Largest roots of cubic polynomials (noch nicht übersetzt)

Problem 356

Let an be the largest real root of a polynomial g(x) = x3 - 2n·x2 + n.
For example, a2 = 3.86619826...

Find the last eight digits of 30i=1a987654321i.

Note: a represents the floor function.