Is 4,587 Prime?

No

4587  = 31*111*1391