This file contains the first 100,000 primes as well as the C program
(frightfully primitive as it may be) which is used to calculate them.
They were calculated at using a Cray X-MP.
***Program Begins***
#include "stdio.h"
#include "math.h"
int number;
main()
{
printf("Which number do you wish to start the test with? ");
scanf("%d",&number);
printf("\n");
printf("I'm starting with number %d\n",number);
if (number<1) number=1;
if (number==1) printf("1\n");
if (number<=2) printf("2\n");
|