\documentclass[12pt,reqno]{article}

\usepackage[usenames]{color}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{amscd}

\usepackage[colorlinks=true,
linkcolor=webgreen,
filecolor=webbrown,
citecolor=webgreen]{hyperref}

\definecolor{webgreen}{rgb}{0,.5,0}
\definecolor{webbrown}{rgb}{.6,0,0}

\usepackage{color}
\usepackage{fullpage}
\usepackage{float}

\usepackage{psfig}
\usepackage{graphics,amsmath,amssymb}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{latexsym}
\usepackage{epsf}

\setlength{\textwidth}{6.5in}
\setlength{\oddsidemargin}{.1in}
\setlength{\evensidemargin}{.1in}
\setlength{\topmargin}{-.5in}
\setlength{\textheight}{8.9in}

\newcommand{\seqnum}[1]{\href{http://www.research.att.com/cgi-bin/access.cgi/as/~njas/sequences/eisA.cgi?Anum=#1}{\underline{#1}}}

\begin{document}

\begin{center}
\epsfxsize=4in
\leavevmode\epsffile{logo129.eps}
\end{center}

\newtheorem{theorem}{Theorem}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{defin}[theorem]{Definition}
\newenvironment{definition}{\begin{defin}\normalfont\quad}{\end{defin}}
\newtheorem{examp}[theorem]{Example}
\newenvironment{example}{\begin{examp}\normalfont\quad}{\end{examp}}
\newtheorem{rema}[theorem]{Remark}
\newenvironment{remark}{\begin{rema}\normalfont\quad}{\end{rema}}

\newcommand{\ff}[2]{ \ensuremath{ {#1}^{\underline{#2}} }}		

\newcommand{\stone}[2]{\ensuremath{\left[\begin{matrix}{#1}\\{#2}\end{matrix}\right]}}
\newcommand{\sttwo}[2]{\ensuremath{\left\{\begin{matrix}{#1}\\{#2}\end{matrix}\right\}}}

\begin{center}
\vskip 1cm{\LARGE\bf
Falling Factorials, Generating Functions, and \\
\vskip .1in Conjoint Ranking Tables
}
\vskip 1cm
\large
Brad Osgood and William Wu \\
Department of Electrical Engineering \\
Stanford University \\
Stanford, CA 94305 \\
USA \\
\href{mailto:osgood@stanford.edu}{\tt osgood@stanford.edu}\\
\href{mailto:willywu@stanford.edu}{\tt willywu@stanford.edu} \\
\end{center}

\vskip .2in

\begin{abstract}
We investigate the coefficients generated by expressing the falling
factorial $\ff{(xy)}{k}$ as a linear combination of falling factorial
products $\ff{x}{l}\ff{y}{m}$ for $l,m =1, \dots, k$. Algebraic and
combinatoric properties are discussed, some in relation to Stirling
numbers.
\end{abstract}


\section{Introduction}

Let $\ff{x}{k}$ denote the \emph{falling factorial power},
\[
\ff{x}{k}=x(x-1)\ldots(x-k+1)\,,\quad  k\in \mathbb{N},  k \ge 1\,.
\] 
We think of $x \in \mathbb{R}$, but the definition can make sense in more general settings. Problems from discrete Fourier analysis --  distant from the topics considered here -- led us to falling factorial powers of products expressed as
\begin{equation}
\label{eq:main}
\ff{(xy)}{k} = \sum_{l,m=1}^k c^{(k)}_{l,m} \ff{x}{l} \ff{y}{m}\,.
\end{equation}
There is the obvious symmetry $c^{(k)}_{l,m} = c^{(k)}_{m,l}$.  Since $c^{(1)}_{1,1}=1$ the interest begins when $k \ge 2$.
For example,
\[
\begin{aligned}
\ff{(xy)}{2} &=\ff{x}{1}\ff{y}{2}+\ff{x}{2}\ff{y}{1}+\ff{x}{2}\ff{y}{2}\,,\\
\ff{(xy)}{3}&= \ff{x}{1}\ff{y}{3}+\ff{x}{3}\ff{y}{1}+6\ff{x}{2}\ff{y}{2}+3\ff{x}{2}\ff{y}{3}+3\ff{x}{3}\ff{y}{2}+\ff{x}{3}\ff{y}{3}\,.
\end{aligned} 
\]
Note that 
\[
\begin{aligned}
&c^{(2)}_{1,1}=0\\
&c^{(3)}_{1,1}=0\,,\quad c^{(3)}_{1,2}=c^{(3)}_{2,1}=0\,.
\end{aligned}
\]
and that the coefficients that do appear are positive.

Here are the values for $c^{(9)}_{l,m}$ displayed as a symmetric matrix:
\begin{equation} \label{eq:C9}
\begin{pmatrix}
0 &	0&	0&	0&	0&	0&	0&	0&	1\\
0&	0&	0&	0&	15120&	40320&	24192&	4608&	255\\
0&	0&	10080&	544320&	1958040&	1796760&	588168&	74124&	3025\\
0&	0&	544320&	6108480&	12267360&	7988904&	2066232&	218484&	7770\\
0&	15120&	1958040&	12267360&	18329850&	9874746&	2229402&	212436&	6951\\
0&	40320&	1796760&	7988904&	9874746&	4690350&	965790&	85680&	2646\\
0&	24192&	588168&	2066232&	2229402&	965790&	185766&	15624&	462\\
0&	4608&	74124&	218484&	212436&	85680&	15624&	1260	& 36\\
1&	255&	3025&	7770&	6951&	2646&	462&	36&	1
\end{pmatrix}\, .
\end{equation}



The numbers $c^{(k)}_{l,m}$ 
have a number of interesting properties that are the subject of the present paper.  We found a recurrence relation, several closed-form expressions (which appear rather different from each other), a natural combinatorial interpretation in terms of conjoint ranking tables, and we can extend these results to products of more than two variables. 

The combinatorics presented here have been considered before in other contexts. To make the present approach self-contained and more readable we have rederived (briefly) some of these earlier results, with references. We also mention several questions that we were unable to answer.


\section{Stirling Numbers and Falling Factorial Powers} \label{section:stirling}

One can solve for the coefficients $c^{(k)}_{l,m}$ in any particular case, but that there should generally be such an expansion emerges from the connection between falling factorial powers, ordinary powers,  and Stirling numbers;  see Knuth \cite{knuth:concrete}, whose notation we follow. 

In combinatorics one defines the (unsigned) Stirling numbers of the first kind by
\[
\stone{k}{l}
= \text{the number of permutations of $k$ letters which consist of $l$ disjoint cycles.} 
\]
In particular
\begin{equation} \label{eq:stirling-1-special}
\stone{k}{k} = 1\,,\quad \stone{k}{l} = 0 \quad \text{if $k<l$.}
\end{equation} 
For us,  the important fact is
\begin{equation}
\label{eq:stir1-powers}
\ff{x}{k} = \sum_{l=1}^n(-1)^{k-l}\stone{k}{l} x^l\,.
\end{equation}
Stirling numbers of the second kind, denoted by $\sttwo{k}{l}$, are defined by
\[
\sttwo{k}{l} = \text{the number of partitions of a set of $k$ elements into $l$ nonempty subsets}.
\]
Here
\begin{equation} \label{eq:stirling-2-special}
\sttwo{k}{1}=\sttwo{k}{k} = 1\,,\quad \sttwo{k}{l} = 0 \quad \text{if $k<l$.}
\end{equation}
The special values in \eqref{eq:stirling-1-special} and \eqref{eq:stirling-2-special} will come up in  adjusting summation indices. 

Corresponding to \eqref{eq:stir1-powers} one has
\begin{equation}
\label{eq:stir2-powers}
x^k = \sum_{l=1}^n \sttwo{k}{l} \ff{x}{l} \,.
\end{equation}
We included the phrase `Generating Functions' in the title of the paper because the sequences $\stone{k}{l}$, $\sttwo{k}{l}$, and $c^{(k)}_{l,m}$ each count something and each appears in an expansion in powers, \eqref{eq:stir1-powers}, \eqref{eq:stir2-powers}, and \eqref{eq:main}, much like classical generating functions. 

\bigskip



Proceeding with the derivation of \eqref{eq:main},  from \eqref{eq:stir1-powers} and \eqref{eq:stir2-powers} we have
\begin{eqnarray*}
\ff{(xy)}{k} 
&=&  \sum_{p=1}^k (-1)^{k-p}\stone{k}{p} (xy)^p  =  \sum_{p=1}^k(-1)^{k-p} \stone{k}{p}x^p y^p \\
&=&  \sum_{p=1}^k(-1)^{k-p} \stone{k}{p} \left( \sum_{l=1}^p \sttwo{p}{l} \ff{x}{l} \right)\left(  \sum_{m=1}^p \sttwo{p}{m} \ff{y}{m} \right) \\
&=& \sum_{p=1}^k \sum_{l=1}^p \sum_{m=1}^p  (-1)^{k-p}\stone{k}{p} \sttwo{p}{l}\sttwo{p}{m}\ff{x}{l} \ff{y}{m} \\
&=& \sum_{l=1}^k\sum_{m=1}^k \sum_{p=1}^k (-1)^{k-p}\stone{k}{p} \sttwo{p}{l}\sttwo{p}{m}\ff{x}{l} \ff{y}{m} \\
&=& \sum_{l,m=1}^k c_{l,m}^{(k)} \ff{x}{l} \ff{y}{m} \,,
\end{eqnarray*}
where the second-to-last equality holds since by convention $\sttwo{a}{b} = 0$ when $a < b$, and 
\begin{equation} \label{eq:c-formula-1}
c_{l,m}^{(k)} = \sum_{p=1}^k (-1)^{k-p}\stone{k}{p}  \sttwo{p}{l} \sttwo{p}{m} \,.
\end{equation}


This establishes the expansion \eqref{eq:main} and provides a formula for the coefficients. It is not clear from this expression that the $c$'s are nonnegative. We will deduce this from a combinatorial characterization in Section \ref{section:combinatorics}.



When $l = k$,
\begin{eqnarray*}
c_{k,m}^{(k)} 
&=& \sum_{p=1}^k (-1)^{k-p}\stone{k}{p} \sttwo{p}{k} \sttwo{p}{m}  \\
&=& \stone{k}{k} \sttwo{k}{k} \sttwo{k}{m} \\
&=& \sttwo{k}{m}\,.
\end{eqnarray*}	
Thus the Stirling numbers of the second kind appear in the last row (or column) of the matrix of the $c$'s, as we see in \eqref{eq:C9}. 


There are a few more arithmetic properties of the $c^{(k)}_{l,m}$ that we wish to note, expressed most easily in terms of the symmetric matrix $C^{(k)}$ whose ($l,m$)-entry is $c^{(k)}_{l,m}$. Let $\Sigma^{(k)}$ be the $k \times k$ diagonal matrix whose entries are
\[
\Sigma^{(k)}_{lm} = (-1)^{k-l}\stone{k}{l}\delta_{lm}\,.
\]
Let $S_2^{(k)}$ be the upper triangular matrix with nonzero entries
\[
(S_2^{(k)})_{lm} = \sttwo{m}{l}\,,\quad l \le m\,.
\]
One can check that 
\[
C^{(k)} = S_2^{(k)}\Sigma^{(k)}(S_2^{(k)})^T\,.
\]
In turn it follows that $C^{(k)}$ is invertible and has the same signature as $\Sigma^{(k)}$. Since the diagonal entries in $\Sigma^{(k)}$ alternate sign, $C^{(k)}$ has $\lceil k/2\rceil$ positive eigenvalues and $k - \lceil k/2\rceil$ negative eigenvalues. Moreover, the diagonal entries of $S_2^{(k)}$ are $1$'s so $\det S_2^{(k)} = 1$, and then
\[
\det C^{(k)} = \prod_{l=1}^k(-1)^{k-l}\stone{k}{l}\,.
\]


For all $k$, it appears that the rows (columns), the diagonals, and the anti-diagonals of $C^{(k)}$ are all unimodal; this is quite visible for $k=9$ in \eqref{eq:C9}.  Stronger than unimodality, numerical evidence suggests that the rows, diagonals, and anti-diagonals are log-concave. In fact, numerical evidence suggests that the associated polynomials for these sequences have negative real roots, satisfying Newton's sufficient test for log-concavity \cite{wilf2006generatingfunctionology}.



\section{Recurrence Relation} \label{section:recurrence}

Falling factorial powers satisfy
\[
\Delta \ff{x}{n} = n \ff{x}{{n-1}}\,,
\]
where $\Delta$ is the forward difference operator. A little more generally,
using the two-variable analog $\Delta f(x, y) = f (x + 1, y + 1) - f (x, y)$, one can verify that
\[
\begin{aligned}
\Delta(\ff{x}{l}\ff{y}{m})& = (\Delta \ff{x}{l})\ff{y}{m} + \ff{x}{l}(\Delta\ff{y}{m}) + (\Delta \ff{x}{l})(\Delta\ff{y}{m})\\
&= l\ff{x}{{l-1}}\ff{y}{m} + m\ff{x}{l}\ff{y}{{m-1}}+lm\ff{x}{{l-1}}\ff{y}{{m-1}}\,.
\end{aligned}
\]
Then, on the one hand,
\[\begin{aligned}
\Delta \ff{(xy)}{k} &= \sum_{l,m=1}^k c^{(k)}_{l,m}( l\ff{x}{{l-1}}\ff{y}{m} + m\ff{x}{l}\ff{y}{{m-1}}+lm\ff{x}{{l-1}}\ff{y}{{m-1}}) \\ &=\sum_{l=0}^{k-1}\sum_{m=1}^k c^{(k)}_{l+1,m}(l+1)\ff{x}{l}\ff{y}{m}  + 
\sum_{l=1}^k \sum_{m=0}^{k-1}c^{(k)}_{l,m+1} (m+1)\ff{x}{l}\ff{y}{m} +  \sum_{l,m=0}^{k-1} c^{(k)}_{l+1,m+1}(l+1)(m+1)\ff{x}{l}\ff{y}{m}\,.
\end{aligned}
\]
On the other hand, apply the identity
\[
\ff{v}{k} = \frac{1}{v}(\ff{v}{{k+1}}+k\ff{v}{k})
\]
 with $v = (x+1)(y+1)$ to write
 \[
 \begin{aligned}
 \Delta \ff{(xy)}{k} &= \ff{((x+1)(y+1))}{k}-\ff{(xy)}{k}\\
 &= \frac{1}{(x+1)(y+1)}\left(\ff{((x+1)(y+1))}{{k+1}}+k\ff{((x+1)(y+1))}{{k}}\right) -\ff{(xy)}{k}\,,
 \end{aligned}
 \]
and then
\[
\begin{aligned}
 \Delta \ff{(xy)}{k} &= \sum_{l,m=1}^{k+1} c^{(k+1)}_{l,m}\frac{\ff{(x+1)}{l}}{x+1}\frac{\ff{(y+1)}{m}}{y+1} + k\sum_{l,m=1}^k c^{(k)}_{l,m}\frac{\ff{(x+1)}{l}}{x+1}\frac{\ff{(y+1)}{m}}{y+1} - \sum_{l,m=1}^k c^{(k)}_{l,m} \ff{x}{l}\ff{y}{m}\\
 &= \sum_{l,m=1}^{k+1}c^{(k+1)}_{l,m}\ff{x}{{l-1}}\ff{y}{{m-1}} + k \sum_{l,m=1}^{k}c^{(k)}_{l,m}\ff{x}{{l-1}}\ff{y}{{m-1}}-\sum_{l,m=1}^k c^{(k)}_{l,m} \ff{x}{l}\ff{y}{m}\\
 &= \sum_{l,m=0}^k c^{(k+1)}_{l+1,m+1}\ff{x}{l}\ff{y}{m} + k\sum_{l,m=0}^{k-1} c^{(k)}_{l+1,m+1}\ff{x}{l}\ff{y}{m} -  \sum_{l,m=1}^k c^{(k)}_{l,m} \ff{x}{l}\ff{y}{m}\,.
 \end{aligned}
 \]

Comparing the two expressions for $ \Delta \ff{(xy)}{k} $, and rearranging terms, we have shown the following:

\begin{theorem} \label{theorem:recurrence}
The coefficients $c^{(k)}_{l,m}$ satisfy the recurrence
\[
c^{(k+1)}_{l+1,m+1} = c^{(k)}_{l,m}+(l+1)c^{(k)}_{l+1,m}+(m+1)c^{(k)}_{l,m+1}+((l+1)(m+1)-k)c^{(k)}_{l+1,m+1}\,.
\]
\end{theorem}

We remark that while this recurrence generally has four terms, exceptions occur at the edges of the matrix. Careful bookkeeping shows that in the last row when $l=k$, the recurrence reduces to the two term recurrence
\[
c^{(k+1)}_{k+1,m+1} = c^{(k)}_{k,m}+(m+1)c^{(k)}_{k,m+1}
\] 
which is precisely the recurrence relation describing Stirling numbers of the second kind. The  $c_{l,m}^{(k)}$ coefficients can thus be viewed as a generalization of Stirling numbers.
 
Lastly, we comment that other proofs of the recurrence are possible, for example one that uses the recurrence relations for Stirling numbers. 


\section{Combinatorial Characterizations} \label{section:combinatorics}

Conjoint analysis is a method in marketing that assigns weightings to independent attributes of a product. It is only the first step that we consider, that of setting up a conjoint ranking table. Suppose there are $l\ge 1$ choices for one attribute (e.g., price) and $m\ge 1$ for the other (e.g., color). Form an $l \times m$ table, in which each cell represents the two attributes considered jointly; hence the contraction `conjoint.'  Let $ k \le lm$ and rank the conjoint preferences from $1$ to $k$.
Since we allow $k \le lm$ not every pair of attributes need have a ranking, but we do insist that every individual attribute must enter into the ranking at least once. That is, every row or  column must have at least one ranked cell. In particular $k \ge \max\{l,m\}$. One can consider the remaining cells as left blank or filled in with zeros.
 
For a given $l$ and $m$ we refer to such an object as a  $k$-\emph{conjoint ranking table}. This is quite a general concept and it is easy to imagine many examples. Here is one other. A graduate student is signing up to take qualifying exams, and is required to fill out an $l \times m$ table indicating preferences. Each of the $l$ rows refers to  a subject area, such as algebra, combinatorics, analysis, etc.. Each of the $m$ columns refers to a particular professor; we assume that they are all equally capable of asking about any of subjects. The student will be asked $k$ questions, where $k \le lm$, and may put the numbers $1$ through $k$ in any of the cells, indicating
 preferences for \textit{who} asks \textit{what kinds} of questions. However, the student is  not allowed to avoid any professors, and must put at least one number in each column. Similarly, the student is not allowed to avoid any subject areas, and must put at least one  number in each row. 

 For more background on how conjoint analysis is used in marketing, see Green \cite{green}.


\begin{theorem} \label{theorem:conjoint-count}
The number of  $k$-conjoint ranking tables of size $l\times m$ is $l!\,m!\,c^{(k)}_{l,m}$.
\end{theorem}
\begin{proof}[Proof of Theorem \ref{theorem:conjoint-count}]

Let $d^{(k)}_{l,m}$ be the number of $l \times m$ conjoint tables containing $k$ ones. 

By definition of $c^{(k)}_{l,m}$, it suffices to show that 
$\ff{(xy)}{k} = \sum_{l,m=1}^k d_{l,m}^{(k)} (\ff{x}{l}/l!) (\ff{y}{m}/m!).$
It also suffices to prove this for $x$ and $y$ restricted to the positive integers, since polynomials coinciding on the positive integers are identical.

The number of ways to place the numbers $1,2,\ldots,k$ into distinct cells of a $x \times y$ rectangle is clearly $\ff{(xy)}{k}$. However, this placement can be done in the following way: choose $l$ rows (in $\ff{x}{l}/l!$ ways), choose $m$ columns (in $\ff{y}{m}/m!$ ways), and then place the numbers in the chosen rows and columns so that every row or column is used (in $d^{(k)}_{l,m}$ ways). Summing over $l$ and $m$ gives the result.

\end{proof}



Theorem \ref{theorem:conjoint-count} has the following immediate corollary:
\begin{corollary}
The $c^{(k)}_{lm}$ satisfy
\[
\label{eq:positivity-2}
c_{l,m}^{(k)} = 0 \quad  \text{for} \quad  lm <k \quad  \text{and} \quad c_{l,m}^{(k)} > 0\quad \text{for} \quad l m \ge k\,.
\]
\end{corollary} 
\begin{proof}
When $lm < k$, the conjoint ranking table is too small to fit all $k$ numbers,  so $c^{(k)}_{l,m}=0$. However, when $lm \geq k$, there are enough cells in the table to be ranked from $1$ to $k$. Furthermore, there must exist at least one way of placing the numbers that satisfies the row and column constraints since the conditions $1 \leq l,m \leq k$ imply that $k \geq \max(l,m)$. Thus $c^{(k)}_{l,m} >0$.
\end{proof}

One can see the pattern of zeros  for $k=9$ in \eqref{eq:C9}. The hyperbolic shape of the boundary between the zero and nonzero coefficients becomes more pronounced as $k$ increases.



Here we make contact with earlier work, for the core of the proof above is counting a set of binary matrices, and these have been counted in other ways; see Chapter 9 in \cite{charalambides:combinatorics}. One approach is to use the inclusion-exclusion principle. We would like to give this argument to show how it leads to another expression for $c^{(k)}_{l,m}$ (which also appears in older literature, but not as interpreted here).

Fix $l$ and $m$, take $k \le lm$, and let $\mathcal{O}$ be the set of   binary matrices of size $l \times m$ with $1$'s in exactly $k$ positions. Then
\[
|\mathcal{O}| = \binom{lm}{k}\,.
\]
Now let $k \ge \max\{l,m\}$ and let  $\mathcal{C}$ be the subset of $\mathcal{O}$ which have at least one $1$ in every row and in every column. We want to find $|\mathcal{C}|$.

For the index $i$ running from $1$ to $l$ let $\mathcal{A}_i$ be the subset of $\mathcal{O}$ whose $i$'th row has all $0$'s, and for the index $i$ running from $1$ to $m$ let $\mathcal{A}_{i+l}$ be the subset of $\mathcal{O}$ whose $i$'th column has all $0$'s. Then
\[
\mathcal{C} = \overline{\mathcal{A}_1}\cap\overline{\mathcal{A}_2}\cap\cdots \cap\overline{\mathcal{A}_{l+m}}\,,\]
where
\[
\overline{\mathcal{A}_i} = \mathcal{O}\setminus \mathcal{A}_i\,.
\]
By the inclusion-exclusion principle
\[
|\mathcal{C}| = |\mathcal{O}|-\sum_{i=1}^{l+m} |\mathcal{A}_i| + \sum_{i_1<i_2}|\mathcal{A}_{i_1}\cap\mathcal{A}_{i_2}|-\sum_{i_1<i_2<i_3}|\mathcal{A}_{i_1}\cap\mathcal{A}_{i_2}\cap\mathcal{A}_{i_3}|+\cdots + (-1)^{l+m}|\mathcal{A}_1\cap\mathcal{A}_2\cap\cdots\cap\mathcal{A}_{l+m}|\,.
\]
To compute the general sum
\[
\sum|\mathcal{A}_{i_1}\cap \cdots \cap \mathcal{A}_{i_h}|
\]
we have to have to distinguish the matrices that have zeroed rows from those that have zeroed columns. Suppose among the $h$ sets $\mathcal{A}_{i_1},\dots,\mathcal{A}_{i_h}$ that $p$ of them have zeroed rows. Then $h-p$ have zeroed columns. For a fixed $p$ there are $\binom{l}{p}$ ways to select $p$ rows to zero out and there are $\binom{m}{h-p}$ ways to select $h-p$ columns to zero out.  After these choices, there are $(l-p)(m-h+p)$ cells remaining amongst which we can place $k$ ones. Thus
\[
\sum|\mathcal{A}_{i_1}\cap \cdots \cap \mathcal{A}_{i_h}|=\sum_{p=0}^h \binom{l}{p}\binom{m}{h-p} \binom{(l-p)(m-h+p)}{k}
\]
and 
\[
|\mathcal{C}| = \sum_{h=0}^{l+m}\sum_{p=0}^h(-1)^h \binom{l}{p}\binom{m}{h-p} \binom{(l-p)(m-h+p)}{k}\,.
\]

 Multiplying $|\mathcal{C}|$ by $k!$ distinguishes the nonzero elements, whether they are $k$ distinguished balls tossed into bins or the numbers from $1$ to $k$.  The end result is evidently the same as counting the number of $k$-conjoint ranking tables, and hence
\begin{equation}  \label{eq:formula-2}
c^{(k)}_{l,m} = \frac{1}{l!m!} \cdot k!  |\mathcal{C}| = \frac{k!}{l!m!} \sum_{h=0}^{l+m}\sum_{p=0}^h(-1)^h \binom{l}{p}\binom{m}{h-p} \binom{(l-p)(m-h+p)}{k}\,.
\end{equation}

There is one more approach and one more formula. The equation \eqref{eq:main} can also be written in the form
\begin{equation} \label{eq:binomial-product}
 \binom{xy}{k}= \sum_{l,m=1}^{k}  b^{(k)}_{l,m} \binom{x}{l}\binom{y}{m}\,,
\end{equation}
where
\[
 b^{(k)}_{l,m} = \frac{l!m!}{k!}c^{(k)}_{l,m}\,.
 \]
We understand the binomial coefficient to be defined for nonintegral $x$ by
\[
\binom{x}{k} = \frac{\Gamma(x+1)}{k!\Gamma(x-k+1)}\,,
\]
and we use
\[
x(x-1)\ldots(x-k+1)=\frac{\Gamma(x+1)}{\Gamma(x-k+1)}\,.
\]

We see that the  $b^{(k)}_{l,m}$ give a count of the number of the $l \times m$ binary matrices with exactly $k$ ones such that each row and column has at least one $1$.  We have a further comment on the combinatorics of \eqref{eq:binomial-product} when $x$ and $y$ are integers. The left-hand side, $\binom{xy}{k}$ is just the number of ways to select $k$ elements from an $x \times y$ array. How does this jibe with the right-hand side?  

For any given selection of $k$ cells there is a unique minimal subarray (smallest number of rows and columns) such that every row and column of that subarray contains a selected cell. This is illustrated in Figure \ref{fig-binomialidentity}. On the left, the darkened cells correspond to a selection of $k=8$ cells, and the arrows indicate the rows and columns of the subarray in which the selected cells are contained. On the right we see the subarray extracted, and note that every row and column contains a selected square. Counting all possible such subarrays thus counts the ways of choosing $k$ elements from the big array. This is what the  right-hand side in equation \eqref{eq:binomial-product}  does, for $\binom{x}{l}\binom{y}{m}$ is the number of ways to choose an $l \times m$ subarray, and then  for each such subarray we count the number of ways to populate it with $k$ entries such that no row or column is void. That multiplier is precisely  $b_{l,m}^{(k)}$. 



\begin{figure} [ht]
\centering
\includegraphics[scale=0.75]{combinatorialMatrices2.eps}
\caption{Combinatorial Interpretation of equation \eqref{eq:binomial-product}.}
\label{fig-binomialidentity}
\end{figure}

From Theorem \ref{theorem:recurrence}, the $b$'s satisfy the recurrence
\begin{equation} \label{eq:recurrence-b}
b^{(k+1)}_{l+1,m+1}= (l+1)(m+1)(b^{(k)}_{l,m}+b^{(k)}_{l,m+1}+b^{(k)}_{l+1,m})+((l+1)(m+1)-k)b^{(k)}_{l+1,m+1}\,.
\end{equation}
But it was noted explicitly by Cameron \cite{cameron:asymptotics} that M\"obius inversion applied to \eqref{eq:binomial-product} implies
\begin{equation} \label{eq:formula-3}
b^{(k)}_{l,m} = \sum_{s,t=1}^k (-1)^{l+s+m+t}\binom{l}{s}\binom{m}{t}\binom{st}{k}\,.
\end{equation}
Furthermore, Maia and Mendez \cite{maia-mendez:species} found a similar formula using combinatorial species. 
M\"obius inversion is kin to matrix inversion and it is interesting to see how the latter can be used to derive \eqref{eq:formula-3}. 

For $k^2$ pairs $(x_i,y_i)$, $i = 1, \dots ,k^2$, we treat \eqref{eq:binomial-product} as a system of linear equations for the $k^2$ unknowns $b^{(k)}_{l,m}$. In matrix form, $A \underline{\beta}=\underline{\xi}$ where 
\[
{
\begin{aligned}
& \underbrace{\left[
\begin{array}{cccccccc}
\binom{x_1}{1}\binom{y_1}{1} & \binom{x_1}{1}\binom{y_1}{2} & \cdots & \binom{x_1}{1}\binom{y_1}{k} & \binom{x_1}{2}\binom{y_1}{1} & \binom{x_1}{2}\binom{y_1}{2} & \cdots & \binom{x_1}{k}\binom{y_1}{k}\\
\binom{x_2}{1}\binom{y_2}{1} & \binom{x_2}{1}\binom{y_2}{2} & \cdots & \binom{x_2}{1}\binom{y_2}{k} & \binom{x_2}{2}\binom{y_2}{1} &\binom{x_2}{2}\binom{y_2}{2} & \cdots & \binom{x_2}{k}\binom{y_2}{k} \\
\vdots & \vdots &\cdots & \vdots & \vdots &\vdots & \vdots & \vdots\\
\binom{x_{k^2}}{1}\binom{y_{k^2}}{1} & \binom{x_{k^2}}{1}\binom{y_{k^2}}{2} & \cdots &\binom{x_{k^2}}{1}\binom{y_{k^2}}{k} & \binom{x_{k^2}}{2}\binom{y_{k^2}}{1} &  \binom{x_{k^2}}{2}\binom{y_{k^2}}{2}  & \cdots & \binom{x_{k^2}}{k}\binom{y_{k^2}}{k}
\end{array}
\right]}_A
\underbrace{\left[ \begin{array}{c}
b^{(k)}_{1,1} \\
b^{(k)}_{1,2} \\
\vdots \\
b^{(k)}_{1,k}\\
b^{(k)}_{2,1}\\
b^{(k)}_{2,2}\\
\vdots\\
b^{(k)}_{k,k}
\end{array} \right]}_{\underline{\beta}}
\\
& \hspace{3in} =
\underbrace{\left[ \begin{array}{c}
{{x_1 y_1} \choose k} \\
{{x_2 y_2} \choose k} \\
\vdots \\
{{x_iy_i}}\choose{k}\\
\vdots\\
{{x_{k^2} y_{k^2}} \choose k} 
\end{array} \right]}_{\underline{\xi}} \, .
\end{aligned}
}
\]


Thus if the sequences $(x_i)$ and $(y_i)$ are chosen such that $A$ is invertible, we will have an expression for the coefficients in $\underline{\beta}$. The matrix inversion can be done quite simply because one can choose sequences that make $A$  the Kronecker product of the Pascal matrix with itself. Recall that the lower-triangular Pascal matrix $P$ is defined by
\[
P_{ij} = {i \choose j}\,,\quad 1\leq i,j \leq k\,.
\]
The Kronecker square of $P$ is the $k^2 \times k^2$ matrix with entries
\[
(P \otimes P)_{ij} = P_{\left\lceil\frac{i}{k}\right\rceil \left\lceil\frac{j}{k}\right\rceil } \cdot  P_{(i-1)_k + 1,(j-1)_k + 1}\,,
\]
where $i_k$ denotes $i \bmod k$. It is easily confirmed that $P \otimes P$ equals the matrix $A$ when $x_i = \left\lceil\frac{i}{k}\right\rceil$ and $y_i = (i-1)_k + 1$. Since the inverse of a Kronecker product is the Kronecker product of the inverses,
\[
A^{-1} = (P \otimes P)^{-1} = P^{-1} \otimes P^{-1}\,.
\]
Applying the Pascal matrix inverse formula $P^{-1}_{ij} = (-1)^{i+j} {i \choose j}$, 
\[
(P \otimes P)^{-1}_{ij} = (-1)^{\left\lceil\frac{i}{k}\right\rceil  + \left\lceil\frac{j}{k}\right\rceil  + {(i-1)_k + 1}   + {(j-1)_k + 1}}  {  \left\lceil\frac{i}{k}\right\rceil  \choose \left\lceil\frac{j}{k}\right\rceil } 
  {{(i-1)_k + 1} \choose {(j-1)_k + 1} } \,.  
\]

From the formula for $A^{-1}$ let us derive \eqref{eq:formula-3}. We have 
\[
\underline{\beta}= A^{-1}\underline{\xi}\,,\quad 
b^{(k)}_{l,m}  = \beta_i\,,\quad \text{where $i=k(l-1)+m$,}
\]
or
\[
\begin{aligned}
b^{(k)}_{l,m} = \beta_i &= \sum_{j=1}^{k^2} A_{i,j}^{-1}\xi_j = \sum_{j=1}^{k^2} A_{i,j}^{-1}\binom{ \left\lceil\frac{j}{k}\right\rceil ((j-1)_k + 1) }{k}\\
&=  \sum_{j=1}^{k^2} (-1)^{\left\lceil\frac{i}{k}\right\rceil  + \left\lceil\frac{j}{k}\right\rceil  + {(i-1)_k + 1}   + {(j-1)_k + 1}}  {  \left\lceil\frac{i}{k}\right\rceil  \choose \left\lceil\frac{j}{k}\right\rceil } 
  {{(i-1)_k + 1} \choose {(j-1)_k + 1} }  \binom{ \left\lceil\frac{j}{k}\right\rceil ((j-1)_k + 1) }{k} \,.
\end{aligned} 
\]
Both $i$ and $j$ run from $1$ to $k^2$. From the equation $i = k(l-1)+m$, it follows that $\left\lceil\frac{i}{k}\right\rceil = l$ and $(i-1)_k + 1 = m$. Similarly, writing $j = ks + t$ where $s \in \{0,1,\ldots,k-1\}$ and $t \in \{ 1,2,\ldots,k\}$, it follows that $\left\lceil\frac{j}{k}\right\rceil = s+1$ and $(j-1)_k + 1 = t$. Thus,
\[
\begin{aligned}
b^{(k)}_{l,m} 
&=  \sum_{s=0}^{k-1} \sum_{t=1}^k   (-1)^{ l + s+1  +  m  + t }  {  l \choose s+1 } 
  {m \choose t }  \binom{ (s+1)t }{k} \\
&=  \sum_{s=1}^{k} \sum_{t=1}^k   (-1)^{ l + s  +  m  + t }  {  l \choose s } 
  {m \choose t }  \binom{ s t }{k} \,,
\end{aligned} 
\]
which is \eqref{eq:formula-3}.

\bigskip

We conclude this part of the discussion by noting that we have three different expressions for the $c$'s (or the $b$'s), \eqref{eq:c-formula-1}, \eqref{eq:formula-2} and \eqref{eq:formula-3} -- and we do not know algebraically  how to derive one from another!


\section{More Than Two Variables}

For an expansion
\[
\ff{(x_1x_2\cdots x_n)}{k} = \sum_{L} c^{(k)}_L\ff{{x_1}}{{l_1}}\ff{{x_2}}{{l_2}}\cdots\ff{{x_n}}{{l_n}}\,, \quad L = (l_1, l_2, \dots, l_n)\,, 1\le l_i \le k\,,
\]
of a product of more than two variables all the results in the preceding sections have natural extensions. Modifications to the earlier arguments are straightforward and so we  record the outcomes with little additional detail -- the chief problem is notation. We follow the generally accepted conventions on multi-indexing. In particular
\[
L! = l_1!l_2!\cdots l_n! \,.
\]


The formula for the $c$'s in terms of Stirling numbers is
\[
c^{(k)}_L = \sum_{p=1}^k (-1)^{k-p}\stone{k}{p}\prod_{i=1}^n \sttwo{p}{l_i}\,.
\]
or simply
\[
c^{(k)}_L = \sum_{p=1}^k (-1)^{k-p}\stone{k}{p}\sttwo{p}{L}\,.
\]
if we allow ourselves the analog to the the multi-indexed case of binomial coefficients and write
\[
\sttwo{p}{L}=\prod_{i=1}^n \sttwo{p}{l_i}\,.
\]

There is a natural extension of the product rule for the forward difference operator and it can be applied just as before to obtain a recurrence relation. It will pay to invest in a little extra notation. We write 
\[
L+1=(l_i+1\colon i=1,\dots,n)
\]
and for a subset $S \subseteq \{1,\dots ,n\}$ we write
\[
L_S = (l_i\colon i \in S)\,,\quad L_{S}+1 = (l_i+1 \colon i \in S)\,,\quad L_{\overline{S}}=(l_i\colon i \in \{1,\dots ,n\}\setminus S)\,.
\]
The result is
\[
c^{(k+1)}_{L+1}=c^{(k)}_{L} -kc^{(k)}_{L+1}+
\sum_{m=1}^n\sum_{|S|=m}\left(\prod_{i\in S} l_i\right)c^{(k)}_{L_S+1,L_{\overline{S}}}\,.
\]

The generalization of a 2-dimensional conjoint ranking table allows for $n$ independent attributes (color, price, shape, \dots) with $l_i$ choices for the $i$'th attribute. Based on the recurrence one can then show that $L!c^{(k)}_L$ is the number of ways to fill in an $l_1\times l_2 \times \cdots \times l_n$ conjoint ranking table with the numbers $1$ through $k$, insisting, as before,  that each attribute must enter into the ranking at least once. Again this implies the nonnegativity of the $c$'s, more precisely
\[
\text{$c^{(k)}_L=0$ if $\prod_i l_i <k$ and $c^{(k)}_L>0$ if $\prod_i l_i  \ge k$.}
\]

Extensions of the alternate formulas \eqref{eq:formula-2} and \eqref{eq:formula-3} are more complicated to write. For the former, to keep the final result from being too cluttered we use the notation
\[
\|L\| = \sum_{l_i\in L} l_i 
\]
and for a multi-index $M = (m_1,m_2, \dots, m_n)$ with $1 \le m_i \le h$ and  $\|M\| = h$ we let
\[
\Phi(L,M) = \prod_{i=1}^n (l_i - m_i).
\]
Then
\[
c^{(k)}_L=\frac{k!}{ L!} \sum_{h=0}^{\|L\|} (-1)^h\sum_{M,\|M\|=h} \binom{\Phi(L,M)}{k}\prod_{i=1}^n\binom{l_i}{m_i}\,.
\]

 While the derivation of this formula is only an extension of the argument for two variables, some discussion will help make the form clearer. 

 Let ``slices" refer to the objects of dimension $n-1$ in a multidimensional table which are given by fixing the entry in one coordinate position. (One could say this is the higher-dimensional generalization of rows and columns for matrices.) 
As before, we use inclusion-exclusion to count $b^{(k)}_L$, the number of distinct $l_1 \times \ldots \times l_n$ $(0,1)$-tables with exactly $k$ ones and no zeroed slices; that is the formula without the factorials in front. In the outer summation, the index $h$ is the number of zeroed slices. The inner summation then runs over possible ways to distribute the $h$ zeroed slices across the $n$ different dimensions. 

 The number of zeroed slices in dimension $i$ is $m_i$, and $\binom{l_i}{m_i}$ is the number of ways to select a particular set of $m_i$ slices to zero out. 

After removing the zeroed slices, the number of remaining cells is given by $\Phi(L,M)$, and $\binom{\Phi(L,M)}{k}$ is the number of ways to distribute $k$ ones amongst these remaining cells.  
 
Lastly, the analog of formula \eqref{eq:formula-3} based on Kronecker products and matrix inversion is 
\[
c^{(k)}_L=\frac{k!}{L!}\sum_{r_1,r_2,\dots,r_n=1}^k (-1)^{\sum_i(r_i+l_i)}\binom{\prod_ir_i}{k}\prod_i\binom{l_i}{r_i}\,.
\]
 

\section{Acknowledgements}
\label{sec:ack}

We would like to thank Jiehua Chen, John T. Gill III, Michael Godfrey, and Donald Knuth for their interest and suggestions, and particularly the referee for a very meticulous report and many insightful comments.

This research was supported by a scholarship from the Frank H. and Eva Buck Foundation.



\begin{thebibliography}{99}

\bibitem{cameron:asymptotics}{
P. J. Cameron, T. Prellberg, and D. Stark, Asymptotics for
  incidence matrix classes, {\it Electron. J. Combin.} {\bf 13} (2006), \#R85.
}

\bibitem{charalambides:combinatorics}{
Ch. A. Charalambides, {\it Enumerative Combinatorics}, Chapman \& Hall/CRC
  Press, 2002.
}

\bibitem{green}{
P. E. Green and V. Srinivasan, Conjoint analysis in consumer research: issues and outlook, {\it J. Consumer Research} {\bf 5} (1978), 103--123.
}


\bibitem{knuth:concrete}{
R. L. Graham, D. E. Knuth, and O. Patashnik, {\it Concrete Mathematics},
  Addison Wesley, second edition, 1994, pp. 257--267.
}


\bibitem{maia-mendez:species}{
M. Maia and M. Mendez, On the arithmetic product of combinatorial
  species, {\it Discrete Math.} {\bf 308} (2008), 5407--5427.
}

\bibitem{stanley1989lca}{
R. P. Stanley, Log-Concave and Unimodal Sequences in Algebra,
  Combinatorics, and Geometry, {\it Ann. New York Acad. Sci.}
 {\bf 576} (1989),  500--535.
}

\bibitem{wilf2006generatingfunctionology}{
H. S. Wilf, {\it Generatingfunctionology}, AK Peters Ltd., 2006, pp. 136--139.
}


\end{thebibliography}



\bigskip
\hrule
\bigskip

\noindent 2000 {\it Mathematics Subject Classification}: Primary 05A10, 11B65, 05A15; Secondary 05A19, 11B73.

\noindent \emph{Keywords:}  Binomial coefficients, Stirling numbers, conjoint ranking tables, recurrence relations, generating functions.

\bigskip
\hrule
\bigskip

\noindent (Concerned with sequences
  \seqnum{A007318}, 
  \seqnum{A008275}, 
  \seqnum{A008277},
  and
  \seqnum{A068424}. 
  )

\bigskip
\hrule
\bigskip

\vspace*{+.1in}
\noindent
Received August 31 2009;
revised version received  November 6 2009.
Published in {\it Journal of Integer Sequences}, November 16 2009.

\bigskip
\hrule
\bigskip

\noindent
Return to
\htmladdnormallink{Journal of Integer Sequences home page}{http://www.cs.uwaterloo.ca/journals/JIS/}.
\vskip .1in


\end{document}

                                                                                

