* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
818 B
818 B
id, title, challengeType, videoUrl, dashedName
id | title | challengeType | videoUrl | dashedName |
---|---|---|---|---|
5900f4e61000cf542c50fff9 | 问题378:三角形三元组 | 5 | problem-378-triangle-triples |
--description--
设T(n)为第n个三角形数,因此T(n)=
n(n + 1)2
。
设dT(n)为T(n)的除数。例如:T(7)= 28且dT(7)= 6。
令Tr(n)为三元组数(i,j,k),使得1≤i<j <k≤n且dT(i)> dT(j)> dT(k)。 Tr(20)= 14,Tr(100)= 5772,Tr(1000)= 11174776。
找Tr(60 000 000)。给出答案的最后18位数字。
--hints--
euler378()
应该返回147534623725724700。
assert.strictEqual(euler378(), 147534623725724700);
--seed--
--seed-contents--
function euler378() {
return true;
}
euler378();
--solutions--
// solution required