Hkn=(kn+k−1)=k!(n−1)!(n+k−1)! 重複組合せの上下反転 Hkn=(kn+k−1)=(n−1n+k−1)=Hn−1k combination with repetition combination with replacement comb_rep multi-choose