Prime factorization of 5,845

5845  = 51*71*1671