Hubbry Logo
search
logo
1406358

Power of three

logo
Community Hub0 Subscribers
Read side by side
from Wikipedia
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

In mathematics, a power of three is a number of the form 3n where n is an integer, that is, the result of exponentiation with number three as the base and integer n as the exponent. The first ten non-negative powers of three are:

1, 3, 9, 27, 81, 243, 729, 2187, 6561, 19683, etc. (sequence A000244 in OEIS)

Applications

[edit]

The powers of three give the place values in the ternary numeral system.[1]

Graph theory

[edit]

In graph theory, powers of three appear in the Moon–Moser bound 3n/3 on the number of maximal independent sets of an n-vertex graph,[2] and in the time analysis of the Bron–Kerbosch algorithm for finding these sets.[3] Several important strongly regular graphs also have a number of vertices that is a power of three, including the Brouwer–Haemers graph (81 vertices), Berlekamp–van Lint–Seidel graph (243 vertices), and Games graph (729 vertices).[4]

Enumerative combinatorics

[edit]

In enumerative combinatorics, there are 3n signed subsets of a set of n elements. In polyhedral combinatorics, the hypercube and all other Hanner polytopes have a number of faces (not counting the empty set as a face) that is a power of three. For example, a 2-cube, or square, has 4 vertices, 4 edges and 1 face, and 4 + 4 + 1 = 32. Kalai's 3d conjecture states that this is the minimum possible number of faces for a centrally symmetric polytope.[5]

Inverse power of three lengths

[edit]

In recreational mathematics and fractal geometry, inverse power-of-three lengths occur in the constructions leading to the Koch snowflake,[6] Cantor set,[7] Sierpinski carpet and Menger sponge, in the number of elements in the construction steps for a Sierpinski triangle, and in many formulas related to these sets. There are 3n possible states in an n-disk Tower of Hanoi puzzle or vertices in its associated Hanoi graph.[8] In a balance puzzle with w weighing steps, there are 3w 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 of coins.[9]

Perfect totient numbers

[edit]

In number theory, all powers of three are perfect totient numbers.[10] The sums of distinct powers of three form a Stanley sequence, the lexicographically smallest sequence that does not contain an arithmetic progression of three elements.[11] A conjecture of Paul Erdős states that this sequence contains no powers of two other than 1, 4, and 256.[12]

Graham's number

[edit]

Graham's number, an enormous number arising from a proof in Ramsey theory, is (in the version popularized by Martin Gardner) a power of three. However, the actual publication of the proof by Ronald Graham used a different number which is a power of two and much smaller.[13]

See also

[edit]

References

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
In mathematics, a power of three is a number of the form 3n3^n, where nn is an integer, obtained through exponentiation with base 3 and exponent nn.[1] This operation represents repeated multiplication of 3 by itself nn times when nn is positive, yielding 1 when n=0n=0, and reciprocals 1/3n1/3^{|n|} when nn is negative.[2] The sequence of powers of three, often considered for non-negative integers nn, begins as 1, 3, 9, 27, 81, 243, 729, 2187, and continues indefinitely, with each subsequent term obtained by multiplying the previous by 3.[3] These numbers exhibit properties such as being odd for all n1n \geq 1 and serving as perfect totient numbers, meaning the sum from k=1 to 3n3^n of Euler's totient function ϕ(k)\phi(k) equals 3n3^n.[3] In base-10 representation, powers of three grow exponentially, with 310=590493^{10} = 59049 and 3203.48×1093^{20} \approx 3.48 \times 10^9, illustrating their rapid increase. Powers of three play key roles in several areas of mathematics and computing. In number theory, every integer has a unique representation in balanced ternary, a numeral system using digits -1, 0, and 1 as coefficients of powers of three, enabling efficient arithmetic without a separate sign bit.[4] This system contrasts with standard ternary (base 3 with digits 0-2) and has historical applications in early computing designs, such as ternary logic circuits.[4] Additionally, powers of three appear in graph theory contexts, such as counting certain tree structures or in algorithms for sequence analysis, and in combinatorics for partitioning problems involving multiples of 3.[3]

Definition and Fundamentals

Definition

