The example below show the amount of time required for a star of 20 M ☉ to consume all of its nuclear fuel . As an O @-@ class main sequence star , it would be 8 times the solar radius and 62 @,@ 000 times the Sun 's luminosity .