p = []
for i in range (2, 10 ** 4):
ok = True
for c in p:
if i % c == 0:
ok = False
break
if ok:
p += [i]
print len (p)
for n in range (2 ** 64 + 1, 2 ** 64 + 10 ** 5):
if n % (2 ** 8) == 0:
print 'n = %d, still searching...' % n
m = n
for q in p:
while m % q == 0:
m /= q
if m == 1:
print n
print n - 2 ** 64
break
cCA9IFtdCmZvciBpIGluIHJhbmdlICgyLCAxMCAqKiA0KToKCW9rID0gVHJ1ZQoJZm9yIGMgaW4gcDoKCQlpZiBpICUgYyA9PSAwOgoJCQlvayA9IEZhbHNlCgkJCWJyZWFrCglpZiBvazoKCQlwICs9IFtpXQpwcmludCBsZW4gKHApCgpmb3IgbiBpbiByYW5nZSAoMiAqKiA2NCArIDEsIDIgKiogNjQgKyAxMCAqKiA1KToKCWlmIG4gJSAoMiAqKiA4KSA9PSAwOgoJCXByaW50ICduID0gJWQsIHN0aWxsIHNlYXJjaGluZy4uLicgJSBuCgltID0gbgoJZm9yIHEgaW4gcDoKCQl3aGlsZSBtICUgcSA9PSAwOgoJCQltIC89IHEKCWlmIG0gPT0gMToKCQlwcmludCBuCgkJcHJpbnQgbiAtIDIgKiogNjQKCQlicmVhawo=