Primality test

Published: 1 November 2026| Version 1 | DOI: 10.17632/8mm83nw7hy.1
Contributor:

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

Categories

Number Theory, Computational Number Theory, Prime Number, Distribution of Prime Numbers

Licence