freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-290-digital-signatu...

769 B

id challengeType title
5900f48f1000cf542c50ffa1 5 Problem 290: Digital Signature

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() {
  // Good luck!
  return true;
}

euler290();

Solution

// solution required