Hexper v1.4.0 Factor View Source

Return the factorized number

Decomposition of a number:

3 ~> 1, 2, 3

Factorization of three - or 3! in math

3! = 1 x 2 x 3
3! = 6

Link to this section Summary

Functions

Will factor each number until the input one

Link to this section Functions

Will factor each number until the input one.

Example

For example Factor of 3 is: 1 x 2 x 3 = 6:

iex> Factor.of(3)
6