Is there any mathematical notation to expand a list/set of values?
I am looking for something that would expand like this:
$A=(x=0,x<=3)[2x+1]$
$A=[2(0)+1,2(1)+1,2(2)+1,2(3)+1]$
$A=[1,3,5,7]$
Is there any mathematical notation to expand a list/set of values?
I am looking for something that would expand like this:
$A=(x=0,x<=3)[2x+1]$
$A=[2(0)+1,2(1)+1,2(2)+1,2(3)+1]$
$A=[1,3,5,7]$
Yes, the counterpart of sigma or pi notation for sequences is typically notated as $\left(a_n\right)_{n\in S}$ where $a_n$ expresses the $n$'th term and $S$ is an index set. For general sets, a different notation is usually used, called set builder notation, which has the form $\left\{x|\phi(x)\right\}$, where $\phi$ is some formula satisfied by the included elements $x$. Depending on the system we are using, there may be some limitations on the sets that are allowed to be built, hence which expressions in this notation are valid.
So, the even numbers, $0,2,4,6,\ldots$, could be expressed in the above notations as an (indexed) sequence as $\left(2n\right)_{n\in\mathbb{N}}$ or as a (non-indexed) set $\left\{x|\exists y \in \mathbb{N} . x=2y \right\}$.
We use finite sequences to denote such lists: \begin{align*} A=\left(2x+1\right)_{0\leq x\leq 3}=(1,3,5,7) \end{align*}