- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testPseudoprimes (0.15 sec)
-
src/math/big/prime_test.go
func TestMillerRabinPseudoprimes(t *testing.T) { testPseudoprimes(t, "probablyPrimeMillerRabin", func(n nat) bool { return n.probablyPrimeMillerRabin(1, true) && !n.probablyPrimeLucas() }, // https://oeis.org/A001262 []int{2047, 3277, 4033, 4681, 8321, 15841, 29341, 42799, 49141, 52633, 65281, 74665, 80581, 85489, 88357, 90751}) } func TestLucasPseudoprimes(t *testing.T) { testPseudoprimes(t, "probablyPrimeLucas",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 12:54:00 UTC 2019 - 7.1K bytes - Viewed (0)