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

2 answers

from briliant
perhaps it's 327