Prime factorization of 5,865

5865  = 31*51*171*231