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

928 B

id, challengeType, title
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

- 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