Is 6,317 Prime?

Yes

6317  = 63171