3 ms·
That's sometimes fun. But I also had lots of fun solving eg the first few Project Euler challenges with some math and pen and paper. (And sometimes a desktop
by eru 6y ago
That's sometimes fun. But I also had lots of fun solving eg the first few Project Euler challenges with some math and pen and paper. (And sometimes a desktop calculator.)
Eg https://projecteuler.net/problem=2 https://projecteuler.net/problem=2 "By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-valued terms." has a nice (almost) closed form solution that you only need a few integer multiplications and additions to evaluate.