I have the following sum where $i$ goes, one at a time from 1 to $n$: $\sum_{i = 1}^{n}{a_i}$
But what is the notation for summation with the condition that $i$ should still go from 1 to 10 but $i$ must not take some value $j$. So for example if $j = 4$, $i$ would take on the values 1,2,3,5,6,7,8,9,10
$\sum\limits_{i = 1 \\ i \ne j}^n a_i$