Paycom Interview Question

Create an array of factors for a given integer