Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-266-pseudo-square-root.english.md
Oliver Eyton-Williams bd68b70f3d Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00

65 lines
1020 B
Markdown

---
id: 5900f4771000cf542c50ff89
challengeType: 5
title: 'Problem 266: Pseudo Square Root'
forumTopicId: 301915
---
## Description
<section id='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.
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler266()</code> should return 1096883702440585.
testString: assert.strictEqual(euler266(), 1096883702440585);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler266() {
// Good luck!
return true;
}
euler266();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>