Is 6,594 Prime?

No

6594  = 21*31*71*1571