Is 5,865 Prime?

No

5865  = 31*51*171*231