A15: Generating sequences and finding the $n$th term