1.4 KiB
1.4 KiB
id, title, challengeType, forumTopicId, dashedName
id | title | challengeType | forumTopicId | dashedName |
---|---|---|---|---|
5900f4cf1000cf542c50ffe1 | 問題 354: 蜂の巣の中における距離 | 5 | 302014 | problem-354-distances-in-a-bees-honeycomb |
--description--
それぞれの部屋が辺長1の完全な正六角形であるような蜂の巣について考えます。

ある特定の部屋は女王蜂が占有しています。 正の実数 L
を用いて、女王蜂の部屋から L
の距離にある部屋 B(L)
を数えます (常に、ある部屋の中心から別の部屋の中心までを測ります)。蜂の巣の大きさは、ここで考えるあらゆる距離に対して十分な大きさであると仮定します。
例: B(\sqrt{3}) = 6
, B(\sqrt{21}) = 12
, B(111\\,111\\,111) = 54
B(L) = 450
となるような L ≤ 5 \times {10}^{11}
の数を求めなさい。
--hints--
distancesInHoneycomb()
は 58065134
を返す必要があります。
assert.strictEqual(distancesInHoneycomb(), 58065134);
--seed--
--seed-contents--
function distancesInHoneycomb() {
return true;
}
distancesInHoneycomb();
--solutions--
// solution required