Project euler
Project Euler #3: Largest Prime FactorFinding the largest prime factor of 600851475143 — trial division, and why it's enough.
3 posts
Finding the largest prime factor of 600851475143 — trial division, and why it's enough.
Summing even Fibonacci numbers under 4 million — and finding the elegant closed pattern.
A clean O(1) solution using arithmetic series and inclusion-exclusion.