Let $\mathcal{J}$ be a finite set of letters. Suppose that $|\mathcal{J}| = m$. Now designate a letter from the set $\mathcal{J}$. What is the ordinary generating function of words with letters from $\mathcal{J}$ without $k$ consecutive occurrences of the designated letter. For the case $m=2$ the generating function is easily seen to be $$ \dfrac{1-z^k}{1-2z+z^{k+1}}$$
However I am having difficulty in finding the generating funcution for arbitrary $m$. Any help would be appreciated. Thanks.
The languages you're describing are regular, which means they admits rational generating functions. Indeed, we can read the generating function off of a regular expression for the language.
For example, if $k=3$ and $m=2$, the language (where we cannot repeat $a$) is described by
$$(b + ab + aab)^* (1 + a + aa)$$
We can read off from this a generating function
$$\frac{1 + a + a^2}{1 - (b + ab + a^2 b)}$$
(using the fact that $L^* = 1 + L + L^2 + \ldots = \frac{1}{1-L}$).
It turns out the coefficient of $a^nb^m$ in the above series is exactly the number of words using $n$ $a$s and $m$ $b$s! So if we only care about the length, we can just replace every letter by one variable $z$. This gives us
$$\frac{1 + z + z^2}{1 - z - z^2 - z^3}$$
and taylor expanding this gives the correct sequence.
Now that we have the basics down, let's do this in general. For $m$ letters $a_1, \ldots a_m$, say we want to avoid $k$ consecutive copies of $a_1$. Then our language is given by:
$$ \left ( 1 + a_1 + a_1^2 + \ldots + a_1^{k-1} \right ) \left [ \left ( \sum_{i=2}^m a_i \right )^+ \left ( a_1 + a_1^2 + \ldots + a_1^{k-1} \right ) \right ]^* \left ( \sum_{i=2}^m a_i \right )^* $$
(do you see why?)
Since we only care about the total number, we again substitute $z$ for each variable, then cash out the kleene stars for $\frac{1}{1-L}$s and get
$$ \frac{1 + z + z^2 + \ldots + z^{k-1}}{1 - (m-1)z - (m-1)z^2 - \ldots - (m-1)z^k} $$
I hope this helps ^_^