Iterated sumset (source code)

= Iterated sumset
{title2=$mA$}

For a <nonnegative integer> $m$, the iterated sumset $mA$ is the sum of $m$ copies of $A$, with $0A=\{0\}$. Repetitions are allowed, so its elements are sums $a_1+\cdots+a_m$ with each $a_i\in A$.