MathCastle
Number TheorySuperchallengeDigits and Bases

Digits and Bases · Superchallenge problem

A two-pan balance comes with exactly one weight each of 1,3,9,27,811, 3, 9, 27, 81 and 243243 grams. An object of positive integer mass mm grams is placed on the left pan, and weights may be placed on either pan. For how many values of mm can the object be balanced using exactly four of the six weights?