Corresponding to the colours of the first and second bands green and black, the figures are 5 and 0 .
Corresponding to the colour of third band, violet, the multiplier is $10^{7}$. Therefore, the value of the resistance is $50 \times 10^{7} \Omega$. The Gold colour of the fourth band, indicates the tolerance of $5 \%$
So, the value of the resistor is written as
$50 \times 10^{7} \Omega \pm 5 \% =500 \times 10^{6} \Omega+5 \%$
$=500 \pm 5 \% M \Omega$