public String toPolynomialString() {
		StringBuffer str = new StringBuffer();
		for ( BigInteger degree : degrees ) {
			if ( str.length() != 0 ) {
				str.append( " + " );
			}
			if ( degree.compareTo( BigInteger.ZERO ) == 0 ) {
				str.append( "1" );
			} else {
				str.append( "x^" + degree );
			}
		}
		return str.toString();
	}