I don't quite understand why anyone would want to do this, but I believe that there is some relatively standard notation for expressing the idea outlined in the question. First, a couple of notes:
Don't use curly braces for this. Almost universally, curly braces denote sets, which are unordered and which do not contain repeated elements. Typically, one would assume that
$$ \{3,1,3,7,7,3,1,1,3,2\} $$
denotes the set
$$ \{3,1,7,2\}. $$
The usual notation for a sequence is an $n$-tuple, which is denoted by round braces. Thus the sequence intended in the original question would best be denoted by
$$ (3,1,3,7,7,3,1,1,3,2).$$
If you want to be understood, use round braces, not curly braces.
A sequence is a function. In the modern understanding, a sequence is a function, and a function is a set of ordered pairs (with the first element of each pair coming from the domain $\mathbb{N}$, and the second element of each pair coming from some co-domain). The notation
$$ A = (3,1,3,7,7,3,1,1,3,2), $$
is a shorthand for the set
$$ \{ (1,3), (2,1), (3,3), (4,7), (5,7), (6,3), (7,1), (8,1), (9,3), (10,2)\}. $$
Again, $A$ is a function. This notation indicates, for example, that $A(9) = 3$. This is usually denoted by the somewhat more concise notation $A_9 = 3$.
A reasonable way of thinking of this is that an ordered pair $(m,x)$ indicates that the $m$-th element in the sequence is $x$—the first element gives a position in the list, while the second element gives the value which is found at that position.
With the above in mind, there is some somewhat standard notation which could be used. The intention of the question seems to be a desire to determine which indices (i.e. elements of the domain) map to specific values. For example, which indices map to $3$? This is precisely the preimage of $\{3\}$. Standard notation for this is
$$ A^{-1}( \{3\} ) = \{1,3,6,9\}.$$
That is, the preimage of the set $\{3\}$ with respect to the function $A$ is the set $\{1,3,6,9\}$. Since it is understood that $A$ is a sequence (a special kind of function), this could be understood as saying that the first, third, sixth, and ninth entries in the list $A$ are all $3$.
The subsequence which consists only of $3$s is, then
$$ A|_{A^{-1}(\{3\})} = \{(1,3),(3,3),(6,3),(9,3)\}, $$
i.e. the restriction of the function $A$ to the preimage of $\{3\}$ with respect to $A$. Note that this restricted function isn't quite a sequence in the usual sense, so tuple notation is probably not really appropriate here.
The original sequence is, then
$$ A = \bigcup_{x\in\operatorname{img}(A)} A|_{A^{-1}(\{x\})},$$
i.e. the union of preimages of singletons $\{x\}$ with respect to $A$, where the union is taken over all elements $x \in \operatorname{img}(A)$ (the image, or range, of $A$).