You may use this code in your projects (commercial or otherwise) subject to the understanding that you give appropriate credit to me in the documentation. And that you understand that there is no warranty whatsoever, implied or otherwise, on this software.
An example appropriate credit is: (note that it includes WHICH code is being referenced)
This product uses code for [WHATEVER] written by John Halleck, which is being used by his permission.
It would, as a matter of politeness, be nice to drop me a line and tell me what you have used it in.
This page is http://www.cc.utah.edu/~nahaj/factoring/code.html
This page was last modified on November 29th, 1999