81 (34) combinations of weights of 1 (30), 3 (31), 9 (32) and 27 (33) kg – each weight on the left pan, right pan or unused – allow integer weights from −40 to +40 kg to be balanced; the figure shows the positive values
Inmathematics, apower of three is a number of the form3n wheren is aninteger, that is, the result ofexponentiation with numberthree as thebase and integer n as theexponent. The first ten non-negative powers of three are:
Inrecreational mathematics andfractal geometry, inverse power-of-three lengths occur in the constructions leading to theKoch snowflake,[6]Cantor set,[7]Sierpinski carpet andMenger sponge, in the number of elements in the construction steps for aSierpinski triangle, and in many formulas related to these sets. There are3n possible states in ann-diskTower of Hanoi puzzle or vertices in its associatedHanoi graph.[8] In abalance puzzle withw weighing steps, there are3w possible outcomes (sequences where the scale tilts left or right or stays balanced); powers of three often arise in the solutions to these puzzles, and it has been suggested that (for similar reasons) the powers of three would make an ideal system ofcoins.[9]
^Tomita, Etsuji; Tanaka, Akira; Takahashi, Haruhisa (2006), "The worst-case time complexity for generating all maximal cliques and computational experiments",Theoretical Computer Science,363 (1):28–42,doi:10.1016/j.tcs.2006.06.015
^Gupta, Hansraj (1978), "Powers of 2 and sums of distinct powers of 3",Univerzitet u Beogradu Publikacije Elektrotehničkog Fakulteta, Serija Matematika i Fizika (602–633): 151–158 (1979),MR0580438