This is how you're problem in the table:
n = 1. 2. 3. 4. 5. ... n
an =0. 1. 2. 3. 6.... n -1
You will notice the if n = 1, an =0
if n = 2, an =1
if n = 3, an =2 and so on... This is what you called an arithmetic sequence.
Also you'll see that n is always one unit ahead of an, Therefore we can put the equation of the sequence as:
an = n -1
So if you are looking for the 25th term, you are looking for a25.
a25 = 25 - 1 = 24.