4 ms·
I've spent a good week of straight hours on primes by now, the most fun thing I've come up with was this boring sieve. https://github.com/alexlieberman/Prime-N
by lexlieberman 5y ago
I've spent a good week of straight hours on primes by now, the most fun thing I've come up with was this boring sieve.
https://github.com/alexlieberman/Prime-Numbers/blob/master/SixSieve.java https://github.com/alexlieberman/Prime-Numbers/blob/master/S...
- Tempest1981 5y agoCoding Ulam's Spiral is also fun: https://en.m.wikipedia.org/wiki/Ulam_spiral https://en.m.wikipedia.org/wiki/Ulam_spiral