Euler 5.

Liste des GroupesRevenir à cl lisp 
Sujet : Euler 5.
De : No_spamming (at) *nospam* noWhere_7073.org (B. Pym)
Groupes : comp.lang.lisp
Date : 17. Jun 2024, 14:18:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4p9jf$lcna$1@dont-email.me>
User-Agent : XanaNews/1.18.1.6
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
(divisible with no remainder) by all of the numbers from 1 to
20?

Scheme:

(apply lcm (iota 20 1))
 ===>
232792560

Date Sujet#  Auteur
17 Jun 24 o Euler 5.1B. Pym

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal