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