Miller–Rabin primality test: Difference between revisions

m (→‎{{header|REXX}}: replaced all the output data with output from a newer run.)
Line 691:
<lang csharp>public static class RabinMiller
{
/*WARNING: this code does not work on all prime numbers tested n = 997 & n = 5087 and k = anything, 997 and 5097 are a prime numbers and it returns false*/
public static bool IsPrime(int n, int k)
{
Anonymous user