partition - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


type/partition

check for an integer partition

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type( expr, 'partition' )

Parameters

expr

-

anything; any Maple expression

Description

• 

The call type( expr, 'partition' ) returns true if expr is a partition of a positive integer, and returns false otherwise.

• 

A partition of a positive integer  is a list [ ]. of positive integers , whose sum is equal to , and which is non-decreasing, that is, which satisfies  and , for  in .

Examples

(1)

(2)

(3)

(4)

(5)

(6)

See Also

combinat/partition

type/permlist

 


Download Help Document