In mathematics, a power of three is defined as a number of the form 3n3^n, where nn is an integer and the base 3 is raised to the exponent nn through exponentiation.[5] Exponentiation in this context represents the process of multiplying the base by itself nn times when nn is positive; for instance, 33=3×3×3=273^3 = 3 \times 3 \times 3 = 27.[6] This sequence, known as the powers of 3, is cataloged in the Online Encyclopedia of Integer Sequences (OEIS) as A000244.[3] The first ten terms of the sequence are:
30=13^0 = 1,
31=33^1 = 3,
32=93^2 = 9,
33=273^3 = 27,
34=813^4 = 81,
35=2433^5 = 243,
36=[729](/page/729)3^6 = [729](/page/729),
37=[2187](/page/2187)3^7 = [2187](/page/21-87),
38=65613^8 = 6561,
39=196833^9 = 19683.[3]
For completeness, powers of three extend to negative exponents, where 3n=13n3^{-n} = \frac{1}{3^n} for positive integer nn, resulting in fractions like 31=133^{-1} = \frac{1}{3} and 32=193^{-2} = \frac{1}{9}.[5] However, the concept primarily emphasizes non-negative exponents in integer contexts. Powers of three form the basis for place values in the ternary numeral system.[7]

Notation and Sequence

In mathematics, powers of three are denoted using exponential notation as 3n3^n, where nn is an integer and the exponent appears as a superscript to the right of the base 3.[8] This compact form represents the product of nn factors of 3 when nn is positive, with 30=13^0 = 1 by convention.[9] In computational and programming contexts, such as in C++ or Python, the operation is commonly expressed using the power function pow(3, n).[10] The infinite sequence of powers of three, given by an=3na_n = 3^n for n=0,1,2,n = 0, 1, 2, \dots, is cataloged as A000244 in the On-Line Encyclopedia of Integer Sequences (OEIS).[3] This sequence is strictly increasing for n0n \geq 0, as each term is precisely three times the preceding one, resulting in exponential growth.[3] Relative to the sequence of powers of two (2n2^n), powers of three grow more rapidly owing to the larger base, yielding values that surpass those of 2n2^n for sufficiently large nn.[11] Higher powers of three can be computed through iterative multiplication, initializing with 30=13^0 = 1 and successively multiplying by 3 for each increment in the exponent: 3k=3×3k13^k = 3 \times 3^{k-1}.[12] For approximating large exponents without exact computation, the properties of logarithms provide a useful tool; specifically, log10(3n)=nlog103n×0.4771\log_{10}(3^n) = n \log_{10} 3 \approx n \times 0.4771, which estimates the number of digits and magnitude as 3n10n×0.47713^n \approx 10^{n \times 0.4771}.[8] The table below lists exact values of 3n3^n for nn from 0 to 20, beyond which scientific notation is practical for representation.[3]
nn3n3^n
01
13
29
327
481
5243
6729
72,187
86,561
919,683
1059,049
11177,147
12531,441
131,594,323
144,782,969
1514,348,907
1643,046,721
17129,140,163
18387,420,489
191,162,261,467
203,486,784,401

Mathematical Properties

Arithmetic and Algebraic Properties

The powers of three, expressed as 3n3^n for non-negative integers nn, follow the standard laws of exponents in arithmetic operations involving multiplication and division. The product of two such powers is given by 3m×3n=3m+n3^m \times 3^n = 3^{m+n}, reflecting the additive property of exponents when bases are identical. Similarly, division yields 3m/3n=3mn3^m / 3^n = 3^{m-n} provided mnm \geq n, as this simplifies the repeated multiplication inherent in the definition of exponents.[13] Addition and subtraction of distinct powers of three do not admit simple closed-form expressions analogous to those for multiplication and division. However, the sum of consecutive powers starting from 30=13^0 = 1 up to 3n3^n constitutes a finite geometric series, with the formula S=k=0n3k=3n+112S = \sum_{k=0}^n 3^k = \frac{3^{n+1} - 1}{2}. This summation leverages the common ratio of 3 and derives from multiplying the series by the ratio and subtracting to isolate the result.[14] Key algebraic identities further characterize powers of three. The difference 3n13^n - 1 factors as 3n1=(31)k=0n13k=2([3n1](/page/N+1)2)3^n - 1 = (3 - 1) \sum_{k=0}^{n-1} 3^k = 2 \left( \frac{[3^n - 1](/page/N+1)}{2} \right), where the parenthetical sum is the geometric series up to n1n-1. Additionally, expressing 3n3^n as (1+2)n(1 + 2)^n allows expansion via the binomial theorem:
3n=k=0n(nk)2k, 3^n = \sum_{k=0}^n \binom{n}{k} 2^k,
which decomposes the power into terms weighted by binomial coefficients.[15][16] The sequence 3n3^n demonstrates exponential growth, with base 3 exceeding e12.718e^1 \approx 2.718, corresponding to a natural logarithm ln3>1\ln 3 > 1. This rapid expansion outpaces polynomial growth rates, such as linear O(n)O(n) or quadratic O(n2)O(n^2), as the function scales multiplicatively with each increment in nn.[17]

