Prime factorization of 6,987

6987  = 31*171*1371