Given a (finite) abelian group $G = \langle S \mid R \rangle$, has the problem of counting the number of elements which can be expressed as a word (in $S$) of length $\leq k$ been studied? If so, where can I read more about it?
The question, rephrased: How big is the set $S_k$: $$S_k = \{ g \in G \mid |g| \leq k\}$$ where $|g|$ is the minimal word size for $g$ in $S$?
Would it be simpler if we knew that $G$ is a $p$-group?
I am interested in cases where "analytical" solutions can be found, e.g. a generating function or a recurrence relation for $|S_k|$.
I think that this problem will be easy or hard depending on what $S$ is.