# Is there a notation for the last element in a set?

1. Nov 29, 2009

### coolnessitself

Say set $$p = \left\{p_1, p_2,\ldots,p_n\right\}$$, how to notate $$p_n$$ without saying $$p_n$$, since I'm not explicitly writing out $$p$$ like that for a variety of reasons?
Like max($$p$$) has the maximal element, what about last($$p$$) or something? Is that recognized?

2. Nov 29, 2009

### g_edgar

If it is truly a set then no, that last element does not depend on the set, but on your enumeration of the set.

3. Nov 29, 2009

### coolnessitself

My p is a path on a graph from node 1 to 2 to 6, to etc, so here it's ordered in some sense or another...