Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-233-lattice-points-on-a-circle.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

43 lines
705 B
Markdown

---
id: 5900f4551000cf542c50ff68
title: 'Problem 233: Lattice points on a circle'
challengeType: 5
forumTopicId: 301877
dashedName: problem-233-lattice-points-on-a-circle
---
# --description--
Let f(N) be the number of points with integer coordinates that are on a circle passing through (0,0), (N,0),(0,N), and (N,N).
It can be shown that f(10000) = 36.
What is the sum of all positive integers N ≤ 1011 such that f(N) = 420 ?
# --hints--
`euler233()` should return 271204031455541300.
```js
assert.strictEqual(euler233(), 271204031455541300);
```
# --seed--
## --seed-contents--
```js
function euler233() {
return true;
}
euler233();
```
# --solutions--
```js
// solution required
```