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

895 B

id challengeType title videoUrl localeTitle
5900f48f1000cf542c50ffa1 5 Problem 290: Digital Signature Problema 290: Assinatura Digital

Description

Quantos inteiros 0 ≤ n <1018 têm a propriedade que a soma dos dígitos de n é igual à soma dos dígitos de 137n?

Instructions

Tests

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

Challenge Seed

function euler290() {
  // Good luck!
  return true;
}

euler290();

Solution

// solution required