Piprimes: Difference between revisions

Content added Content deleted
Line 64: Line 64:
printf("%3d%1s",running,++count%10?"":"\n")
printf("%3d%1s",running,++count%10?"":"\n")
}
}
printf("\nPiPrimes 1-%d: %d\n",running,count)
printf("\nPiPrimes 1-%d: %d\n",running-1,count)
exit(0)
exit(0)
}
}
Line 89: Line 89:
18 18 18 18 18 18 19 19 19 19
18 18 18 18 18 18 19 19 19 19
20 20 21 21 21 21 21 21
20 20 21 21 21 21 21 21
PiPrimes 1-22: 78
PiPrimes 1-21: 78
</pre>
</pre>