By DePaul Dimadis
Choose your prefered Language: greek_flag uk_flag

The Mersenne numbers (integers and positive), even 𝑀𝑛 are in the form
𝑀𝑛 = 2n - 1
A Mersenne number is called Mersenne prime if it is the first number and the number 𝑛 is the first number.
B.C. the number 3 is Mersenne prime.
Write a program in C language that will register in a one-dimensional numeric table all of them
Mersenne prime numbers that are smaller than 10000. In the end, the table elements appear
as well as their number. (COMMENT: Mersenne prime less than 10000 are: 3, 7, 31, 127, 8191).