Solve the following recurrence

T(n)= {

1 if n=1

3*T(n/2)+n if n>1 and power of 2

}