Number-Theoretic Properties

Powers of three, expressed as 3n3^n for non-negative integers nn, possess distinct number-theoretic characteristics rooted in their prime base. Excluding 30=13^0 = 1, all powers of three are odd integers, as the base 3 is odd and odd numbers raised to positive integer powers remain odd.[3] In terms of primality, 31=33^1 = 3 is prime, while higher powers 3n3^n for n>1n > 1 are composite, factoring as 3×3n13 \times 3^{n-1}.[3] For example, 32=9=3×33^2 = 9 = 3 \times 3. Regarding divisibility, 3n3^n is divisible by 3k3^k whenever knk \leq n, since 3n=3k3nk3^n = 3^k \cdot 3^{n-k}. Additionally, the relation to cyclotomic polynomials arises in the factorization of 3n1=dnΦd(3)3^n - 1 = \prod_{d \mid n} \Phi_d(3), where Φd(x)\Phi_d(x) denotes the dd-th cyclotomic polynomial. Powers of three also belong to special classes of integers. For n1n \geq 1, every 3n3^n is a perfect totient number, satisfying k=1cϕk(3n)=3n\sum_{k=1}^c \phi_k(3^n) = 3^n, where ϕ1(m)=ϕ(m)\phi_1(m) = \phi(m) is Euler's totient function, ϕk+1(m)=ϕ(ϕk(m))\phi_{k+1}(m) = \phi(\phi_k(m)), and cc is the smallest integer such that ϕc(3n)=1\phi_c(3^n) = 1. This holds because the iterated totients form the sequence 23n1,23n2,,2,12 \cdot 3^{n-1}, 2 \cdot 3^{n-2}, \dots, 2, 1, and their sum is 2j=0n13j+1=3n2 \sum_{j=0}^{n-1} 3^j + 1 = 3^n.[18] The powers of three further form the basis for a Stanley sequence, where the sequence consists of all possible sums of distinct powers of three, which is 3-free (containing no three-term arithmetic progression).[19] No power of three is a perfect number, as the sum of divisors function gives σ(3n)=3n+112\sigma(3^n) = \frac{3^{n+1} - 1}{2}, and setting this equal to 23n2 \cdot 3^n yields 3n+11=43n3^{n+1} - 1 = 4 \cdot 3^n, or 3n(34)=13^n (3 - 4) = 1, implying 3n=1-3^n = 1, which is impossible for non-negative integer nn. Similarly, the only Mersenne prime among powers of three is 31=3=2213^1 = 3 = 2^2 - 1; for n>1n > 1, no 3n3^n is a Mersenne prime, as the equation 2p3n=12^p - 3^n = 1 with p,n>1p, n > 1 has no solutions by Mihăilescu's theorem on consecutive powers.

Applications in Discrete Mathematics

In Numeral Systems

In the ternary numeral system, also known as base-3, numbers are represented using the digits 0, 1, and 2, with each positional place value corresponding to successive powers of three: 30=13^0 = 1 for the units place, 31=33^1 = 3 for the threes place, 32=93^2 = 9 for the nines place, and so forth. This system allows any non-negative integer to be expressed as a sum of these weighted digits, where the coefficient for each power of three is between 0 and 2. For instance, the ternary representation 10310_3 denotes 1×31+0×30=31 \times 3^1 + 0 \times 3^0 = 3 in decimal notation.[20][4] A notable variant is balanced ternary, which employs the digits -1, 0, and 1 (commonly symbolized as $ \overline{1} $, 0, and 1 or -, 0, +) to achieve a unique and unambiguous representation for every integer, including negatives, without the need for a separate sign bit or leading zeros. Here, the place values remain powers of three, functioning as weights for the coefficients -1, 0, or 1, enabling compact encoding of both positive and negative values. For example, the balanced ternary number 1131\overline{1}_3 equals 1×31+(1)×30=31=21 \times 3^1 + (-1) \times 3^0 = 3 - 1 = 2 in decimal. This structure ensures that every integer can be uniquely converted to a sum of distinct powers of three multiplied by these coefficients, facilitating efficient arithmetic operations like addition and subtraction directly on the digits.[21][4] The historical roots of numeral representations trace back to ancient Chinese counting rods, used from the Warring States period (circa 5th century BCE) through the 17th century CE, where rods arranged on a board allowed positional notation.[22] In modern computing, balanced ternary finds application in error detection mechanisms, such as ternary Berger codes, which enable self-checking circuits to detect faults in data storage and transmission by leveraging the three-state logic for improved reliability over binary equivalents.[23]

