Arrange all powers of 3 and the sums of any finite number of distinct powers of 3 in an increasing sequence:
Find the 100th term of this sequence.
Arrange all powers of 3 and the sums of any finite number of distinct powers of 3 in an increasing sequence:
Find the 100th term of this sequence.
[Solution]Let the -th term of the sequence be denoted as . Clearly, is a positive integer, and its ternary representation uses only the digits 0 and 1. Conversely, any natural number whose ternary representation uses only the digits 0 and 1 must be a term in this sequence. Therefore, the binary representation of is exactly the ternary representation of . Since the binary representation of 100 is 1100100, we have