Annotation of OpenXM_contrib/pari/src/test/in/number, Revision 1.1.1.1
1.1 maekawa 1: \p 38
2: \e
3: addprimes([nextprime(10^9),nextprime(10^10)])
4: bestappr(Pi,10000)
5: bezout(123456789,987654321)
6: bigomega(12345678987654321)
7: binomial(1.1,5)
8: chinese(Mod(7,15),Mod(13,21))
9: content([123,456,789,234])
10: contfrac(Pi)
11: contfrac(Pi,5)
12: contfrac((exp(1)-1)/(exp(1)+1),[1,3,5,7,9])
13: contfracpnqn([2,6,10,14,18,22,26])
14: contfracpnqn([1,1,1,1,1,1,1,1;1,1,1,1,1,1,1,1])
15: core(54713282649239)
16: core(54713282649239,1)
17: coredisc(54713282649239)
18: coredisc(54713282649239,1)
19: divisors(8!)
20: eulerphi(257^2)
21: factor(17!+1)
22: factor(100!+1,0)
23: factor(40!+1,100000)
24: factorback(factor(12354545545))
25: factorcantor(x^11+1,7)
26: centerlift(lift(factorff(x^3+x^2+x-1,3,t^3+t^2+t-1)))
27: 10!
28: factorial(10)
29: factormod(x^11+1,7)
30: factormod(x^11+1,7,1)
31: ffinit(2,11)
32: ffinit(7,4)
33: fibonacci(100)
34: gcd(12345678,87654321)
35: gcd(x^10-1,x^15-1,2)
36: hilbert(2/3,3/4,5)
37: hilbert(Mod(5,7),Mod(6,7))
38: isfundamental(12345)
39: isprime(12345678901234567)
40: ispseudoprime(73!+1)
41: issquare(12345678987654321)
42: issquarefree(123456789876543219)
43: kronecker(5,7)
44: kronecker(3,18)
45: lcm(15,-21)
46: lift(chinese(Mod(7,15),Mod(4,21)))
47: modreverse(Mod(x^2+1,x^3-x-1))
48: moebius(3*5*7*11*13)
49: nextprime(100000000000000000000000)
50: numdiv(2^99*3^49)
51: omega(100!)
52: precprime(100000000000000000000000)
53: prime(100)
54: primes(100)
55: qfbclassno(-12391)
56: qfbclassno(1345)
57: qfbclassno(-12391,1)
58: qfbclassno(1345,1)
59: Qfb(2,1,3)*Qfb(2,1,3)
60: qfbcompraw(Qfb(5,3,-1,0.),Qfb(7,1,-1,0.))
61: qfbhclassno(2000003)
62: qfbnucomp(Qfb(2,1,9),Qfb(4,3,5),3)
63: form=Qfb(2,1,9);qfbnucomp(form,form,3)
64: qfbnupow(form,111)
65: qfbpowraw(Qfb(5,3,-1,0.),3)
66: qfbprimeform(-44,3)
67: qfbred(Qfb(3,10,12),,-1)
68: qfbred(Qfb(3,10,-20,1.5))
69: qfbred(Qfb(3,10,-20,1.5),2,,18)
70: qfbred(Qfb(3,10,-20,1.5),1)
71: qfbred(Qfb(3,10,-20,1.5),3,,18)
72: quaddisc(-252)
73: quadgen(-11)
74: quadpoly(-11)
75: quadregulator(17)
76: quadunit(17)
77: sigma(100)
78: sigma(100,2)
79: sigma(100,-3)
80: sqrtint(10!^2+1)
81: znorder(Mod(33,2^16+1))
82: forprime(p=2,100,print(p," ",lift(znprimroot(p))))
83: znstar(3120)
84: getheap
85: print("Total time spent: ",gettime);
86: \q
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>