Is 5,151 Prime?

No

5151  = 31*171*1011