#!/usr/bin/python
import re,sys,os
import pyprimes


if __name__=="__main__":
	count = 0
	for num in xrange(1,int(sys.argv[1])):
		if(pyprimes.isprime(2*num*num -1)):
			count+=1
	print(count)
	

9e4dbdb41c9b4095fe9fa5bfc6eff191aa6492c9
<mask token>

<mask token>
if __name__ == '__main__':
    count = 0
    for num in xrange(1, int(sys.argv[1])):
        if pyprimes.isprime(2 * num * num - 1):
            count += 1
    print(count)

import re, sys, os
import pyprimes
if __name__ == '__main__':
    count = 0
    for num in xrange(1, int(sys.argv[1])):
        if pyprimes.isprime(2 * num * num - 1):
            count += 1
    print(count)

#!/usr/bin/python
import re,sys,os
import pyprimes


if __name__=="__main__":
	count = 0
	for num in xrange(1,int(sys.argv[1])):
		if(pyprimes.isprime(2*num*num -1)):
			count+=1
	print(count)
	
