Mathematica usually keeps the elements of a list in exactly the order you originally entered them. If you want to treat a Mathematica list like a mathematical set, however, ...
Picking out elements of lists. We will use this list for the examples. Here is the last element of t.
Lists
(Mathematica Overview) Making Lists of Objects Collecting Objects Together Making Tables of Values
Lists are widely used in Mathematica, and there are many ways to construct them. Some explicit ways to construct lists. This gives a table of the first five powers of 2.
Many of the most powerful list manipulation operations in Mathematica treat whole lists as single objects. Sometimes, however, you need to pick out or set individual elements ...
A possible way of working with permutations is by relating them to the reorderings of the elements of a list. This is the standard point of view in the combinatorial approach ...
List
(Built-in Mathematica Symbol) {e_1, e_2, ...} is a list of elements.
Functions for combining lists. Join concatenates any number of lists together. Union combines lists, keeping only distinct elements.
Lists are very important and general structures in Mathematica. They allow you to treat collections of all kinds of objects as a single entity. There are many ways to ...
Functions for rearranging lists. This sorts the elements of a list into a standard order. In simple cases like this, the order is alphabetical or numerical. This sorts the ...