1.1 KiB
1.1 KiB
id | challengeType | title |
---|---|---|
5900f4c71000cf542c50ffd8 | 5 | Problem 346: Strong Repunits |
Description
We shall call a positive integer with this property a strong repunit. It can be verified that there are 8 strong repunits below 50: {1,7,13,15,21,31,40,43}. Furthermore, the sum of all strong repunits below 1000 equals 15864.
Find the sum of all strong repunits below 1012.
Instructions
Tests
tests:
- text: <code>euler346()</code> should return 336108797689259260.
testString: assert.strictEqual(euler346(), 336108797689259260, '<code>euler346()</code> should return 336108797689259260.');
Challenge Seed
function euler346() {
// Good luck!
return true;
}
euler346();
Solution
// solution required