# Generators as Symbolic Exploration

First Domain Extension via Gamma Function

During the development of kk-dimensional figurate number generators in my libraries figuratenum and figurate_numbers, I encoded several sequences using the factorial and its companions.

Both the rising factorial nkn^{\overline{k}} and the classical factorial, interpreted as a special case of the falling factorial kkk^{\underline{k}}, are perhaps at their core a very natural way of counting dimensions and constructing geometric universes through monotonic multiplications along complementary paths.

Yet, seeking a different perspective to address my concerns, I often think of sequences as an enriched, serpentine wave connecting the discrete world of counting with the continuity of analysis (inspired by Artin’s book). The order in which I present the following winding identities simply reflects my personal taste.

Hk(n)=n(n+1)(n+k1)k(k1)(k2)1H_k(n)=\frac{n(n+1) \cdots (n + k - 1)}{k(k-1)(k-2) \cdots 1} =i=0k1(n+i)i=0k1(ki)=nkkk= \frac{ \prod_{i=0}^{k-1} (n + i)}{ \prod_{i=0}^{k-1} (k-i)} = \frac{n^{\overline{k}}}{k^{\underline{k}}} =Γ(n+k)Γ(n)Γ(k+1)=Γ(n+k)Γ(n)Γ(k+1)= \frac{\dfrac{\Gamma(n + k)}{\Gamma(n)}}{\Gamma(k + 1)} = \frac{\Gamma(n + k)}{\Gamma(n) \, \Gamma(k + 1)} =nkk!=(n+k1k)= \frac{n^{\overline{k}}}{k!} = \binom{n + k - 1}{k} =0τn+k1eτ dτ(0τn1eτ dτ)(0τkeτ dτ). = \frac{ \int_0^\infty \tau^{n+k-1} e^{-\tau} \ d\tau} {\left( \int_0^\infty \tau^{n-1} e^{-\tau} \ d\tau \right) \left( \int_0^\infty \tau^k e^{-\tau} \ d\tau \right)}.

All these expressions unite in the object called the k_hypertetrahedron Hk(n)H_k(n), following Figurate Numbers (2012), where combinatorics, geometry, and analysis converge.

On the purely combinatorial side, Hk(n)H_k(n) is tightly connected to integer partitions. In a geometry view, it counts the integer points (x1,,xk)Nk(x_1, \dots, x_k) \in \mathbb{N}^k satisfying the equation i=1kxi=n\sum_{i=1}^k x_i = n, forming a discrete kk-simplex. This often reminds me of a modified Tonnetz, where simplices tile symbolic space.

Finally, seen through the lens of the Gamma function it becomes malleable and extends to fractional or complex values Hk(z)H_k(z), provided the constraints on the real part are respected.

Towards a Symbolic Extension in Each Term

I have thought of building generators as a form of navigation. It is not just about producing sequences, but about following a winding path through ideas, like a symbolic river.

Although implementations may appear rigid for the sake of efficiency, as I mentioned in the previous post, I also included book-style versions. That choice made me reflect on the possibility of creating broader, more elegant functions.

def k_dimensional_hypertetrahedron_from_book(k: int) -> Generator[int]:
    """Book definition. For reference only."""
    delta = 1
    while True:
        yield rising_factorial(delta, k) // factorial(k)
        # One alternative under the analytic mantle:
        # yield pochhammer_symbol(delta, k) / gamma_func(k + 1)
        delta += 1

I always keep these ideas in mind as the conceptual foundation for designing generators more deeply rooted in different mathematical spaces. In that spirit, I hold on to this question:

If the symbolic expressions that define the figurate number are themselves the first elements generated by that figurate number: what new definition, equivalent yet amplified, whether combinatorial, geometric, algebraic, or analytic, emerges in a given dimension kk and at the nn-th term?

© 2025 Edgar Delgado Vega