x*(-2 + 29*x - 197*x^2 + 894*x^3 - 3207*x^4 + 9614*x^5 - 24437*x^6 + 
   54044*x^7 - 104515*x^8 + 171900*x^9 - 236201*x^10 + 260993*x^11 - 
   198242*x^12 + 52539*x^13 + 137583*x^14 - 352825*x^15 + 401856*x^16 - 
   313122*x^17 + 242574*x^18 + 141320*x^19 - 157932*x^20 + 123208*x^21 - 
   557852*x^22 - 341726*x^23 - 173266*x^24 + 336171*x^25 + 1121619*x^26 + 
   1135140*x^27 + 577229*x^28 - 721609*x^29 - 2019980*x^30 - 2381008*x^31 - 
   1315778*x^32 + 927625*x^33 + 2963081*x^34 + 3436038*x^35 + 1936073*x^36 - 
   605252*x^37 - 2483131*x^38 - 2717734*x^39 - 1634235*x^40 - 258393*x^41 + 
   560312*x^42 + 665535*x^43 + 417335*x^44 + 174268*x^45 + 50737*x^46 + 
   10241*x^47 + 1372*x^48 + 110*x^49 + 4*x^50) + 
 2*(-1 + x)^2*(1 + x)*(1 + x^2)*(-1 + 2*x + x^2)*(-1 + 3*x + x^2)*
  (-1 + 2*x - x^2 + x^3 + 2*x^4 + x^5)*(-1 + 11*x - 56*x^2 + 206*x^3 - 
   658*x^4 + 1749*x^5 - 3790*x^6 + 6789*x^7 - 9692*x^8 + 11422*x^9 - 
   11895*x^10 + 7895*x^11 - 2259*x^12 - 1265*x^13 + 9275*x^14 - 6860*x^15 + 
   7078*x^16 - 8181*x^17 - 6543*x^18 - 6177*x^19 - 6211*x^20 + 3577*x^21 + 
   4248*x^22 + 5896*x^23 + 5787*x^24 + 5451*x^25 + 5986*x^26 + 4611*x^27 + 
   3570*x^28 + 3792*x^29 + 5043*x^30 + 5971*x^31 + 4854*x^32 + 2539*x^33 + 
   844*x^34 + 173*x^35 + 20*x^36 + x^37)*f[x] - 
 (-1 + x)^4*(1 + x)^2*(1 + x^2)^2*(-1 + 2*x + x^2)^2*(-1 + 3*x + x^2)*
  (-1 + 3*x + 3*x^2 + 4*x^3 + x^4)^2*(-1 + 2*x - x^2 + x^3 + 2*x^4 + x^5)^2*
  (1 - 5*x + 6*x^2 - 6*x^3 + 7*x^4 - x^5 + 2*x^6 + 4*x^7 + x^8)^2*f[x]^2
