- Timestamp:
- Nov 12, 2009, 10:54:43 AM (15 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
- Children:
- 27bb97f5f06fab3d914b8889b6cabffbc4df28b6
- Parents:
- 590f9892b373e02f15eb1e8ab30127dac15b384e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/crypto.lib
r590f989 r82280d 24 24 Jacobi(a,n) the generalized Legendre symbol of a and n 25 25 primList(n) the list of all primes <=n 26 primL(q) allprimes p_1,...,p_r such that q<p_1*...*p_r26 primL(q) first primes p_1,...,p_r such that q<p_1*...*p_r 27 27 intPart(x) the integral part of a rational number 28 28 intRoot(m) the integral part of the square root of m … … 306 306 proc primL(number q) 307 307 "USAGE: primL(q); 308 RETURN: list of all primes p_1,...,p_r such that q<p_1*...*p_r 308 RETURN: list of the first primes p_1,...,p_r such that q>p_1*...*p_(r-1) 309 and q<p_1*...*p_r 309 310 EXAMPLE:example primL; shows an example 310 311 " … … 318 319 while(s<=q) 319 320 { 320 i ++;321 i=i+2; 321 322 j=1; 322 323 while(j<=size(re))
Note: See TracChangeset
for help on using the changeset viewer.