Question 7The increasing sequence $1,$ $3,$ $4,$ $9,$ $10,$ $12,$ $13,$ $\ldots$ consists of all those positive integers which are powers of $3$ or sums of distinct powers of $3.$ Find the $100$th term of this sequence.