Primality test
Description
Primality Criteria the Miller-Rabin primality test can be applied directly to analyze terms generated by the sequence a_n = 2^(n-1)+2n+3, n ≥1 python implementation.
Files
Steps to reproduce
to analyze terms generated by the sequence a_n = 2^(n-1)+2n+3, n ≥1 python implementation. The following code computes the values in the sequence and applies the Miller-Rabin to determine if they are prime. python