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 107. Therefore, the value of the resistance is 50×107Ω. The Gold colour of the fourth band, indicates the tolerance of 5%
So, the value of the resistor is written as 50×107Ω±5%=500×106Ω+5% =500±5%MΩ