n
xx
11
The hyperfactorial of a positive integer
n
11,22,...,nn
H(0)=1
The hyperfactorials were studied beginning in the 19th century by Hermann Kinkelin and James Whitbread Lee Glaisher. As Kinkelin showed, just as the factorials can be continuously interpolated by the gamma function, the hyperfactorials can be continuously interpolated by the K-function.
Glaisher provided an asymptotic formula for the hyperfactorials, analogous to Stirling's formula for the factorials:where
A ≈ 1.28243
According to an analogue of Wilson's theorem on the behavior of factorials modulo prime numbers, when
p
!!
The hyperfactorials give the sequence of discriminants of Hermite polynomials in their probabilistic formulation.