How can one return the factors of an integer in a list? e.g. list_factors(6); > [1,2,3,6]
? Is something like this possible? I looked through the documentation but didn't find anything like this tied to "factor" or "prime".
Asked
Active
Viewed 185 times
1

Rax Adaam
- 790
- 3
- 11
-
1`ifactors` returns the list of factors with their multiplicities. – Robert Dodier Jun 16 '21 at 20:15