me: > Should the divisors be sorted? Never mind, I'll use STL set. And it's already faster than Pari 8) ralf