Is 1,587 Prime?

No

1587  = 31*232