#include <CGAL/Polynomial.h>
#include <CGAL/Polynomial_traits_d.h>
#include <CGAL/Polynomial_type_generator.h>
int main(){
  
  PT_1::Gcd_up_to_constant_factor gcd_utcf;
  PT_1::Multivariate_content      mcontent;
  
  
  Poly_1 x = 
shift(Poly_1(1),1,0); 
 
  
  
  Poly_1 F = 21*(x-5)*(x*x-2); 
  Poly_1 G = 14*(x-3)*(x*x-2); 
  
  std::cout << "The univariate polynomial F: " << F << std::endl;
  std::cout << "The univariate polynomial G: " << G << std::endl;
  std::cout << "Common multivariate content:              " 
            << std::endl;
  std::cout << "The gcd of F and G:                       " 
            << std::endl;
  std::cout << "The gcd up to constant factor of F and G: " 
            << gcd_utcf(F,G)                      
            << std::endl;
  std::cout << "Same as canonicalized gcd of F and G:     " 
            << std::endl;
  
}