invert ((4^x) - 1) / (4 - 1)