Some BCMATH programs involving primes
- The Lucas-strong base 2 pseudoprime test;
- Performing Proth's algorithm;
- Generating prime numbers;
- Finding the first probable prime p ≥ m;
- Finding the first probable prime p ≥ m, p=ak+b, where gcd(a,b)=1 and a > b > 0;
- Perfect-power testing;
- Factorisation of small n;
- Finding the least primitive root (mod p);
- Finding ordma.
Last modified 21st July 2006
Return to main page