Indeed, this is true for n=1 by assumption, and it follows for all n∈N by induction. Hence, we have shown that
∫01(x+t)n1dμ(t)=0
for all n≥1. Now let A be the set of all finite R-linear combinations of (2+t)n1 for n≥1. It's clear that A is a subalgebra of C([0,1]), that it vanishes nowhere, and that it separates points (e.g., 2+t1 does both). By Stone-Weierstrass, we see that A is dense in C([0,1]). Since μ is 0 on a dense subset of C([0,1]), it follows that μ is 0 on all of C([0,1]), and so μ=0, which was what we wanted to show.