I know a injective map from $\mathbb{N}\times \mathbb{N} \to \mathbb{N}$ given by the following explicit map:
$(m,n) \to \frac{(m+n)(m+n-1)}{2}+m$.
I am very curious to generalize it for $\mathbb{N^t} \to \mathbb{N} $
I know there is a recursive map from, $\mathbb{N^t} \to \mathbb{N} $, by using the map I have written from $\mathbb{N}\times \mathbb{N} \to \mathbb{N}$. But I am interested to find out an explicit injective map from, $ \mathbb{N^t} \to \mathbb{N} $, surjectivity is not necessary. Moreover, I do not want exponential maps. I am interested in a map that move as slow as possible.
With a second thought, I think it's not that complicated.
We define $f(n_1, \dots, n_t) = \sum_{j = 1}^t \binom{\sum_{i = 1}^j n_i} j$. This is a direct generalization of the $t = 2$ case given in the question.
It is "easy" to check that this map gives a bijection from $\Bbb N^t$ to $\Bbb N$.