Hyperfactorial
The hyperfactorial of a positive integer n, denoted H(n), is a mathematical function defined as the product H(n) = \prod_{k=1}^n k^k, where each integer k from 1 to n is raised to its own power.[1] This yields rapidly growing values, such as H(1) = 1, H(2) = 4, H(3) = 108, and H(4) = 27{,}648.[1][2] The term "hyperfactorial" was coined in 1995 by Neil J. A. Sloane and Simon Plouffe in their work on integer sequences, although the function itself was studied earlier in the 19th century.[1][3] It extends concepts from basic arithmetic products like the factorial, but with exponential growth due to the powering. It appears in the On-Line Encyclopedia of Integer Sequences (OEIS) as sequence A002109 and has been referenced in combinatorial mathematics texts, including Graham, Knuth, and Patashnik's Concrete Mathematics.[1][2][1] The function generalizes to complex numbers and relates to advanced special functions, such as the Barnes G-function via H(z-1) G(z) = e^{(z-1) \log \Gamma(z)}, and involves the Riemann zeta function in its closed-form expression K(z) = \exp[\zeta'(-1, z+1) - \zeta'(-1)] for \Re > 0, where K(z) is the K-function and H(z) = K(z+1).[1] Approximations like a Stirling-series analog provide asymptotic behavior: H(z) \sim A e^{-z^2/4} z^{z(z+1)/2 + 1/12} (1 + O(1/z^2)), highlighting its utility in analytic number theory.[1] These properties make the hyperfactorial relevant in studying highly divergent products and integrals involving logarithms of gamma functions.[1]Definition
Product Form
The hyperfactorial H(n) of a positive integer n is defined as the product H(n) = \prod_{k=1}^n k^k = 1^1 \cdot 2^2 \cdot \dots \cdot n^n. This formulation generalizes the factorial, which is a product of integers without the exponentiation, by incorporating successive powers in the terms.[1][2] By the standard convention for the empty product, H(0) = 1.[2] The notation H(n) is commonly used, though variations such as H_n appear in some contexts; it is also related to the K-function by H(n) = K(n+1), where K(m) = \prod_{k=1}^{m-1} k^k.[1][4]Recursive Form
The hyperfactorial function H(n) for positive integers n satisfies the recurrence relation H(n) = n^n \cdot H(n-1) for n \geq 1, with the base case H(0) = 1.[5] This formulation directly follows from the product definition H(n) = \prod_{k=1}^n k^k, as the final term n^n can be factored out, yielding H(n) = n^n \cdot \prod_{k=1}^{n-1} k^k = n^n \cdot H(n-1). This recursive structure provides a practical method for computing hyperfactorials iteratively, where each successive value builds upon the previous one by a single multiplication and exponentiation, enabling efficient evaluation for increasing integers without redundant calculations of earlier terms.[2][5] While the standard recursive form applies to non-negative integers, the hyperfactorial is not defined for negative integers in this manner due to issues with the base and powering operations, though analytic continuation extends the function to complex arguments via alternative representations such as integrals involving the gamma function.[5]Examples and Computation
Small Values
The hyperfactorial function exhibits rapid growth even for small inputs, with values computed recursively as H(n) = H(n-1) \times n^n for n \geq 1, starting from H(0) = 1.[1] To illustrate, the computation proceeds as follows:H(1) = 1^1 = 1,
H(2) = H(1) \times 2^2 = 1 \times 4 = 4,
H(3) = H(2) \times 3^3 = 4 \times 27 = 108.[2] The following table lists exact values of H(n) for n = 0 to n = 10:
| n | H(n) |
|---|---|
| 0 | 1 |
| 1 | 1 |
| 2 | 4 |
| 3 | 108 |
| 4 | 27,648 |
| 5 | 86,400,000 |
| 6 | 4,031,078,400,000 |
| 7 | 3,319,766,398,771,200,000 |
| 8 | 55,696,437,941,726,556,979,200,000 |
| 9 | 21,577,941,222,941,856,209,168,026,828,800,000 |
| 10 | 215,779,412,229,418,562,091,680,268,288,000,000,000,000,000 |