#!/usr/bin/env python

# Find all primes in the given range using trial division

import sys
from trialdiv import trialdiv
from writeresults import writeresults

args = xrange(int(sys.argv[1]),int(sys.argv[2])+1)

primesFound = 0

for num in args:
	if(trialdiv(num)):
		primesFound += 1

writeresults("trialdiv",int(sys.argv[2])-int(sys.argv[1])+1,int(primesFound))

6ee1dd3dbb32a3704ebd838b472453cde14a71d3
<mask token>

<mask token>
for num in args:
    if trialdiv(num):
        primesFound += 1
writeresults('trialdiv', int(sys.argv[2]) - int(sys.argv[1]) + 1, int(
    primesFound))

<mask token>
args = xrange(int(sys.argv[1]), int(sys.argv[2]) + 1)
primesFound = 0
for num in args:
    if trialdiv(num):
        primesFound += 1
writeresults('trialdiv', int(sys.argv[2]) - int(sys.argv[1]) + 1, int(
    primesFound))

import sys
from trialdiv import trialdiv
from writeresults import writeresults
args = xrange(int(sys.argv[1]), int(sys.argv[2]) + 1)
primesFound = 0
for num in args:
    if trialdiv(num):
        primesFound += 1
writeresults('trialdiv', int(sys.argv[2]) - int(sys.argv[1]) + 1, int(
    primesFound))

#!/usr/bin/env python

# Find all primes in the given range using trial division

import sys
from trialdiv import trialdiv
from writeresults import writeresults

args = xrange(int(sys.argv[1]),int(sys.argv[2])+1)

primesFound = 0

for num in args:
	if(trialdiv(num)):
		primesFound += 1

writeresults("trialdiv",int(sys.argv[2])-int(sys.argv[1])+1,int(primesFound))
