mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-08 18:01:45 -04:00
855 B
855 B
id, title, challengeType, forumTopicId, dashedName
| id | title | challengeType | forumTopicId | dashedName |
|---|---|---|---|---|
| 5900f4e81000cf542c50fffa | Problema 379: conteggio del minimo comune multiplo | 1 | 302041 | problem-379-least-common-multiple-count |
--description--
Sia f(n) il numero di coppie (x, y) con x e y numeri interi positivi, per cui x ≤ y e il minimo comune multiplo di x e y è uguale a n.
Sia g la funzione sommatoria di f, cioè g(n) = \sum f(i) per 1 ≤ i ≤ n.
Ti è dato che g({10}^6) = 37\\,429\\,395.
Trova g({10}^{12}).
--hints--
leastCommonMultipleCount() dovrebbe restituire 132314136838185.
assert.strictEqual(leastCommonMultipleCount(), 132314136838185);
--seed--
--seed-contents--
function leastCommonMultipleCount() {
return true;
}
leastCommonMultipleCount();
--solutions--
// solution required