Here's a start
umbers=[True]*5001
index=2
primes=[]
while index<5000:
multiplier=2
while index*multiplier <= 5000:
Numbers[index*multiplier]=False
multiplier+=1
index+=1
while Numbers[index]==False and index < 5000:
index+=1
for x in range(0,5000):
if Numbers[x]==True:
primes.append(x)
x+=1
print primes
Chat with our AI personalities
The 1000th is 7919, so the 1001st is 7927.
There's no solution. For two primes to add to an odd number, one of them would have to be two. 63 isn't prime, so there's no solution.
67/100 is the only solution. The number 67 is prime.
The only way two prime numbers add up to an odd number is if one of them is 2. Since 95 isn't prime, there is no solution.
7 is a prime number!