freeCodeCamp/curriculum/challenges/portuguese/10-coding-interview-prep/project-euler/problem-179-consecutive-pos...

640 B

id title challengeType forumTopicId dashedName
5900f41f1000cf542c50ff32 Problem 179: Consecutive positive divisors 5 301814 problem-179-consecutive-positive-divisors

--description--

Find the number of integers 1 < n < 107, for which n and n + 1 have the same number of positive divisors. For example, 14 has the positive divisors 1, 2, 7, 14 while 15 has 1, 3, 5, 15.

--hints--

euler179() should return 986262.

assert.strictEqual(euler179(), 986262);

--seed--

--seed-contents--

function euler179() {

  return true;
}

euler179();

--solutions--

// solution required