Elementium Sign in
Contents

Values · Value

Factorial and combinations

n!, plus how many ways to pick r of n (in any order, or in order). For odds and lottery maths.

Free plan math.factorial

In a flow

“Works out factorial and combinations whenever a step wired to it needs the answer.”

6 of 49 → 13,983,816 ways

What it does

n!, plus how many ways to pick r of n (in any order, or in order). For odds and lottery maths. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under Values in the palette.

When to use it

Use it when a step needs a value worked out first: n!, plus how many ways to pick r of n (in any order, or in order). For odds and lottery maths.

When not to

For a value that never changes, type it into the setting instead of wiring a node.

Typical wiring

Sockets: settings you can wire

Out of (n) Number

The whole group.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 6.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Pick (r) Number

How many to pick.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 2.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Values it gives

n! Number

n times every number below it. e.g. 720

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

Any order Number

Ways to pick r of n. e.g. 15

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

In order Number

Ways to pick r of n in order. e.g. 30

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

Often next

Related in Values

Wires and sockets · Data values · Plans