Is 6,504 Prime?

No

6504  = 23*31*2711