Question 19Determine the largest prime less than $5000$ of the form $a^n-1$, where $a,n$ are positive integers and $n\gt 1$.