Project Euler and OEIS code