Question: Factorization List Problem

I'd like to take the output of ifactor(n::posint), the prime factorization of n, and index the terms of the product to a list. ie: ifactor(256)=2^8 so [2,2,2,2,2,2,2,2]. or 135 -> (3^3)(5)->[3,3,3,5].
Any suggestions? 

Please Wait...