The first and seventh terms in a sequence are 1 and 365 respectively, if each term after the first in the sequence is formed by multiplying the preceding term by 3 and subtracting 1, what is the sixth term?