I have downloaded Mathematica to see if it is really that good. Many people use it.(adsbygoogle = window.adsbygoogle || []).push({});

I want to calculate the multiples of 5 from 0 to 100.

This seems pretty simple but I can't figure out a way to do it.

I can't use the Modulo % in mathematica.

I know that I should use Table. Is there any other function?

I have searched google too, but could not find a solution. If project euler was online, it would have been so helpful!

Please bear with me, I have never touched Mathematica until now.

I tried this code , but it does not work;

Code (Text):For[i = 0, i <= 100, i++,

If[Mod[i, 5] = 0, Print[i], Print["Not found"]

]

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# [Mathematica] Multiples of 5 from 0 to 100

**Physics Forums | Science Articles, Homework Help, Discussion**