Project Euler and Lego Mindstorms

I used Lego Mindstorms EV3 Intelligent Brick and Mindstorms programming platform (powered by National Instruments’ LabVIEW software) to solve Project Euler problem #1: Multiples of 3 and 5. And here’s the result:

Lego Mindstorms is all about building robots and programming them, but there’s no reason why EV3 Intelligent Brick couldn’t be used to other things as well. Like solving Project Euler problems 🙂

The image below is shows Lego Mindstorms LabVIEW solution to Euler problem #1 (spoiler warning: since I’ve already solved the problem #1, I verify the correct result in the LabVIEW code).

euler1_source
Project Euler Problem #1 solution (click to view larger)