What is the sum of all positive integers that have twice as many digits when written in base 2 as they have when written in base 4? Express your answer in base 10.
The answer is 22.