For the sequence 0,3,8,15,24;

Write the general term (an equation) for the nth term of this sequence
I got tn=n^2-1. Is this correct??

Yes, each term is one less than a perfect square.

To determine if tn=n^2-1 is the correct equation for the nth term of the sequence 0, 3, 8, 15, 24, we can check if it holds true for the values in the sequence.

Let's substitute the sequence values into the equation:
t1 = (1^2) - 1 = 0
t2 = (2^2) - 1 = 3
t3 = (3^2) - 1 = 8
t4 = (4^2) - 1 = 15
t5 = (5^2) - 1 = 24

As seen, the equation tn = n^2 - 1 matches all the values in the given sequence, so it is indeed the correct general term for this sequence.