Question 5Let $i$ be the complex number $\sqrt{-1}$, and $n$ be the smallest positive integer such that $(\sqrt3+i)^n=a$, where $a$ is a real number. Find the value of $\lfloor n-a\rfloor$.