#include #include #include using namespace std; int hensel(int p, int j, vector deri, vector red, int exp, int n, int er){ int t=0, fpri=0, ll=0, zz=0; long double yy=0; double qw, pff, ptt, fprit; if (exp<10){ er=0; for (int q=0; q coef; vector red; vector deri; cout<<"Introduce the degree of the polynomial: "; cin>>n; cout<<"Introduce the coefficients in order: "<>y; coef.push_back(y); } int a=2, b=3, z=0; vector pr; pr.push_back(2); while (b<30){ for (a=2; a*a<=b; a++){ if (b%a==0){ z=1; break; } } if (z==0){ pr.push_back(b); } z=0; b = b+2; } for (int i=0; i<15; i++){ for (int j=0; j