Is 503 Prime?

Yes

503  = 5031