Project euler : problem 005

Project Euler problems in Oforth . Feel free to post your own code.

Project euler : problem 005

Postby Franck » 29 Jul 2015 16:38

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?

Code: Select all
1 #lcm 20 seqEach
Franck
 
Posts: 145
Joined: 29 Oct 2014 19:01

Return to Project Euler in Oforth

Who is online

Users browsing this forum: No registered users and 1 guest

cron