Euler #7: 10001st Prime
Is that bearded bald guy really Eratosthenes of Cyrene? Who knows? We do know that he devised the prototypical sieve of prime numbers, put to use here.
Is that bearded bald guy really Eratosthenes of Cyrene? Who knows? We do know that he devised the prototypical sieve of prime numbers, put to use here.
Students of math everywhere make this mistake. I know I’ve made it. Have you? You’d be a liar if you say no. The problem pokes gentle fun at this common error.
“Base prime” is a nifty shortcut used here to calculate the least common multiple of a set of numbers. Imagine a giant Venn diagram of overlapping factors.
Never odd or even. Oozy rat in a sanitary zoo. Taco cat. A nut for a jar of tuna. Palindromes are cool. Instead of palindromic sentences, how about palindromic numbers?
“Man alone measures the hour. Man alone chimes the hour.” – Mitch Albom. We ain’t got all day, so we want to know just how performant these algorithms are.
Composite numbers are sieved out, while prime numbers fall through. Check out this totally amateur implementation of the Sieve of Eratosthenes.
The Fibonacci sequence pops up in surprising places, from rabbit breeding rates to sunflower seed arrangements. Some of its mysteries are unraveled herein.
Why code when you can sum? Although Project Euler aims to develop programming skills, their first problem doesn’t need it at all. Read more to find out how!
Drawing Collatz trees of numbers arranged in concentric doubling rings reveals an onion. Will it cause tears of misery or joy?
My account of my circumnavigation of Otisco Lake by kayak, while beset by winds and waves. A great learning experience. 3 down, 8 to go.