def getAllFactors(n):
    """Get a list of factors of n
    Does not include 1 and n
     """
    factorList=[]
    for factors in range(2, n):
        if n%factors == 0:
            factorList.append(factors)
    return factorList