chore: manual translations (#42811)

This commit is contained in:
Nicholas Carrigan (he/him)
2021-07-09 21:23:54 -07:00
committed by GitHub
parent a3395269a0
commit c4fd49e5b7
806 changed files with 8935 additions and 4378 deletions

View File

@ -8,20 +8,20 @@ dashedName: problem-119-digit-power-sum
# --description--
The number 512 is interesting because it is equal to the sum of its digits raised to some power: 5 + 1 + 2 = 8, and 83 = 512. Another example of a number with this property is 614656 = 284.
The number 512 is interesting because it is equal to the sum of its digits raised to some power: $5 + 1 + 2 = 8$, and $8^3 = 512$. Another example of a number with this property is $614656 = 28^4$.
We shall define an to be the nth term of this sequence and insist that a number must contain at least two digits to have a sum.
We shall define an to be the $n-th$ term of this sequence and insist that a number must contain at least two digits to have a sum.
You are given that a2 = 512 and a10 = 614656.
You are given that $a_2 = 512$ and $a_{10} = 614656$.
Find a30.
Find $a_{30}$.
# --hints--
`euler119()` should return 248155780267521.
`digitPowerSum()` should return `248155780267521`.
```js
assert.strictEqual(euler119(), 248155780267521);
assert.strictEqual(digitPowerSum(), 248155780267521);
```
# --seed--
@ -29,12 +29,12 @@ assert.strictEqual(euler119(), 248155780267521);
## --seed-contents--
```js
function euler119() {
function digitPowerSum() {
return true;
}
euler119();
digitPowerSum();
```
# --solutions--