Introduction:
In .net 4.0 microsoft introduced new namespace called System.Numerics with 2 struct's.One of them is a BigInteger-struct which can hold arbitary large numbers. When we use BigInteger.ToString() method it had a precision to 50 digit's.
Example:
I wrote this article to explain how to calculate large prime numbers using this struct.
Code:
Download the attached code. The attached file is a .rar file. Remove .zip from the extension.
Extended prime number finder Algorithm
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.
Sonu ChaudharyPosted Feb 25, 2016, 7:17 AM
nice article
Mahesh ChandPosted Dec 20, 2010, 8:18 AM
for sharing. But can you write little about how the algorithm is implemented.