Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00

773 B
Raw Blame History

id, title, challengeType, forumTopicId
id title challengeType forumTopicId
5900f45d1000cf542c50ff70 Problem 241: Perfection Quotients 5 301888

--description--

For a positive integer n, let σ(n) be the sum of all divisors of n, so e.g. σ(6) = 1 + 2 + 3 + 6 = 12.

A perfect number, as you probably know, is a number with σ(n) = 2n.

Let us define the perfection quotient of a positive integer asp(n)= σ(n)n . Find the sum of all positive integers n ≤ 1018 for which p(n) has the form k + 12, where k is an integer.

--hints--

euler241() should return 482316491800641150.

assert.strictEqual(euler241(), 482316491800641150);

--seed--

--seed-contents--

function euler241() {

  return true;
}

euler241();

--solutions--

// solution required