Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-362-squarefree-factors.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* 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>
2021-01-12 19:31:00 -07:00

47 lines
893 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4d61000cf542c50ffe9
title: 问题362无广义因子
challengeType: 5
videoUrl: ''
dashedName: problem-362-squarefree-factors
---
# --description--
考虑数字54. 54可以用7种不同的方式分解为大于154,2×27,3×18,6×9,3×3×6,2×3×9和2×的一个或多个因子3×3×3。如果我们要求所有因子都是无平方的则只剩下两种方式3×3×6和2×3×3×3。
让我们调用Fsfnn可以计算为一个或多个大于1的无平方因子的方式的数量因此Fsf54= 2。
对于k = 2到n令Sn为ΣFsfk
S100= 193。
找到S10 000 000 000
# --hints--
`euler362()`应该返回457895958010。
```js
assert.strictEqual(euler362(), 457895958010);
```
# --seed--
## --seed-contents--
```js
function euler362() {
return true;
}
euler362();
```
# --solutions--
```js
// solution required
```