find the first 4 terms and the 24 term of the given sequence with a general term?