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

881 B

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

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);

Challenge Seed

function euler372() {

  return true;
}

euler372();

Solution

// solution required