Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-266-pseudo-square-root.md
Oliver Eyton-Williams 0bd52f8bd1 Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00

753 B

id, title, challengeType, forumTopicId
id title challengeType forumTopicId
5900f4771000cf542c50ff89 Problem 266: Pseudo Square Root 5 301915

--description--

The divisors of 12 are: 1,2,3,4,6 and 12.

The largest divisor of 12 that does not exceed the square root of 12 is 3.

We shall call the largest divisor of an integer n that does not exceed the square root of n the pseudo square root (PSR) of n.

It can be seen that PSR(3102)=47.

Let p be the product of the primes below 190. Find PSR(p) mod 1016.

--hints--

euler266() should return 1096883702440585.

assert.strictEqual(euler266(), 1096883702440585);

--seed--

--seed-contents--

function euler266() {

  return true;
}

euler266();

--solutions--

// solution required