
(* one dense and one sparse polynomial for testing polynomial summation *)

dp[x_]:=10 - 7*x + 10*x^2 + x^3 + 9*x^4 - 6*x^5 - 7*x^6 + x^7 - 7*x^8 - 9*x^10 +  5*x^11 - 2*x^12 + 6*x^13 - 8*x^14 - 8*x^15 + 3*x^16 - 8*x^17 + x^18 -  9*x^19 + 4*x^20 - 5*x^21 - 4*x^22 + 8*x^23 + 6*x^24 - 8*x^25 - x^26 +  9*x^28 + 2*x^29 + 4*x^30 - 2*x^31 + 10*x^32 - 9*x^33 - 10*x^34 + 4*x^35 -  x^36 - 10*x^37 + 6*x^38 + 8*x^40 - 3*x^41 + 6*x^42 - x^43 + 7*x^44 -  5*x^45 - 10*x^46 - 4*x^47 + 7*x^48 - 2*x^49 - 6*x^50 - 3*x^51 - 8*x^52 +  8*x^53 + 5*x^54 - 7*x^55 + 7*x^56 - 6*x^57 + 6*x^58 + 6*x^59 + 6*x^60 -  4*x^61 - 9*x^62 + 9*x^63 - 2*x^64 - 5*x^65 - x^66 - 6*x^67 + 8*x^68 +  2*x^69 - 10*x^70 - 4*x^71 - 4*x^72 + x^73 - 8*x^74 - 2*x^75 + 2*x^76 -  8*x^77 + 9*x^78 + 5*x^79 - 9*x^80 + x^81 - 6*x^82 + 10*x^83 + 10*x^84 -  2*x^85 + 10*x^86 + 4*x^87 - 9*x^88 - 2*x^89 - x^90 + x^91 - 4*x^92 -  8*x^93 + 9*x^94 + 7*x^95 - 9*x^96 + 5*x^97 + 4*x^98 - 2*x^99 - x^100;

sp[x_]:=729 x^123-1;
