10000 is the answer. The series begins with the number 3, and continues through 22, giving a 1 for each prime number, and a 0 for each number that is not prime.
Of the last 5 numbers (23-27), only 23 is prime.
Comments: (
You must be logged in to post comments.)