Euler Logo

Can you solve these challenging mathematical/computer programming problems?