This is a duplicate of question 24180. The pattern involves multiplying the previous term by 3 and adding its digits, followed by digit reversal at certain steps. Following this complex pattern through the sequence 1,2,4,8,61,221,244,884 leads to 8671 as the next term.