Is 6,040 Prime?

No

6040  = 23*51*1511