Hi has anyone coded up integer factorization? I want, for example, R> factorize(60) $primes [1] 2 3 5 $powers [1] 2 1 1 (actually, I want the divisor function $\sigma_a(n)$, but coding this up requires integer factorization). -- Robin Hankin Uncertainty Analyst Southampton Oceanography Centre European Way, Southampton SO14 3ZH, UK tel 023-8059-7743