Been programming computers since I first was able to buy a Sinclair 88 at K-Mart back in the 80's. I hooked it up to the VHS on my TV and programmed in built-in Basic. Wow, 8 kilohertz of blazing speed!
Then, Basic, Pascal, C, C++, Visual C++, and my true love Matlab. Wow, this is just what I have been looking for- designed for mathematics from the ground up. Love it.
Bud in San Diego
How can I write a program that can display the first 50 consecutive prime numbers starting with 2?
Here's a small and very tight bit of code that will generate prime numbers up to any searchlimit you wish. It's fast too. On m...
4 years ago | 0