Let $a, b, c, d$ be the roots of the equation $x^4+x+1=0.$ Let $a^5+2a+1, b^5+2b+1, c^5+2c+1, d^5+2d+1$ be roots of the equation $x^4+px^3+qx^2+rx+s=0.$ Find the value of $p+2q+4r+8s.$
Source: Hong Kong TST - HKTST 2022 1.2
Tags: algebra
Let $a, b, c, d$ be the roots of the equation $x^4+x+1=0.$ Let $a^5+2a+1, b^5+2b+1, c^5+2c+1, d^5+2d+1$ be roots of the equation $x^4+px^3+qx^2+rx+s=0.$ Find the value of $p+2q+4r+8s.$