Paycom interview question

Create an array of factors for a given integer