combinat::necklaces::fromContent – necklaces with prescribed content

The combinatorial class of necklaces with prescribed content

→ Examples

Details:

Example 1:

Here are all the necklaces containing three a's, one b, and two d's:

combinat::necklaces::fromContent([a, a, a, b, d, d])

math

Changes in MuPAD 3.1

New Function.