sum from 0 to log base 2 of (n-1) of (n((3/2)^k))