I wrote: > My prttn() calls ndsums() once for each > digit, so the whole thing is polynomial in the number of digits.
Correction: my prttn() function calls ndsums() at most 9 times per digit of n. That still provides run time polynomial in the length of the input. -- --Bryan -- http://mail.python.org/mailman/listinfo/python-list