Is 7,040 Prime?

No

7040  = 27*51*111