Generating large numbers - plain text only

How long does it take for computer program to generate 2^(500,000,000) and save both first 100 and last 100 digits of that number only, and move on to next exponent?

Thanks

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum