-   Miscellaneous Math (
-   -   Strengthening Damg ̊ard and Frandsen, and Khashin (

paulunderwood 2022-03-11 15:54

Strengthening Damg ̊ard and Frandsen, and Khashin
Strengthening Damg ̊ard and Frandsen[1], and Khashin[2]

I propose the test:


The Frobenius part's squaring during left-right binary exponentiation can be computed in 2 Selfridges for small c [2:2.2]:

(s*x+t)^2 == 2*s*t*x + (t+c*s)*(t+s) - (c+1)*s*t, where s and t are intermediate values.

Multiplication by the base x+1 is:

(s*x+t)*(x+1) = (t+s)*x + c*s+t.

Therefore the test is 1+2 Selfridges and has no known counterexamples so far... Do any of the authors mention the addition of the Euler PRP test?

[1] An Extended Quadratic Frobenius Primality Test with Average Case Error Estimates & Ivan Bjerre Damg ̊ard Gudmund Skovbjerg Frandsen, [url][/url]

[2] Counterexamples for Frobenius primality test, Sergey Khashin, [url][/url]

Edit: In order to prevent cyclotomic polynomials I add Mod(c,n)!=-3 and Mod(c,n)!=-1/3, the latter where gcd(3,n)==1

However a counterexample is [n, c]=[79786523, 2982522].

All times are UTC. The time now is 08:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.