Algosim documentation: FactorizedExpression

FactorizedExpression

Returns a string containing the factorisation of an integer.

Syntax

Description

If n is an integer, then FactorizedExpression(n) returns a string containing the factorisation of n, in primes if possible.

Examples

FactorizedExpression(27550816634880)
2⋅2⋅2⋅2⋅2⋅2⋅2⋅2⋅2⋅2⋅2⋅3⋅3⋅5⋅7⋅11⋅17⋅31⋅53⋅139
FactorizedExpression(27550816634881)
97⋅328543⋅864511
FactorizedExpression(−1458612)
−2⋅2⋅3⋅3⋅31⋅1307
FactorizedExpression(0)
0
FactorizedExpression(1)
1

See also