common factor in a list or array



 How do you factor an array?

factor( [a, a*b])

a*[1,b]




Thank you very much,
don burgess