a^n-3×a^2n+1=a^10,则n=_______