Vocabulary

math.combinatorics.private

Inputs

Outputs

Word description

Converts a positive integer n to factoradic form. The factoradic of an integer is its representation based on a mixed radix numerical system that corresponds to the values of n factorial.

Examples

Definition

math.combinatorics.private

Inputs

n | an integer |

Outputs

factoradic | a sequence |

Word description

Converts a positive integer n to factoradic form. The factoradic of an integer is its representation based on a mixed radix numerical system that corresponds to the values of n factorial.

Examples

USING: math.combinatorics.private prettyprint ;
859 factoradic .

{ 1 1 0 3 0 1 0 }

{ 1 1 0 3 0 1 0 }

Definition

This documentation was generated offline from a
`load-all`

image. If you want, you can also
browse the documentation from within the UI developer tools. See
the Factor website
for more information.

Factor 0.99 x86.64 (2173, heads/master-f3ee5c5979, Sep 18 2022 13:17:51)