Hyperfactorial

DOWNLOAD Mathematica Notebook Hyperfactorial

The hyperfactorial (Sloane and Plouffe 1995) is the function defined by

H(n)=K(n+1)
(1)
=product_(k=1)^(n)k^k,
(2)

where K(n) is the K-function.

The hyperfactorial is implemented in the Wolfram Language as Hyperfactorial[n].

For integer values n=1, 2, ... are 1, 4, 108, 27648, 86400000, 4031078400000, 3319766398771200000, ... (OEIS A002109).

HyperfactorialReImHyperfactorialContours

The hyperfactorial can also be generalized to complex numbers, as illustrated above.

The Barnes G-function and hyperfactorial H(z) satisfy the relation

 H(z-1)G(z)=e^((z-1)logGamma(z))
(3)

for all complex z.

The hyperfactorial is given by the integral

 H(z)=(2pi)^(-z/2)exp[(z+1; 2)+int_0^zln(t!)dt]
(4)

and the closed-form expression

 K(z)=exp[zeta^'(-1,z+1)-zeta^'(-1)]
(5)

for R[z]>0, where zeta(z) is the Riemann zeta function, zeta^'(z) its derivative, zeta(a,z) is the Hurwitz zeta function, and

 zeta^'(a,z)=[(dzeta(s,z))/(ds)]_(s=a).
(6)

H(z) also has a Stirling-like series

 H(z)∼Ae^(-z^2/4)z^(z(z+1)/2+1/12)×(1+1/(720z^2)-(1433)/(7257600z^4)+...)
(7)

(OEIS A143475 and A143476).

H(-1/2) has the special value

H(-1/2)=e^(-[(ln2)/3+12zeta^'(-1)]/8)
(8)
=2^(1/12)pi^(1/8)e^([gamma-1-zeta^'(2)/zeta(2)]/8)
(9)
=(A^(3/2))/(2^(1/24)e^(1/8)),
(10)

where gamma is the Euler-Mascheroni constant and A is the Glaisher-Kinkelin constant.

The derivative is given by

 (dH(x))/(dx)=H(x){1/2[1-ln(2pi)]+ln(Gamma(x+1))+x}.
(11)

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.