Is 5,858 Prime?

No

5858  = 21*291*1011