pyspeedup/concurrent/_primer.py
def BrutePrimitivityTest(n):
    '''Uses simple brute force calculation to determine primitivity.'''
    for i in range(2,int(math.sqrt(n)+1)):
        if n%i==0:
            return [i,n//i]
    return True
Uses simple brute force calculation to determine primitivity.
Uses simple brute force calculation to determine primitivity.
Uses simple brute force calculation to determine primitivity .
def BrutePrimitivityTest(n):
    for i in range(2,int(math.sqrt(n)+1)):
        if n%i==0:
            return [i,n//i]
    return True
def BrutePrimitivityTest ( n ) : for i in range ( 2 , int ( math . sqrt ( n ) + 1 ) ) : if n % i == 0 : return [ i , n // i ] return True
Uses simple brute force calculation to determine primitivity.
Uses simple brute force calculation to determine primitivity .
'''Uses simple brute force calculation to determine primitivity.'''
n