2020-09-29 22:09:04 +02:00

775 B

id, challengeType, title, forumTopicId
id challengeType title forumTopicId
5900f48f1000cf542c50ffa1 5 Problem 290: Digital Signature 301942

Description

How many integers 0 ≤ n < 1018 have the property that the sum of the digits of n equals the sum of digits of 137n?

Instructions

Tests

tests:
  - text: <code>euler290()</code> should return 20444710234716470.
    testString: assert.strictEqual(euler290(), 20444710234716470);

Challenge Seed

function euler290() {

  return true;
}

euler290();

Solution

// solution required