Factor an integer number (may be negative or 1)