freeCodeCamp/curriculum/challenges/english/08-coding-interview-prep/project-euler/problem-372-pencils-of-rays...

935 B

id challengeType title
5900f4e11000cf542c50fff3 5 Problem 372: Pencils of rays

Description

Let R(M, N) be the number of lattice points (x, y) which satisfy MNote: represents the floor function.

Instructions

Tests

tests:
  - text: <code>euler372()</code> should return 301450082318807040.
    testString: assert.strictEqual(euler372(), 301450082318807040, '<code>euler372()</code> should return 301450082318807040.');

Challenge Seed

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

euler372();

Solution

// solution required