When (5x^6+10x^5+2x^4+19x^3+2x^2+1)^10000 is multiplied out, what is the coefficient of x^4?

for the nth power, the coefficient of x^4 is

2(n^2-n+1)

so plug in your value