MathCastle
Number TheoryHardDigits and Bases

Digits and Bases · Hard problem

In balanced ternary every integer is written with powers of 33 and digits −1,0,1-1, 0, 1. When 100100 is written in balanced ternary, how many of its digits are nonzero?