34 lines
930 B
Markdown
34 lines
930 B
Markdown
---
|
||
id: 5900f49b1000cf542c50ffad
|
||
title: 问题302:强阿喀琉斯数
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --description--
|
||
|
||
如果p2是n中每个素数p的n的因数,则正整数n是有力的。
|
||
|
||
如果n可以表示为另一个正整数的幂,则正整数n是理想幂。
|
||
|
||
如果n是强大的,但不是完美的幂,则正整数n是阿喀琉斯数。 例如,864和1800是阿喀琉斯数字:864 = 25·33和1800 = 23·32·52。
|
||
|
||
如果S和φ(S)都是阿喀琉斯数,我们将正整数S称为强阿喀琉斯数.1 例如,864是强致命弱点数:φ(864)= 288 = 25·32。 但是,1800不是强阿喀琉斯数字,因为:(1800)= 480 = 25·31·51。
|
||
|
||
低于104的有7个强弱点和低于108的656。
|
||
|
||
1018以下有多少个强阿喀琉斯数字?
|
||
|
||
1φ表示欧拉的拉伸函数。
|
||
|
||
# --hints--
|
||
|
||
`euler302()`应该返回1170060。
|
||
|
||
```js
|
||
assert.strictEqual(euler302(), 1170060);
|
||
```
|
||
|
||
# --solutions--
|
||
|