`QF/text/DPar` := TEXT(
`   `,
`FUNCTION:  DPar - list partitions with distinct parts`,
`   `,
`CALLING SEQUENCE:  DPar(n);  DPar(n,l);  DPar(n,k,l);`,
`   `,
`PARAMETERS:  n = a nonnegative integer`,
`             l = (optional) maximum number of parts allowed`,
`             k = (optional) maximum part size allowed`,
`   `,
`SYNOPSIS:`,
`  A partition of n is defined to be a non-increasing list of positive`,
`  integers with sum n. The members of the list are called parts.`,
`   `,
`  DPar(n) returns a list consisting of all partitions of n with no`,
`  repeated parts; i.e., each list is strictly decreasing.`,
`   `,
`  DPar(n,l) returns a list of all partitions of n with distinct parts,`,
`  restricted to those with at most l parts.`,
`   `,
`  DPar(n,k,l) returns a list of all partitions of n with distinct parts,`,
`  restricted to those with at most l parts and all parts <= k.`,
`   `,
`  In all cases, the list of partitions is arranged in reverse lex order.`,
`  `,
`EXAMPLES:`,
`  DPar(6);        yields           [[6], [5,1], [4,2], [3,2,1]]`,
`  DPar(8,2);      yields            [[8], [7,1], [6,2], [5,3]]`,
`  DPar(10,7,3);   yields  [[7,3], [7,2,1], [6,4], [6,3,1], [5,4,1], [5,3,2]]`,
`   `,
`SEE ALSO:  OPar, SF[Par]`,
NULL):

if `+`(0)=0 then # Maple V.4 or later
  print(INTERFACE_HELP(insert, topic=`QF/DPar`,
  helpfile=HomeLib, text=`QF/text/DPar`))
elif ceil(0)=0 then # Maple V.2 or V.3
  `help/QF/text/DPar`:=`QF/text/DPar`:
  save `help/QF/text/DPar`, cat(HomeLib,`/help/QF/text/DPar.m`);
fi:
