Given n and k, return the kth permutation sequence. Note: Given n will be between 1 and 9 inclusive.
Code for the paper "Postprocessing of Ensemble Weather Forecasts Using Permutation-invariant Neural Networks" by Kevin Höhlein, Benedikt Schulz, Rüdiger Westermann and Sebastian Lerch. Parts of the ...