Reference of Prime Numbers Formula



About Me
Photo Gallery







Prime numbers formula was discovered in 5th August 2003 by Seyyed Mohammad Reza Hashemi Moosavi English language                                                                                      Persian Language














Table of contents of the book

Table of Contents : Book of the discovery of prime numbers formula and its results

BySeyyed Mohammad Reza Hashemi Moosavi

Chapter 1 & Chapter 2 and Chapter 3 of the book Discovery of prime numbers formula and its results


Click here to view the chapter 1  of the book ---- Chapter 1 part A   ---- Chapter 1 part B

Click here to view the chapter 2 of the book

                                                                          Click here to view the chapter 3 of the book

horizontal rule


San Carlos, 29 y 30 de julio de 2009




Nieves Rivas R.

*Autodidacta en estudios matemáticos



En este trabajo se presenta una prueba de primalidad basada en algunos

teoremas que permiten crear las bases para su desarrollo y confiabilidad en

 tiempo polinomial. En otras palabras esta prueba de primalidad atiende el

problema sobre la determinación de si un número (n) dado es primo o no, y de

 igual forma se puede realizar un algoritmo con el cual obtener un número primo

aleatorio dada una entrada.Cuestión que es conocida como el problema de la

primalidad y todo esto nos conduce a resolver de una manera sencilla este

roblema el cual es el objetivo de esta investigación.

 Palabras claves: prueba, algoritmo, primo



This paper presents a primality test based on some theorems that allow to

 create the foundation for its development and reliability in polynomial time. In

 other words this test of primality addresses the problem of determining if a

 given number (n) is prime or not, and like wise and algorithm can be designed to

 get a random prime number, given an input. This fact is known as the problem of

primality and all this leads to simple way of solving this problem which is

 the objective of this research.

                                                                                        keywords: Test, Algorithm, Prime


Download The PDF File Of Primality Testón-de

horizontal rule


In order to buy the PDF file of The Discovery of Prime Numbers Formula and Its Results book just send ETH to amount of 0.066 to the Public Address of  0x62b59070BC3147f53a26AA935F6dB16B668ccd18                                                                

Public Address to Receive ETH 0x62b59070BC3147f53a26AA935F6dB16B668ccd18

Pay me via Trust Wallet:

or any other wallet that you trust.


Notice: Please send only Ethereum (ETH) to this address.

Sending any other coins may result in permanent loss.

Public Address of  0x62b59070BC3147f53a26AA935F6dB16B668ccd18

 phone: +995591041322

Weekdays 8:30am - 5:30pm GMT through WhatsApp


Send your Transaction Details to Email or use

the phone number through WhatsApp in order to inform.



Book of the discovery of prime numbers formula and its results & Other Top Researches

Price of the e-book is 121.00$  equals to 0.066 ETH that you should  send it to the website Wallet

with Public Address of  0x62b59070BC3147f53a26AA935F6dB16B668ccd18


Product details

  • Publisher ‏ : ‎ Meraje Ghalam Publications (July 16, 2016)
  • Publication date ‏ : ‎ July 16, 2016
  • Language ‏ : ‎ English
  • Print Length ‏ : ‎ 344 pages
  • ISBN-10 ‏ : ‎ 6009446791
  • ISBN-13 ‏ : ‎ 9786009446797
  • Item Weight ‏ : ‎ 488 grams
  • Best Sellers Rank: #390631 &
  • Price: 121.00 $

horizontal rule           

      last good news about                    

                               Alireza Magic Square

           by Seyyed Alireza Hashemi Moosavi


Magic squares of Seyyed Alireza Hashemi Moosavi publish date: 2021/13/07




Magic square of 3 by 3 by Seyyed Alireza Hashemi Moosavi


Magic square of 4 by 4 by Seyyed Alireza Hashemi Moosavi


Magic square of 5 by 5 by Seyyed Alireza Hashemi Moosavi


Magic square of 6 by 6 by Seyyed Alireza Hashemi Moosavi


Magic square of 7 by 7 by Seyyed Alireza Hashemi Moosavi


Magic square of 8 by 8 by Seyyed Alireza Hashemi Moosavi


Magic square of 9 by 9 by Seyyed Alireza Hashemi Moosavi


Magic square of 10 by 10 by Seyyed Alireza Hashemi Moosavi


Magic square of 11 by 11 by Seyyed Alireza Hashemi Moosavi


Magic square of 12 by 12 by Seyyed Alireza Hashemi Moosavi


Magic square of 13 by 13 by Seyyed Alireza Hashemi Moosavi


Magic square of 14 by 14 by Seyyed Alireza Hashemi Moosavi


Magic square of 15 by 15 by Seyyed Alireza Hashemi Moosavi


                                                                     horizontal rule

                                                             You can check the address to find the list below \

Notice: Unfortunately there is something that you can understand but I don't

 Alexa ranking of top million list of 1,000,000 Websites of the World that in the year of 2022 could

achieve the rank of #390631 in the top one million websites of the world.



#390631   Generalclick here to download the file top-1m.csv &




horizontal rule


                        You can freely download PDF file of chapter 1 . Book of the discovery of prime numbers formula and its results

                You can freely download PDF file of chapter 2 . Book of the discovery of prime numbers formula and its results

      You can freely download PDF file of chapter 3 . Book of the discovery of prime numbers formula and its results

