Write a javascript program to display a text after every x seconds, where x

Write a javascript program to display a text after every x seconds, where x is a number from geometric series with coefficient term (a) = 3 and common ratio is 2 eg: The text will be displayed after 3 secs, then after 6 sec, then after 12 sec and so on