A factory produces widgets, and the production cost depends on the number of widgets made. The cost in dollars to produce $n$ widgets is given by the equation:
$$C(n) = 500 + 2n + 0.05n^2$$
What is the average cost per widget produced when the factory produces 100 widgets?