Page 1 sur 1

ifactor(#) => #1 * #2 * ... * #n

Publié : sam. avr. 20, 2024 1:44 am
par compsystems
Hello
It is important to show the complete factorization of a number, so is there a possibility of obtaining the product of factors without powers?

ifactor(18) [enter] 2^1*3^2
ifactor(18, '*') [enter] '2*3*3'

Re: ifactor(#) => #1 * #2 * ... * #n

Publié : sam. avr. 27, 2024 12:46 pm
par parisse
Will be available with ifactors(n,'*')

Re: ifactor(#) => #1 * #2 * ... * #n

Publié : dim. mai 12, 2024 2:33 pm
par compsystems
Tested on version 1.99.0 - 990 and it works excellently

ifactors(18,'*') [Enter] Returns 2*3*3