Prime factorization of 6,861

6861  = 31*22871