Widom, H. “On the Limiting Distribution for the Length of the Longest Alternating Sequence in a Random Permutation”. The Electronic Journal of Combinatorics, Vol. 13, no. 1, Mar. 2006, p. R25, doi:10.37236/1051.