Files
freeCodeCamp/curriculum/challenges/italian/10-coding-interview-prep/project-euler/problem-233-lattice-points-on-a-circle.md

43 lines
804 B
Markdown
Raw Permalink Normal View History

---
id: 5900f4551000cf542c50ff68
title: 'Problema 233: I punti di reticolo su un cerchio'
challengeType: 5
forumTopicId: 301877
dashedName: problem-233-lattice-points-on-a-circle
---
# --description--
Sia $f(N)$ il numero di punti con coordinate intere che sono su un cerchio che passa attraverso $(0,0)$, $(N,0)$,$(0,N)$, e $(N,N)$.
Si può dimostrare che $f(10000) = 36$.
Qual è la somma di tutti gli interi positivi $N ≤ {10}^{11}$ tali che che $f(N) = 420$?
# --hints--
`latticePointsOnACircle()` dovrebbe restituire `271204031455541300`.
```js
assert.strictEqual(latticePointsOnACircle(), 271204031455541300);
```
# --seed--
## --seed-contents--
```js
function latticePointsOnACircle() {
return true;
}
latticePointsOnACircle();
```
# --solutions--
```js
// solution required
```