You write sequences using subscript notation. The general term is where is the position (starting from ).
For the sequence , you can write . This formula tells you the -th term: , , and so on.
Having a formula for lets you find any term directly without computing all previous terms. This is like array indexing with a formula instead of storage.