I want to define a finite set of finite sequences and they may have distinct cardinality. Is it correct to express this as follows:
Let $S=\{x_{n_{i}}: n=0,1,...,m \quad \text{and} \quad i=0,1,...,n_i\}$
I mean for a fixed $n$ we have a sequence of $i$ elements.