No announcements

### Prime numbers

Ok, I figured out the first part, where it just has to be determined, whether the user entered number is prime or not. I already handed in the assignment
| 3 Replies | 7981 Views | Created by guy87 - Thursday, December 1, 2005 12:06 AM | Last reply by PaulYuk_MS - Friday, December 16, 2005 10:57 PM

### System.Numeric.BigInteger and prime numbers

Don't have any code for you but here's a paper on the Efficient Generation of Prime Numbers . Doesn't look to complicated to implement your self.
| 5 Replies | 6192 Views | Created by NightnessDruid - Saturday, July 10, 2010 6:50 PM | Last reply by NightnessDruid - Saturday, July 10, 2010 11:20 PM

### Prime Number Calculator

Hi JonathanSMB, In the General area, for a positive integer n, if all integers between 2 to remove are not divisible, then n is prime. Prime ...
| 5 Replies | 589 Views | Created by JonathanSMB - Saturday, August 29, 2015 1:38 PM | Last reply by Annlook - Monday, August 31, 2015 7:00 AM

### Prime Numbers Calculation Help Needed

Your "checks if number can be divisible by previously calculated primes" code is wrong. You need to iterate through the collection of previously calculated prime ...
| 7 Replies | 386 Views | Created by haagis99 - Thursday, May 28, 2015 9:21 AM | Last reply by Magnus (MM8) - Thursday, May 28, 2015 10:02 AM

### prime numbers

hey everyone i wrote some code that is suppose to get the prime number from the user and give its factors  but theres some error and i dont understand it, so can someone go over ...
| 2 Replies | 3642 Views | Created by kaceClosed - Tuesday, May 25, 2010 11:30 PM | Last reply by Family Tree Mike - Wednesday, May 26, 2010 12:14 AM

### wap to accept any number and then check if it is prime number or not

a 30-sec-search for 'VFP prime numbers' came up with this code from tushar on foxite.com: http
| 1 Replies | 613 Views | Created by moomrit - Wednesday, June 18, 2014 6:21 AM | Last reply by Tom Borgmann - Wednesday, June 18, 2014 8:09 AM

### Prime Number issue

prime checking here ' Else 'not a number End If Next It will go ...
| 6 Replies | 703 Views | Created by ShailendraRPhadke - Saturday, September 12, 2015 5:21 PM | Last reply by dbasnett - Monday, September 14, 2015 5:40 PM

### Prime numbers (and performance tool for C#)

Thanks for visiting my question ! I know how to generate Prime Number. My questions is as below: I have my algorithm for ...
| 1 Replies | 1932 Views | Created by bhattumang - Sunday, November 18, 2012 11:36 AM | Last reply by Riced - Sunday, November 18, 2012 11:49 AM

### Identifying Prime Numbers and not. How?

On 8/1/2011 9:03 PM, Charles Casas wrote: Can anyone help me on my configuration on how to indentify whether the numer is a prime number or not? ...
| 2 Replies | 1913 Views | Created by Charles Casas - Tuesday, August 2, 2011 1:03 AM | Last reply by Igor Tandetnik - Tuesday, August 2, 2011 1:12 AM

### Music from Prime Numbers

experiment after I saw a prime number generating Sub on the web somewhere. Dirty code, I know! But lots of comments! The mind loves ...
| 0 Replies | 268 Views | Created by Rory Satchtest - Sunday, March 19, 2017 9:51 PM

### Showing A Prime Number

Well, Hello. :) I'm making an Code that shows Prime Number Need Help. Thank you. Viorel_ has answered ...
| 4 Replies | 760 Views | Created by Claud Olvera - Sunday, June 8, 2014 6:12 AM | Last reply by Barry-Schwarz - Sunday, June 8, 2014 4:40 PM

### Prime numbers in C#

;           // Whether Prime Number                          int tmp, i, ...
| 3 Replies | 14971 Views | Created by AmrH - Monday, January 28, 2008 8:36 PM | Last reply by Gregory Massov - Wednesday, May 25, 2011 2:56 PM

### 1000 digit prime number

Assuming you want to find the prime number from 1-1000. The link below is 1-100. Modify it to become 1-1000. Think this should be a problem to ...
| 11 Replies | 1502 Views | Created by ali manek - Saturday, October 31, 2015 7:05 AM | Last reply by davidbaxterbrowne - Monday, November 2, 2015 7:34 PM

### Prime numbers function

to make the decision; so if we've exhausted the range, n must be prime; if the number is a factor, then it's not, otherwise repeat the test with the next number ...
| 6 Replies | 4289 Views | Created by JMCF125 - Saturday, November 10, 2012 11:21 PM | Last reply by JMCF125 - Sunday, November 11, 2012 5:53 PM

### Prime Numbers

Of course not. That makes no sense. Perhaps you should describe in words what a prime number is, and then write out in pseudo-code how to determine a ...
| 10 Replies | 4207 Views | Created by System Monitor - Saturday, July 4, 2009 1:27 AM | Last reply by davewilk - Saturday, July 4, 2009 11:42 AM

### Prime Numbers

Sorry, but I think I did not specify clearly what was needed. The question requires one column on the left to list 1 - 20 and the right column to list the prime ...
| 3 Replies | 4538 Views | Created by jonchai - Wednesday, April 9, 2008 10:16 AM | Last reply by jonchai - Saturday, April 12, 2008 12:02 PM

### Prime Number Generation in C#

http://blogs.microsoft.co.il/blogs/sasha/archive/2010/01/15/generating-prime-numbers-in-a-range-was-linq
| 6 Replies | 20864 Views | Created by igalk474 - Friday, February 4, 2011 3:20 PM | Last reply by igalk474 - Monday, February 25, 2013 10:00 AM

### Find Prime numbers program locks up with no error

)) Then TxtPrimeOut.Text &= i.ToString & "," '" is a prime Number") End If i += 1 ...
| 8 Replies | 646 Views | Created by Van wilderer - Sunday, October 5, 2014 9:33 PM | Last reply by Acamar - Monday, October 6, 2014 5:02 AM