This is the code for single integer, how can it extend to arbitrarily large input by passing list as a parameter?
(define (factors n) (define (*factors