# Sum of Powers of Three

What is the 50th smallest positive integer that can be written as the sum of one or more distinct powers of 3 with non-negative integer exponents?

×