Is 3,989 Prime?

Yes

3989  = 39891