In Combinatorics and Graph Theory

In combinatorics, the expression 3n3^n enumerates the signed subsets of an nn-element set, where each element may be included with a positive sign (+1), included with a negative sign (-1), or omitted (assigned 0). This count arises from the three choices available for each of the nn elements, corresponding to the cardinality of the set of all functions from the nn-element set to {1,[0](/page/0),1}\{-1, [0](/page/0), 1\}.[24] Similarly, Hanner polytopes, a family of convex polytopes constructed recursively via Cartesian products and polar duals starting from line segments, possess exactly 3d3^d faces in dimension dd, achieving the minimum number of faces among unconditional polytopes of that dimension.[25] The expression 3n3^n also appears in basic enumerative problems, such as counting the total number of ternary strings of length nn, where each position can be one of three symbols (e.g., 0, 1, or 2). This follows directly from the 3n3^n possible assignments, one for each position.[24] In the context of lattice paths, 3n3^n counts the unrestricted walks of length nn on the plane (or higher dimensions) using a step set of three directions, such as east (1,0), north (0,1), and northeast (1,1), since each step offers three independent choices without constraints on the endpoint.[26] In graph theory, 3n/33^{n/3} provides the Moon–Moser bound on the maximum number of maximal cliques in an nn-vertex graph, achieved when nn is divisible by 3 by the complete multipartite graph K3,3,,3K_{3,3,\dots,3} with n/3n/3 parts of size 3 each; in this Turán graph T(n,n/3)T(n, n/3), the maximal cliques are precisely the transversals selecting one vertex from each part, yielding 3n/33^{n/3} such cliques.[27] For example, when n=12n=12, this construction on 12 vertices produces exactly 34=813^4 = 81 maximal cliques. The Bron–Kerbosch algorithm, a backtracking procedure for enumerating all maximal cliques in an undirected graph, has a worst-case time complexity of O(3n/3)O(3^{n/3}) in its version with pivoting, matching the Moon–Moser bound on the output size and thus optimal up to polynomial factors for graphs achieving the maximum number of maximal cliques.[28]

Applications in Geometry and Large-Scale Structures

In Fractal Geometry

In fractal geometry, powers of three frequently appear in the iterative construction of self-similar fractals, where scaling factors of $ \frac{1}{3} $ or removal of middle thirds dictate the geometry at each stage. For instance, the Cantor set is generated by starting with the unit interval [0,1] and iteratively removing the open middle third of each remaining subinterval; after $ n $ iterations, this leaves $ 2^n $ closed subintervals, each of length $ \frac{1}{3^n} $. The Hausdorff dimension of the Cantor set is $ \frac{\log 2}{\log 3} $, reflecting the scaling ratio of 3 and multiplicity of 2 per iteration. Similarly, the Koch snowflake begins with an equilateral triangle and replaces each side with four segments of length one-third the original in each iteration, adding protrusions scaled by $ \frac{1}{3} $; this process increases the perimeter while bounding an area that converges to a finite value. The curve's Hausdorff dimension is $ \frac{\log 4}{\log 3} $, arising from the factor of 4 in segment multiplication against the linear scaling of $ \frac{1}{3} $. The Sierpinski triangle is constructed by subdividing an equilateral triangle into four smaller congruent triangles using midpoints and removing the central one, repeating on the remaining three; at iteration $ n $, this yields $ 3^n $ smallest upward-pointing triangles, each with side length $ \left( \frac{1}{2} \right)^n $.[29] Its Hausdorff dimension is $ \frac{\log 3}{\log 2} $, determined by the triplication of substructures at half-scale.[29] In three dimensions, the Menger sponge starts with a cube divided into 27 smaller cubes of side $ \frac{1}{3} $ and removes the central cube and the six face centers, leaving 20 subcubes; after $ n $ iterations, it consists of $ 20^n $ cubes, each of side length $ \frac{1}{3^n} $.[30] The sponge's Hausdorff dimension is $ \frac{\log 20}{\log 3} $, capturing the 20-fold replication at one-third scale.[30] These iterative processes highlight the role of powers of three in defining fractal scaling, where inverse powers $ \frac{1}{3^n} $ govern size reduction and positive powers like $ 3^n $ or $ 20^n $ count the proliferating substructures.

