.mbtTOC{border:5px solid #f7f0b8;box-shadow:1px 1px 0 #EDE396;background-color:#FFFFE0;color:#707037;line-height:1.4em;margin:30px auto;padding:20px 30px 20px 10px;font-family:oswald,arial;display:block;width:70%}.mbtTOC ol,.mbtTOC ul{margin:0;padding:0}.mbtTOC ul{list-style:none}.mbtTOC ol li,.mbtTOC ul li{padding:15px 0 0;margin:0 0 0 30px;font-size:15px}.mbtTOC a{color:#0080ff;text-decoration:none}.mbtTOC a:hover{text-decoration:underline}.mbtTOC button{background:#FFFFE0;font-family:oswald,arial;font-size:20px;position:relative;outline:none;cursor:pointer;border:none;color:#707037;padding:0 0 0 15px}.mbtTOC button:after{content:"\f0dc";font-family:FontAwesome;position:relative;left:10px;font-size:20px}

Search

Tuesday 15 November 2022

Generating prime numbers

 Generating prime numbers

 
It is known that over the centuries, some people have been involved in discovering algorithms for generating prime numbers. One would not say that it is a difficult thing, as long as you evaluate such an algorithm mainly in terms of its usefulness.
 
An algorithm must be evaluated in terms of its application goals and also over time in terms of the applications for which it has proven itself suitable. Thus, the complexity of an algorithm cannot be a criterion for its evaluation.
 
For example, with regard to the generation of prime numbers, one could, first and foremost and rightly, refer to the Sieve of Eratosthenes or the model: y = 6 * x ± 1 where x = 1, 2, 3, 4, 5, 6, 7, ... and possibly some other algorithms.
 
But let's look at a new proposal of mine for a prime number generation algorithm, which is obviously easy to program, but also seems to have potential in practical applications of quantum mechanics and quantum computing, where, as we know, what we actually perceive (via classical physics) that is, with bits being counted as "0" or "1," and only one of the four possible states can exist at any time in space, in a quantum superposition state, all four of the possible states can co-exist in time and space simultaneously.
 
So, there is an algorithm that can generate prime numbers, essentially as the integer part of decimals resulting from an iterative inversion process, starting with the irrational decimal 0.43233208718590286890... and then all the products of this inversion process. See in the picture what I mean...



No comments:

Post a Comment