The exponent of a group $G$, denoted $\text{Exp}(G)$, is the smallest $n\in \mathbb{N}$ such that $x^n=1$ for every $x\in G$.
This page says that $$\text{Exp}(A_n)=\left\{\begin{array}{lcl}\text{lcm}\{1,\ldots,n-1\}&:&n \text{ is even}\\\text{lcm}\{1,\ldots,n\}&:&n \text{ is odd} \end{array}\right.$$
But I think this must be false. $A_3$ is just the cyclic group $C_3$ so its exponent is $3$, but $\text{lcm}(1,2,3)=6$. Then $A_5$ has exponent $30$, but $\text{lcm}(1,2,3,4,5)=60$. It seems to be right for even $n$, so one would think perhaps it's just off by a factor of $1/2$ for the odd $n$ - but then, it works for $A_7$! After that it goes back to being off again with $\text{Exp}(A_9)=1260$ whereas $\text{lcm}\{1,\ldots,9\}=2520$.
So, what is the formula for $\text{Exp}(A_n)$? How can we prove it?