Problem

Source:

Tags: algorithm, Additive Number Theory



Prove that any positive integer can be represented as an aggregate of different powers of $3$, the terms in the aggregate being combined by the signs $+$ and $-$ appropriately chosen.