I'd like to show in the below equation that variables $i$ and $j$ need to be chosen from the range $1$ to $n$, but I am not sure how to properly show this. Can somebody please show me the proper notation for this?
$y=f(i,j) \qquad i,j = 1,...,n$
Variables $i$ and $j$ are integer and can not be equal to each other. Should I use $\in$ sign instead?
Thank you
My advice: Don't force mathematical texts to be formal and contain more symbols than words.