horizontal rulehorizontal rule 




You can  Freely download  prime numbers formula package in an exe file format and executable in windows by Seyyed Alireza Hashemi Moosavi.

Using prime numbers formula software by Alireza is the best and quickest way to check numbers and find its prime or composite.


horizontal rulehorizontal rule














 Click here to freely download prime numbers formula software. Open source code by Seyyed Alireza Hashemi Moosavi based on H.M formula Prime numbers formula was discovered by Professor Seyyed Mohammadreza Hashemi Moosavi on 5th August 2003 .



     Note : You are just permitted to use the subject with mentioning the reference address of the 

Site. All rights reserved to & web designer Seyyed Alireza Hashemi Moosavi


horizontal rulehorizontal rule

Note : Prime numbers formula is one of the on-to generating functions for the prime numbers that for every natural number of "m" it generates all the prime numbers in order (3,5,7,2,11,13,2,17,19, ...).

The presented "H.M"  functions by discoverer (Prof. Seyyed Mohammad Reza Hashemi Moosavi) are six number  that four functions are by Wilson's theorem and one of them by Euler's function( ) and another one by sigma( ) functions and bracket ( ) functions are discovered by discoverer and the software of this function is lately produced.

horizontal rule

Note :  In Year of 2007 (AAAS) " National Association Of Academies Of Science " (USA) Awarded A++ grade (Equals to excellent) to the prime numbers formula and its results by Prof S.M.R Hashemi Moosavi.  

horizontal rule

Note :  The discovery of prime numbers formula and its results has been published under an article in journal of "Roshd of Borhan "  associated with the Ministry of Education in Iran.

horizontal rule


 More explain about discovery of prime numbers formula

 Infinity proof of prime numbers being was propound 300 years B.C. by Euclid and since that time great mathematicians like Euler tried to discover a formula to produce prime numbers. Many of other mathematicians after many other researches finally found that discovery of prime numbers formula is impossible and this problem will be unsolvable. This discovery shows that one of the complicated and unsolvable problems of mathematics was solved and this discovery proves that there could be no unsolvable problem. I spent twenty years of my life researching and I found this fact that I can't comeback from this path which I came through and I promised myself to keep on searching for the rest of my life to find the solution even if I couldn't achieve the proof.

horizontal rule


How to use this formula in mathematics and other sciences?

 One of the results of discovering the prime numbers formula is to achieve the solution of Riemann Zeta equation which is on of the popular universal unsolvable problems in mathematics and it's solution needs to achieve the number of the prime numbers for any desirable number of  N carefully (with prime numbers formula). Another result is to determine k-th desirable prime number and other uses are definition of prime numbers set, proof of infinity of twin prime pairs considering  to the conjectures of Gold Bach and Hardy, find the generator formula for Mersenne prime numbers and also very unknown and big prime numbers and other problems related to prime numbers. In fact the main use of this formula is in coding and decoding that usually use from very big prime numbers for this reason and in the past it was necessary to gain them with complicated mathematics methods and had a hard way to pass through But with presenting of prime numbers formula, definition of coding and decoding systems became easy and convenient.


After Euclid’s theory about infinite prime numbers in 300 B.C. Most of the mathematicians and other researchers have been curious to find a formula which could generates prime numbers. After many years later some mathematicians like Euler and Fermat presented some formulas to generate prime numbers limitedly. Great mathematicians like Hardy and Courant and many other researchers finally officially announced that such a formula can’t be found and to prove their wrong idea they started to publish some Algebraic theorems in their books. Furthermore, determining the number of prime numbers was very important problem. So Gauss and other mathematicians started to set some tables for them. We knew that so far there was no exact formula to determine the number of prime numbers exactly. This problem is known as Zeta Riemann equation which was one of the seven known unsolvable problems of the world that after my discovery on 5th August 2003, one of them is no more unsolvable with the prime numbers formula accurately you can absolutely generate all prime numbers to the nth one. Its consequent generate of prime numbers formula resulted in defining the set of prime numbers and so many other unbelievable results until now like breaking the code of RSA and AES by the use of prime numbers formula and other sets like Mersenne prime, perfect numbers and so many important sets and results just related to the field of number theory and basic sciences.

horizontal rulehorizontal rule

    Discovery of prime numbers formula by Prof. Seyyed Mohammadreza Hashemi Moosavi caused so many results in basic sciences that we will mention part of it in the following:

  • 1.         Distinction of prime numbers.

  • 2.       Defining a formula for generating prime numbers.

  • 3.       Definition of prime numbers set by using the generating function of prime numbers.

  • 4.       Defining a formula to generate the Mersenne prime numbers.

  • 5.       Determination of Nth prime number.

  • 6.       Solving Riemann Zeta equation by using the determination of the number of prime number less than or equal to arbitrary number N exactly.

  • 7.       The proof of guesses of Gold Buch and Hardy.

  • 8.       The proof of infinity of the prime twin couples.

  • 9.       Determining a general series of answer for Diophantine equations.

  • 10.   This formula has so many unknown applications in Cryptography, generating Titan Mersenne prime numbers and other sciences like solving NP.


Home | About Me | Article | Books | Photo Gallery | Contact

This site was last updated 09/18/22