Install libalgorithm-combinatorics-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libalgorithm-combinatorics-perl
Description:
module for the efficient generation of combinatorial sequences
Algorithm::Combinatorics is an efficient generator of combinatorial sequences. Algorithms are selected from the literature (work in progress). Iterators do not use recursion, nor stacks, and are written in C. See Math::Combinatorics for a pure-Perl module with similar (if less efficient) features.
Homepage: https://metacpan.org/release/Algorithm-Combinatorics
Version: 0.27-2build4
Section: universe/perl