Talk:List rooted trees

From Rosetta Code
Revision as of 20:59, 20 August 2015 by rosettacode>Craigd (Question about enumerating ways to nest)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Definition of ways to nest

If I understand correctly, OEIS A81 lists the number of unique ways n bags can be nested, eg 9 for 5 bags. The task description states "As an example output, run 5 bags. There should be 12 ways.". In addition, "( () (()) () )" is considered different from "( (()) () () )". Please explain.