In Hyperbolic and Large Numbers

In hyperbolic geometry, structures involving powers of three arise in tilings and packings that leverage three-fold symmetry to model the exponential expansion of space. The order-3 apeirogonal tiling, denoted by the Schläfli symbol {,3}\{\infty, 3\}, is a regular paracompact tiling of the hyperbolic plane in which three apeirogons (infinite-sided polygons) meet at each vertex. This configuration reflects the negative curvature of hyperbolic space, where the number of elements—such as vertices or edge segments—at geodesic distance nn from a central vertex grows exponentially, with the growth rate governed by the tiling's adjacency structure rooted in the vertex degree of 3. Such tilings provide a framework for understanding large-scale geometric arrangements, where the iterative replication of triangular vertex figures leads to hierarchical expansions analogous to powers of three in discrete models. Horoball packings in hyperbolic 3-space further illustrate this connection, as they represent optimal density arrangements in ideal cell decompositions derived from regular honeycombs with triangular facets. For instance, packings associated with certain Coxeter groups achieve high densities through symmetric distributions involving three-way branching at vertices, resulting in layered structures where the number of horoballs scales exponentially with depth, effectively incorporating factors of 3n3^n in the cardinality of successive layers for certain group actions. These packings highlight how powers of three contribute to bounding volumes and covering efficiencies in unbounded hyperbolic domains. Powers of three also underpin some of the largest finite numbers in mathematics, particularly through iterated exponentiation in Ramsey theory. Graham's number GG, named after Ronald Graham, serves as an upper bound for the smallest dimension nn such that any 2-coloring of the edges of the complete graph on the 2n2^n vertices of an n-dimensional hypercube guarantees a monochromatic K4K_4 consisting of four coplanar vertices with all six connecting edges the same color. This problem, a specific instance of multidimensional Ramsey theory, ensures the existence of ordered substructures in large combinatorial systems. The bound GG vastly exceeds simple exponential growth, illustrating the scale required for such guarantees in high dimensions.[31] The construction of Graham's number employs Knuth's up-arrow notation, introduced by Donald Knuth to compactly denote hyperoperations beyond exponentiation. The notation defines ab=aba \uparrow b = a^b, ab=a(a(b1))a \uparrow\uparrow b = a \uparrow (a \uparrow\uparrow (b-1)) with a1=aa \uparrow\uparrow 1 = a, and extends to more arrows for higher iterations:
32=33=27,33=327=7,625,597,484,987,34=33273. 3 \uparrow\uparrow 2 = 3^3 = 27, \quad 3 \uparrow\uparrow 3 = 3^{27} = 7{,}625{,}597{,}484{,}987, \quad 3 \uparrow\uparrow 4 = 3 \uparrow^{3^{27}} 3.
Tetration 3n3 \uparrow\uparrow n already surpasses 3n3^n dramatically for n>2n > 2, as it stacks exponents iteratively. Graham's number is then g64g_{64}, where g1=33g_1 = 3 \uparrow\uparrow\uparrow\uparrow 3 (three up-arrows between three 3's, equivalent to a power tower of 3's of immense height), and gk=3gk13g_k = 3 \uparrow^{g_{k-1}} 3 for k2k \geq 2, with the superscript indicating the number of up-arrows. This 64-fold iteration yields a number incomprehensible in scale, where even the number of digits defies standard computation. Tetration and higher operations with base 3 thus provide the explosive growth needed to bound multicolored Ramsey numbers like R(3,3,3)R(3,3,3) in higher dimensions.[32] This construction originated in the context of a 1971 paper by Graham and Bruce Rothschild, which proved a generalized Ramsey theorem for nn-parameter sets, establishing that sufficiently large sets partitioned into finitely many classes contain monochromatic combinatorial lines. Applying this to hypercube edge colorings yields the theoretical foundation for the bound, with the iterated powers of three ensuring the result holds across escalating dimensional complexities. The paper's insights into parameter words and partitions directly inform the hypercube problem, marking a seminal contribution to combinatorial bounds on large-scale structures.

References

User Avatar
No comments yet.