Here are the first four terms of a number sequence.
3,10,31,94 3, 10, 31, 94\,3,10,31,94
The rule to continue the sequence is multiply the previous term by 3 and then add 1.
Work out the 5th term of this sequence.