Answer: (x;n;p)=(1;2;3), (x;n;p)=(3,2,7).
It is easy to see that 2x3+x2+10x+5=(x2+5)(2x+1), so the initial equality can be rewritten as
(x2+5)(2x+1)=2⋅pn.(1)
Since (2x+1) is odd for all natural x, we have p=2 and 2x+1=pk, x2+5=2⋅pn−k. It is evident that x2+5>2x+1 for all x∈N and p≥3, then n−k≥k. Therefore, (x2+5)÷(2x+1). So the number (x2+5)/(2x+1) is integer, but then the number 2(x2+5)/(2x+1) is also integer. Since 2(x2+5)=x(2x+1)+(10−x), we see that (10−x)/(2x+1) must be also integer, and so the number 2(10−x)/(2x+1) must be integer too. But 2(10−x)=−(2x+1)+21, so the number 21/(2x+1) must be integer. It is possible only if 2x+1=1,3,7,21, i.e. if x=1,x=3,x=10.
For x=1 we have (x2+5)(2x+1)=6⋅3=18=2⋅32, so p=3, n=2.
For x=3 we have (x2+5)(2x+1)=14⋅7=2⋅72, so p=7, n=2.
For x=10 we have (x2+5)(2x+1)=405⋅21=5⋅72⋅35, i.e. this number cannot be 2⋅pn for any natural n and any prime p.