2018-10-10 18:03:03 -04:00
---
id: 5900f4491000cf542c50ff5c
2021-02-06 04:42:36 +00:00
title: 'Problem 221: Alexandrian Integers'
2018-10-10 18:03:03 -04:00
challengeType: 5
2021-02-06 04:42:36 +00:00
forumTopicId: 301864
2021-01-13 03:31:00 +01:00
dashedName: problem-221-alexandrian-integers
2018-10-10 18:03:03 -04:00
---
2020-12-16 00:37:30 -07:00
# --description--
2018-10-10 18:03:03 -04:00
2021-02-06 04:42:36 +00:00
We shall call a positive integer A an "Alexandrian integer", if there exist integers p, q, r such that: A = p · q · r and 1/A = 1/p + 1/q + 1/r
2018-10-10 18:03:03 -04:00
2021-02-06 04:42:36 +00:00
<!-- TODO Use MathJax -->
2018-10-10 18:03:03 -04:00
2021-02-06 04:42:36 +00:00
For example, 630 is an Alexandrian integer (p = 5, q = − 7, r = − 18). In fact, 630 is the 6th Alexandrian integer, the first 6 Alexandrian integers being: 6, 42, 120, 156, 420 and 630.
2018-10-10 18:03:03 -04:00
2021-02-06 04:42:36 +00:00
Find the 150000th Alexandrian integer.
2018-10-10 18:03:03 -04:00
2020-12-16 00:37:30 -07:00
# --hints--
2018-10-10 18:03:03 -04:00
2021-02-06 04:42:36 +00:00
`euler221()` should return 1884161251122450.
2018-10-10 18:03:03 -04:00
```js
2020-12-16 00:37:30 -07:00
assert.strictEqual(euler221(), 1884161251122450);
2018-10-10 18:03:03 -04:00
```
2020-08-13 17:24:35 +02:00
2021-01-13 03:31:00 +01:00
# --seed--
## --seed-contents--
```js
function euler221() {
return true;
}
euler221();
```
2020-12-16 00:37:30 -07:00
# --solutions--
2021-01-13 03:31:00 +01:00
```js
// solution required
```