import math


def proper_divisors(x):
    """Returns the list of proper divisors of x, numbers
    less than n which divide evenly into x."""
    comp = []
    for num in range(1, math.floor(x/2) + 1):
        if x % num == 0:
                comp.append(num)
    return(comp)