feat: enable new langs (#42491)

Enable italian and portuguese
This commit is contained in:
Nicholas Carrigan (he/him)
2021-06-15 00:49:18 -07:00
committed by GitHub
parent d8d6d20793
commit f25e3e69f8
3301 changed files with 423168 additions and 6 deletions

View File

@ -0,0 +1,40 @@
---
id: 5900f47e1000cf542c50ff90
title: 'Problem 273: Sum of Squares'
challengeType: 5
forumTopicId: 301923
dashedName: problem-273-sum-of-squares
---
# --description--
Consider equations of the form: a2 + b2 = N, 0 ≤ a ≤ b, a, b and N integer.
For N=65 there are two solutions: a=1, b=8 and a=4, b=7. We call S(N) the sum of the values of a of all solutions of a2 + b2 = N, 0 ≤ a ≤ b, a, b and N integer. Thus S(65) = 1 + 4 = 5. Find ∑S(N), for all squarefree N only divisible by primes of the form 4k+1 with 4k+1 < 150.
# --hints--
`euler273()` should return 2032447591196869000.
```js
assert.strictEqual(euler273(), 2032447591196869000);
```
# --seed--
## --seed-contents--
```js
function euler273() {
return true;
}
euler273();
```
# --solutions--
```js
// solution required
```