945 B
945 B
id, title, challengeType, forumTopicId, dashedName
| id | title | challengeType | forumTopicId | dashedName |
|---|---|---|---|---|
| 5900f45d1000cf542c50ff70 | 問題 241: 完全商 | 5 | 301888 | problem-241-perfection-quotients |
--description--
正の整数 n について、n の約数の総和を σ(n) とします。例えば、σ(6) = 1 + 2 + 3 + 6 = 12 です。
周知のとおり、完全数とは σ(n) = 2n が成り立つ数です。
正の整数の完全商 (perfect quotient) を p(n) = \frac{s(n)}{n} と定義します。
p(n) が k + \frac{1}{2} (ここで k は整数) となる正の整数 n ≤ {10}^{18} の総和を求めなさい。
--hints--
perfectionQuotients() は 482316491800641150 を返す必要があります。
assert.strictEqual(perfectionQuotients(), 482316491800641150);
--seed--
--seed-contents--
function perfectionQuotients() {
return true;
}
perfectionQuotients();
--solutions--
// solution required