数列{an}中,a1=1,2^a(n+1)-2^an=3,则an=