Files
2022-02-28 08:59:21 +01:00

43 lines
805 B
Markdown
Raw Permalink 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: 5900f3f11000cf542c50ff03
title: 'Problema 132: Grandi fattori repunit'
challengeType: 5
forumTopicId: 301760
dashedName: problem-132-large-repunit-factors
---
# --description--
Un numero costituito interamente da uni è chiamato un repunit (ripetizione di uno). Definiremo $R(k)$ in modo che sia una repunit di lunghezza $k$.
Ad esempio, $R(10) = 1111111111 = 11 × 41 × 271 × 9091$, e la somma di questi fattori primi è 9414.
Trova la somma dei primi quaranta fattori primi di $R({10}^9)$.
# --hints--
`largeRepunitFactors()` dovrebbe restituire `843296`.
```js
assert.strictEqual(largeRepunitFactors(), 843296);
```
# --seed--
## --seed-contents--
```js
function largeRepunitFactors() {
return true;
}
largeRepunitFactors();
```
# --solutions--
```js
// solution required
```