Euler "Swift" at the VMAs

See inside

Press the green flag to play.

This talks about Project Euler's problem #1, with a bonus challenge from Gauss.

If you think of something to add please help, I am trying to add information for Scratchers that are working through Project Euler problems.

Notes and Credits

"Find the sum of all the multiples of 3 or 5 below 1000." - PE

"If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is..." -PE


Gauss and Euler pictures from Wikimedia Commons, backdrop and background music from Scratch library.

Thanks to Scratch, Project Euler, Wikimedia, MIT's Learning Creative Learning, and you for making this planet a better place.

Thanks to Leonhard Euler and Carl Friedrich Gauss for their invaluable contributions to the world and their "swift" ways of thinking about maths.


Multiples of 3 - 3, 6, 9
Multiples of 5 - 5

Sum of 3, 5, 6, and 9 = 23

That was easy, you may have figured it out before reading this spoiler and may have even done it all in your head. But what about all multiples of 3 or 5 from 1 to 999?

(hint: not 3 or 5 or 15, just 3 or 5)

I think we'll need a faster way than counting them all up manually.

Think you have what it takes? Try Project Euler's problem #1 and see if you can code up your own solution in Scratch or another programming language! You can check to see if you get the answer right at Project Euler!

Comment about your experience or any feedback!

Euler is right! Gauss might have used a simple trick to calculate 1 - 100 to pull a clever prank on a teacher who some say may have been very mean to Gauss and the other students. If some stories are true about what happened, the trick he used was already known to some advanced mathematicians of his time. But Gauss was a child prodigy who may have figured it out on his own. No one really knows for sure how or even if it happened. Many sources have different things to say about this. You can read more about Euler, Gauss, and Gauss's famous prank at your library or at a credible online site. Before you do, see if you can figure out on your own how Gauss's legendary trick works! Can you figure out an easy way to quickly add together every whole number from 1 to 100? Maybe you'll find a different way than Gauss..

Do you like maths? Maybe you are the world's next Gauss or Euler!

There is no historical account that Gauss wore poorly-drawn designer sunglasses, but Euler is said to have had untreated eye problems that eventually led to blindness.

Shared: 25 Mar 2014 Modified: 28 Apr 2014
Favorite this project 3
Love this project 4
Total views 156
View the remix tree  1
More projects by smalltortoise