TITLE: Joint moments of Brownian motion
QUESTION [11 upvotes]: My approach to this SE question uses the following joint moments of
Brownian motion. For $n=1,2$ they are obvious and well-known, the others 
are not terribly hard to work out. Is there a reference where these 
formulas are given, or/and is there a  pattern to the coefficients? 
Fix $t_1\leq t_2\leq t_3\leq\cdots \leq t_n$.
For odd values of $n$ we have $\mathbb{E}[W(t_1)\ W(t_2) \cdots W(t_n)]=0$
while for even values of $n$ we get  
\begin{eqnarray*}
\mathbb{E}[W (t_1)\ W(t_2)]&=& t_1 \cr
\mathbb{E}[W (t_1)\ W(t_2)\ W(t_3)\ W(t_4)]&=& 2t_1 t_2+t_1t_3 \cr
\mathbb{E}[W (t_1)\ W(t_2)\ W(t_3)\ W(t_4)\ W(t_5)\ W(t_6)]&=& 2t_1t_2t_5+t_1  t_3  t_5 +4 t_1  t_2  t_4 +2 t_1  t_3  t_4 +6 t_1  t_2  t_3 
\end{eqnarray*}
I suppose everything about Brownian motion
has been worked out, but I can't find this in any of my books. 
It's not very important, but I'm just curious!

REPLY [6 votes]: Another formula for this joint moment can be found as Lemma 4.5 in a paper by J. Rosen and M.B. Marcus [Annals of Probability, vol. 20, no. 4 (1992) pp. 1603-1684]; the authors refer to it as "well-known".  The formula is this (for even $n$): The joint moment $E[W(t_1)W(t_2)\cdots W(t_n)]$ is the sum over all pairings $\{\{a(1),b(1)\},\{a(2),b(2)\},\ldots,\{a(n/2),b(n/2)\}\}$ of $\{1,2,\ldots,n\}$ of
$$
\prod_{i=1}^{n/2}E[W(t_{a(i)},t_{b(i)})].
$$
A pairing is simply a partition of $\{1,2,\ldots,n\}$ into $n/2$ doubletons.