Primality Test for Numbers of the Form Ap^n+w
arXiv:1306.4562 · doi:10.1016/j.jda.2015.03.003
Abstract
We propose an algorithm determining the primality of numbers where and and give example when . th reciprocity law is involved. The algorithm runs in polynomial time in for fixed and .