Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for probablyPrimeLucas (0.14 sec)

  1. src/math/big/prime_test.go

    		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",
    		func(n nat) bool { return n.probablyPrimeLucas() && !n.probablyPrimeMillerRabin(1, true) },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 7.1K bytes
    - Viewed (0)
Back to top