Is 6,173 Prime?

Yes

6173  = 61731