Rockstar, 96 bytes
listen to N
X's0
T's0
while N-X
let X be+1
let D be N/X
turn up D
let T be+D is N/X and X
say T
Try it here (Code will need to be pasted in)
listen to N
X's0
T's0
while N-X
let X be+1
let D be N/X
turn up D
let T be+D is N/X and X
say T
Try it here (Code will need to be pasted in)