Tags » Sieve

Using the Sieve of Eratosthenes

I was solving problem 10 on Project Euler the other day using C. The task was to find the sum of all prime numbers less than 2,000,000. 480 more words

Programming

"Parable About What To Say And What To Leave Unsaid"

Someone once asked Socrates:
— ’Do you know what your friend has told me about you?’
— ’Wait a second,’ Socrates stopped him. ’you should filter everything you intend to say through three sieves before you say it.’ 140 more words

MY DEEP THOUGHTS TURNED TO WORDS

The Morning After Thrill

A plush field of grass floats on a cool cup of tea
A league of ghosts draped in white stare back at me
Marching on in after hard labour… 30 more words

Poem

Spam

My heartfelt missives
to you: junk and spam filtrate
not the gold you seek

(290)

Eratosuite

The other day in class, we were looking at recurrence relations and how to solve them with the characteristic equation. Among the examples I gave was a recurrence that seemed to give a good number of primes numbers. 1,726 more words

Algorithms