I recently found the so-called Van Eck's sequence, in which $a(n)$ is the answer to the question "except for $a_{n-1}$ itself, how far back did we last see $a_{n-1}$?" ($a_n=0$ if $ a_{n-1}$ never appeared before):
$$0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5, 0, 2, 6, 5, 4, 0, 5, 3, 0, 3, 2, 9, 0, 4, 9, 3, 6, 14, 0, 6, 3, 5,\dots$$
I'm intrigued by the idea that the sequence is created by considering a feature of the sequence itself - it is self-referential in a funny way, almost circularly defined. I'm having a hard time pinning down this characteristic precisely, so forgive me the vagueness of the question:
What are some examples of other such "self-referential" sequences?
I tried creating some myself, but they turned out to be not very interesting. For instance, "$a_n$ is the number of sub-sequences in $(a)_1^{n-1}$ that are $a_{n-1}$ long" is just $1,1,2,2,3,4,5,6,\dots$
Homemade sequences are also very welcome!
Edit: I just found the look-and-say sequence, which is also rather neat:
$$1, 11, 21, 1211, 111221, 312211, 13112221,\dots,$$ which is constructed by enumerating the number of certain numbers in a row found in the previous entry, i.e., the second entry is "one $1 =11$", the third is "two $1$s $=21$", etc.