1.1 KiB
1.1 KiB
id | challengeType | title | videoUrl | localeTitle |
---|---|---|---|---|
5900f4de1000cf542c50fff0 | 5 | Problem 369: Badugi | 问题369:Badugi |
Description
设f(n)是选择n卡的方式的数量,其中4卡的子集是Badugi。例如,有2598960种方法可以从标准的52卡片组中选择5张卡片,其中514800包含4个卡片子集,这是Badugi,因此f(5)= 514800。
找到Σf(n)为4≤n≤13。
Instructions
Tests
tests:
- text: <code>euler369()</code>应该返回862400558448。
testString: 'assert.strictEqual(euler369(), 862400558448, "<code>euler369()</code> should return 862400558448.");'
Challenge Seed
function euler369() {
// Good luck!
return true;
}
euler369();
Solution
// solution required