An initial cost of 1000 USD, doubled every year, for 20 years is:
1000 * (2^20) (where ^ means exponentiation).
Or 1,048,576,000 USD - a wee bit over 1 billion dollars for the 20th year.