A Primality test is a method ( or algorithm ) to find out if a certain number is a prime number .
A primality test is an algorithm for determining whether an input number is prime .