Prime numbers generator - 6 [2/2] | |||
. | |||
(Finds all prime numbers between 2 and 32000000002 - c#) | |||
Version: 240701Mo | |||
Previous version: 171005Th | |||
. | |||
Decades ago, I was a regular visitor to the Liaquat National Memorial Library in Karachi, where I spent countless hours reading books. Although I no longer remember how and when my first visit to the library happened, I still fondly remember spending several hours over many years in the library's reading hall, reading books on different subjects. While computer programming books were my primary interest, I also enjoyed reading books on various subjects and browsing through different newspapers. It was at this library that I first discovered books on Lisp and Prolog, but my true passion was for books on C programming language, and I was fortunate to find an impressive collection of high-quality titles on the subject. | |||
. | |||
The Liaquat National Memorial Library offered a serene and peaceful environment, conducive to learning. After a few visits, I realized that arriving early was crucial to securing a seat in the vast reading hall, which was always in high demand. This knowledge motivated me to arrive promptly on subsequent visits, ensuring that I could fully utilize the library's resources and enjoy the tranquil atmosphere. | |||
. | |||
The Liaquat National Memorial Library's proximity to PTV Karachi offered a thrilling bonus - glimpses of TV stars of the time, such as Subhani ba Yunus, during my visits. One afternoon, I even spotted the renowned Pakistani movie star, Mohammad Ali, standing by the library entrance, engaged in conversation with someone. I believe he was a federal minister at the time. Unfortunately, my focus was elsewhere, preoccupied with getting photocopied chapters of a Unix book, and I missed the opportunity to request his autograph. I still recall his tall stature, pinkish-white complexion, and warm smile. It's a memory I cherish, even if I didn't get his signature. | |||
. | |||
Let's come to the topic of this blog post. During one of my visits to the Liaquat National Memorial Library, I requested the latest edition of the Guinness Book of World Records. While browsing through its pages, I stumbled upon a fascinating entry about a competition to discover prime numbers with a larger number of digits than any previously known prime number. Since I was already familiar with the process of determining whether a number is prime or not, an idea struck me: why not use a computer to find some prime numbers myself? | |||
. | |||
Since then, I have been exploring various software applications at my disposal to develop programs for discovering a vast number of prime numbers. Over time, I have utilized a range of computers and softwares, which are listed as follows: | |||
. | |||
| |||
. | |||
Across various software platforms and at different times, I experimented with diverse methods for discovering prime numbers, including the 'long hand division method' and various iterations of the 'Sieve method'. Additionally, I persistently researched online, stumbling upon websites showcasing extensive lists of prime numbers, such as the first million prime numbers. This sparked a thought - I too have amassed a substantial collection of prime numbers on my computer's hard drive. Why not share my findings, even if I'm not the first to discover them, on the internet someday? | |||
. | |||
As a result, I reran the current version of my prime number finding application to explore prime numbers within various upper limits under 32000000002. Notably, when setting the upper limit to 20000000, I discovered approximately a little more than one million prime numbers. I'm sharing below some of the outputs from these prime number searches. So far the maximum I reached for continuous list of prime numbers is as follows: | |||
. | |||
| |||
. | |||
In previous version of this post I had shared a list of first "6542" prime numbers, under 2^16, I found using software made by me using C# 2010. In previous versions of this post I had also shared links to files containing first 1270607 prime numbers I found under 20000000 using an application I made in c# 2010. | |||
. | |||
Today in this post in the following I am shareing screeshots of the application which is under descussion in this post and this post's previous version. | |||
. | |||
. | |||
. | |||
Application Output | |||
Following are screenshots of the application I took at different stages of application. | |||
. | |||
(Application is loaded) | |||
. | |||
(Process is finished successfully) | |||
. | |||
. | |||
. | |||
| |||
. | |||
. | |||
If there are any mistakes then I will surely remove them whenever found. | |||
I will upload source code of application I made and used for generating above prime numbers in some near-future post some time else. | |||
. |
Monday, July 1, 2024
Prime numbers generator - 6 - 240701Mo
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment