prime alternating 3 to 17