take a look at my code and some critique is greatly appreciated!
i'm sure it could be cleaner and more "mathmatically correct" but it computes and not bugged as far as i'm concerned. just the first problem is coded not the second one
pc=2
var=3
while (pc<1000):
div=2
var=var+2
while var%div!=0:
div=div+1
if var%div==0 and var==div:
pc=pc+1
print var