Pattern statistics and Vandermonde matrices