freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-248-numbers-for-whi...

41 lines
704 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f4651000cf542c50ff77
title: 'Problem 248: Numbers for which Eulers totient function equals 13!'
challengeType: 5
forumTopicId: 301895
dashedName: problem-248-numbers-for-which-eulers-totient-function-equals-13
---
# --description--
The first number $n$ for which $φ(n) = 13!$ is $6\\,227\\,180\\,929$.
Find the ${150\\,000}^{\text{th}}$ such number.
# --hints--
`eulersTotientFunctionEquals()` should return `23507044290`.
```js
assert.strictEqual(eulersTotientFunctionEquals(), 23507044290);
```
# --seed--
## --seed-contents--
```js
function eulersTotientFunctionEquals() {
return true;
}
eulersTotientFunctionEquals();
```
# --solutions--
```js
// solution required
```