1.3 KiB
1.3 KiB
id | localeTitle | challengeType | title |
---|---|---|---|
5 | 5900f4351000cf542c50ff47 | 5 | Problem 200: Find the 200th prime-proof sqube containing the contiguous sub-string "200" |
Description
Los primeros cinco squbes son 72, 108, 200, 392 y 500.
Interesantemente, 200 también es el primer número para el cual no puede cambiar ningún dígito. un primo Llamaremos a esos números, prueba principal. El siguiente sqube de prueba principal que contiene la subcadena contigua "200" es 1992008.
Encuentre el sqube de prueba primordial número 200 que contiene la subcadena contigua "200".
Instructions
Tests
tests:
- text: <code>euler200()</code> debe devolver 229161792008.
testString: 'assert.strictEqual(euler200(), 229161792008, "<code>euler200()</code> should return 229161792008.");'
Challenge Seed
function euler200() {
// Good luck!
return true;
}
euler200();
Solution
// solution required