Rosalind

Rosalind

I’m always on the look out for fun exercises to practice programming. I’ve already covered some of the problems in the Project Euler project (they get hard very quickly). Another great initiative I found was Rosalind. | Rosalind offers an array of...

Project Euler #5 – Smallest Multiple

Problem 5: 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? #initialize variables x = 1 #function to check if...