sommesetproduitscomposes.mw

TP11 : sommes et produits composés 

I. Calcul de sommes et produits composés 

Q1. 

> restart;
 

> ComposedSumByResultant:=proc(f,g,x)
local t; resultant(subs(x=t,f),subs(x=x-t,g),t) end:
 

> ComposedSumByResultant(x-alpha,x-beta,x);
 

`+`(`-`(alpha), x, `-`(beta))
 

> ComposedSumByResultant(x^2-2,x^2-3,x);
 

`+`(`*`(`^`(x, 4)), `-`(`*`(10, `*`(`^`(x, 2)))), 1)
 

> solve(%,x);
 

`+`(`-`(`*`(`^`(3, `/`(1, 2)))), `-`(`*`(`^`(2, `/`(1, 2))))), `+`(`*`(`^`(3, `/`(1, 2))), `*`(`^`(2, `/`(1, 2)))), `+`(`-`(`*`(`^`(3, `/`(1, 2)))), `*`(`^`(2, `/`(1, 2)))), `+`(`*`(`^`(3, `/`(1, 2)))...
 

Q2. 

> ComposedProductByResultant:=proc(f,g,x)
local t; resultant(subs(x=t,f),expand(t^degree(g,x)*subs(x=x/t,g)),t) end:
 

> ComposedProductByResultant(x-alpha,x-beta,x);
 

`+`(`-`(`*`(beta, `*`(alpha))), x)
 

> ComposedProductByResultant(x^2-2,x^2-3,x);
 

`*`(`^`(`+`(`-`(6), `*`(`^`(x, 2))), 2))
 

> solve(%,x);
 

`*`(`^`(6, `/`(1, 2))), `+`(`-`(`*`(`^`(6, `/`(1, 2))))), `*`(`^`(6, `/`(1, 2))), `+`(`-`(`*`(`^`(6, `/`(1, 2)))))
 

II. Polynômes de Cartier-Trinks 

Q3. 

> f:=x^7-7*x+3;
 

`+`(`*`(`^`(x, 7)), `-`(`*`(7, `*`(x))), 3)
 

> factor(f);
 

`+`(`*`(`^`(x, 7)), `-`(`*`(7, `*`(x))), 3)
 

Ceci prouve que f  est irréductible. 

Le discriminant peut être calculé de deux façons : soit en utilisant la fonction proposée par Maple 

> discrim(f,x);
 

37822859361
 

soit par un calcul de résultant 

> resultant(f,diff(f,x),x);
 

-37822859361
 

> sqrt(%%);
 

194481
 

Le discriminant est bien un carré parfait. 

Q4. 

> fplusf:=ComposedSumByResultant(f,f,x);
 

`+`(279936, `*`(11430720, `*`(x)), `*`(1680315840, `*`(`^`(x, 3))), `*`(7841473920, `*`(`^`(x, 4))), `*`(192036096, `*`(`^`(x, 2))), `-`(`*`(38477155815, `*`(`^`(x, 7)))), `*`(16467095232, `*`(`^`(x, ...
`+`(279936, `*`(11430720, `*`(x)), `*`(1680315840, `*`(`^`(x, 3))), `*`(7841473920, `*`(`^`(x, 4))), `*`(192036096, `*`(`^`(x, 2))), `-`(`*`(38477155815, `*`(`^`(x, 7)))), `*`(16467095232, `*`(`^`(x, ...
`+`(279936, `*`(11430720, `*`(x)), `*`(1680315840, `*`(`^`(x, 3))), `*`(7841473920, `*`(`^`(x, 4))), `*`(192036096, `*`(`^`(x, 2))), `-`(`*`(38477155815, `*`(`^`(x, 7)))), `*`(16467095232, `*`(`^`(x, ...
 

> factor(fplusf);
 

`*`(`+`(`*`(`^`(x, 7)), `-`(`*`(448, `*`(x))), 384), `*`(`^`(`+`(`*`(`^`(x, 21)), `*`(175, `*`(`^`(x, 15))), `-`(`*`(171, `*`(`^`(x, 14)))), `-`(`*`(2597, `*`(`^`(x, 9)))), `*`(630, `*`(`^`(x, 8))), `...
 

Le premier facteur correspond aux sommes de racines non distinctes et c'est le second qui nous intéresse : 

> ComposedProductByResultant(f,x-2,x);
 

`+`(`*`(`^`(x, 7)), `-`(`*`(448, `*`(x))), 384)
 

> f21:=op([2,1],%%);
 

`+`(`*`(`^`(x, 21)), `*`(175, `*`(`^`(x, 15))), `-`(`*`(171, `*`(`^`(x, 14)))), `-`(`*`(2597, `*`(`^`(x, 9)))), `*`(630, `*`(`^`(x, 8))), `-`(`*`(2601, `*`(`^`(x, 7)))), `*`(9261, `*`(`^`(x, 3))), `*`...
 

Il est bien irréductible, sinon factor aurait plus factorisé fplusf. 

Q5. 

La somme des triples des racines : 

> pol1:=ComposedProductByResultant(f,x-3,x);
 

`+`(6561, `-`(`*`(5103, `*`(x))), `*`(`^`(x, 7)))
 

La somme des 2α+β, où α et β sont racines distinctes : 

> pol2:=normal(ComposedSumByResultant(f,ComposedProductByResultant(f,x-2,x),x)/pol1);
 

`+`(`-`(4322297902051989), `-`(`*`(1215298217098980, `*`(x))), `*`(4000297598409987, `*`(`^`(x, 2))), `-`(`*`(6221234354216616, `*`(`^`(x, 3)))), `*`(6529321872866457, `*`(`^`(x, 4))), `-`(`*`(3679096...
`+`(`-`(4322297902051989), `-`(`*`(1215298217098980, `*`(x))), `*`(4000297598409987, `*`(`^`(x, 2))), `-`(`*`(6221234354216616, `*`(`^`(x, 3)))), `*`(6529321872866457, `*`(`^`(x, 4))), `-`(`*`(3679096...
`+`(`-`(4322297902051989), `-`(`*`(1215298217098980, `*`(x))), `*`(4000297598409987, `*`(`^`(x, 2))), `-`(`*`(6221234354216616, `*`(`^`(x, 3)))), `*`(6529321872866457, `*`(`^`(x, 4))), `-`(`*`(3679096...
 

Enfin, le résultat où les racines ne sont prises qu'une fois, mais à la puissance 6 à cause de l'ordre dans lequel elles peuvent être prises : 

> f35puiss6:=normal(ComposedSumByResultant(fplusf,f,x)/pol1/pol2^3);
 

`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
`+`(`-`(`*`(6338631426232866837702377472, `*`(x))), `-`(`*`(195969354927699466398965170176, `*`(`^`(x, 2)))), `*`(1610481910516943203949567016960, `*`(`^`(x, 3))), `*`(18178314564959996414580737703936...
 

> factors(f35puiss6);
 

[1, [[`+`(`-`(3456), `-`(`*`(4032, `*`(x))), `*`(110880, `*`(`^`(x, 2))), `-`(`*`(7056, `*`(`^`(x, 3)))), `-`(`*`(876624, `*`(`^`(x, 4)))), `*`(1674299, `*`(`^`(x, 7))), `-`(`*`(1568784, `*`(`^`(x, 6)...
[1, [[`+`(`-`(3456), `-`(`*`(4032, `*`(x))), `*`(110880, `*`(`^`(x, 2))), `-`(`*`(7056, `*`(`^`(x, 3)))), `-`(`*`(876624, `*`(`^`(x, 4)))), `*`(1674299, `*`(`^`(x, 7))), `-`(`*`(1568784, `*`(`^`(x, 6)...
 

> f35:=mul(fact[1]^(fact[2]/6),fact=%[2]);
 

`*`(`+`(`*`(`^`(x, 7)), `*`(14, `*`(`^`(x, 4))), `-`(`*`(42, `*`(`^`(x, 2)))), `-`(`*`(21, `*`(x))), 9), `*`(`+`(`-`(3456), `-`(`*`(4032, `*`(x))), `*`(110880, `*`(`^`(x, 2))), `-`(`*`(7056, `*`(`^`(x...
`*`(`+`(`*`(`^`(x, 7)), `*`(14, `*`(`^`(x, 4))), `-`(`*`(42, `*`(`^`(x, 2)))), `-`(`*`(21, `*`(x))), 9), `*`(`+`(`-`(3456), `-`(`*`(4032, `*`(x))), `*`(110880, `*`(`^`(x, 2))), `-`(`*`(7056, `*`(`^`(x...
 

> degree(f35,x);
 

35
 

Ce polynôme se factorise bien comme le produit d'irréductibles de degré 7 et 28, ce qui permet de conclure sur le groupe de Galois de f. 

III. Polynômes de Swinnerton-Dyer 

Q6. 

> maxexact:=7;
 

7
 

> T[0]:=X: p:=1:
for n to maxexact do p:=nextprime(p); T[n]:=expand(subs(X=X-sqrt(p),T[n-1])*subs(X=X+sqrt(p),T[n-1])) od;
 

 

 

 

 

 

 

 

 

 

 

 

 

 

2
`+`(`*`(`^`(X, 2)), `-`(2))
3
`+`(`*`(`^`(X, 4)), `-`(`*`(10, `*`(`^`(X, 2)))), 1)
5
`+`(`*`(`^`(X, 8)), `-`(`*`(40, `*`(`^`(X, 6)))), `*`(352, `*`(`^`(X, 4))), `-`(`*`(960, `*`(`^`(X, 2)))), 576)
7
`+`(46225, `*`(`^`(X, 16)), `-`(`*`(136, `*`(`^`(X, 14)))), `*`(6476, `*`(`^`(X, 12))), `-`(`*`(141912, `*`(`^`(X, 10)))), `*`(1513334, `*`(`^`(X, 8))), `-`(`*`(7453176, `*`(`^`(X, 6)))), `*`(13950764...
11
`+`(`*`(`^`(X, 32)), `-`(`*`(448, `*`(`^`(X, 30)))), `*`(84864, `*`(`^`(X, 28))), `-`(`*`(9028096, `*`(`^`(X, 26)))), `*`(602397952, `*`(`^`(X, 24))), `-`(`*`(26625650688, `*`(`^`(X, 22)))), `*`(23921...
`+`(`*`(`^`(X, 32)), `-`(`*`(448, `*`(`^`(X, 30)))), `*`(84864, `*`(`^`(X, 28))), `-`(`*`(9028096, `*`(`^`(X, 26)))), `*`(602397952, `*`(`^`(X, 24))), `-`(`*`(26625650688, `*`(`^`(X, 22)))), `*`(23921...
13
`+`(`*`(60261059130667890854325275719238, `*`(`^`(X, 32))), `-`(`*`(922739669127277027441017551584608, `*`(`^`(X, 30)))), `*`(11582497564629879101390954172990800, `*`(`^`(X, 28))), `-`(`*`(11844491234...
`+`(`*`(60261059130667890854325275719238, `*`(`^`(X, 32))), `-`(`*`(922739669127277027441017551584608, `*`(`^`(X, 30)))), `*`(11582497564629879101390954172990800, `*`(`^`(X, 28))), `-`(`*`(11844491234...
`+`(`*`(60261059130667890854325275719238, `*`(`^`(X, 32))), `-`(`*`(922739669127277027441017551584608, `*`(`^`(X, 30)))), `*`(11582497564629879101390954172990800, `*`(`^`(X, 28))), `-`(`*`(11844491234...
`+`(`*`(60261059130667890854325275719238, `*`(`^`(X, 32))), `-`(`*`(922739669127277027441017551584608, `*`(`^`(X, 30)))), `*`(11582497564629879101390954172990800, `*`(`^`(X, 28))), `-`(`*`(11844491234...
`+`(`*`(60261059130667890854325275719238, `*`(`^`(X, 32))), `-`(`*`(922739669127277027441017551584608, `*`(`^`(X, 30)))), `*`(11582497564629879101390954172990800, `*`(`^`(X, 28))), `-`(`*`(11844491234...
`+`(`*`(60261059130667890854325275719238, `*`(`^`(X, 32))), `-`(`*`(922739669127277027441017551584608, `*`(`^`(X, 30)))), `*`(11582497564629879101390954172990800, `*`(`^`(X, 28))), `-`(`*`(11844491234...
17
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
`+`(`*`(7087400216301248406935638938338547806673540992218610748799100702008031297565435625472, `*`(`^`(X, 32))), `-`(`*`(2401242393684342298366441903496765839225304133977375072931474387121726687669027...
 

Q7. 

> p:=prevprime(2^32);
 

4294967291
 

> for n to 6 do n,factor(T[n]), Factor(T[n]) mod p od;
 

>
 

 

 

 

 

 














 

Q8. 

> T:=X^2-2;
 

`+`(`*`(`^`(X, 2)), `-`(2))
 

> for i from 2 to 10 do st:=time();T:=ComposedSumByResultant(X^2-ithprime(i),T,X);print(i,time()-st) od:
 

 

 

 

 

 

 

 

 

2, 0.1e-2
3, 0.1e-2
4, 0.1e-2
5, 0.3e-2
6, 0.13e-1
7, 0.76e-1
8, .527
9, 4.740
10, 41.851
 

>