Solutions for the Project Euler and CheckiO problems