> ifactors(72); [1, [[2, 3], [3, 2]]] is as close as you can get - but that's pretty close! Emeric asked: The command ifactor(72) yields 2^3 3^2. I would like to get [2,2,2,3,3].