Notation for a "conditional" set

281 Views Asked by At

Is there any commonly used short notation for the following?

$A_n = \begin{cases} \{a_n\}, & \text{if $n$ is odd} \\ \emptyset, & \text{if $n$ is even} \end{cases} $

I'm looking for something like $A_n = \{a_n\}_{[\text{$n$ is odd}]}$ that will fit on one row.

2

There are 2 best solutions below

0
On

Maybe use a Kronecker delta/indicator function. But "0" would have to be interpreted set theoretically to be $\{\}$.

0
On

If you use the indicator function (that I note $1_A$) then you can write it $$ a_n 1_{2\nmid n}\ \ \ \ \ \ a_n 1_{ 2\Bbb Z+1}(n) $$