The other day I needed a lot of primes in a hurry, and I judged that it would be quicker just to sit down and write a simple Sieve of Eratosthenes program from memory than to faff about trying to google up one that somebody had already written and that wasn't in some unhelpful language.
So I wrote one; then I disposed of the obvious bugs by checking its output rigorously for numbers up to 10; then I ran it for numbers up to 100 and didn't see anything obviously wrong (though I didn't look that hard). Then I wondered whether there was any good way to be more confident of its correctness.
On a whim, I made it generate all the primes up to 232, and fed the output text file to md5sum
(with Unix line endings). Then I pasted the resulting checksum into Google –
The silly thing is that if I'd tried to google for things like ‘md5sum of primes up to 232’, it wouldn't have been remotely successful. But once you already know what you think the answer is (at least in cases where it's a mess of digits), googling for that will tell you whether anyone else agreed with you.