F = factor(210)
type(F)
<class 'sage.structure.factorization_integer.IntegerFactorization'>
F
2 * 3 * 5 * 7
list(F)
[(2, 1), (3, 1), (5, 1), (7, 1)]