Is 504 a Twin Prime?

No

504 is not prime

504  = 23*32*71