http://qs321.pair.com?node_id=1198515


in reply to Faster alternative to Math::Combinatorics

Great, now I'm going to have Pie Iesu Domine running through my head all day. What you are looking for is "combinations with repetition", and Algorithm::Combinatorics has it.

Replies are listed 'Best First'.
Re^2: Faster alternative to Math::Combinatorics
by AppleFritter (Vicar) on Sep 01, 2017 at 16:27 UTC

    Great, now I'm going to have Pie Iesu Domine running through my head all day.

    Then my work here is done! ;) Thank you for the pointer, I'll look into this module!

    P.S. ...dona eis requiem! *bonk*