chore(i18n,curriculum): update translations (#43255)

This commit is contained in:
camperbot
2021-08-21 10:28:22 -07:00
committed by GitHub
parent bd7a6780a9
commit 7dfa94902d
13 changed files with 35 additions and 35 deletions

View File

@ -1,6 +1,6 @@
---
id: 5900f3d51000cf542c50fee6
title: 'Problem 104: Pandigital Fibonacci ends'
title: 'Problema 104: Extremidades do Fibonacci pandigital'
challengeType: 5
forumTopicId: 301728
dashedName: problem-104-pandigital-fibonacci-ends
@ -8,17 +8,17 @@ dashedName: problem-104-pandigital-fibonacci-ends
# --description--
The Fibonacci sequence is defined by the recurrence relation:
A sequência de Fibonacci é definida pela relação de recorrência:
$F_n = F_{n 1} + F_{n 2}$, where $F_1 = 1$ and $F_2 = 1$
$F_n = F_{n 1} + F_{n 2}$, onde $F_1 = 1$ e $F_2 = 1$
It turns out that $F_{541}$, which contains 113 digits, is the first Fibonacci number for which the last nine digits are 1 - 9 pandigital (contain all the digits 1 to 9, but not necessarily in order). And $F_{2749}$, which contains 575 digits, is the first Fibonacci number for which the first nine digits are 1 - 9 pandigital.
$F_{541} $, que contém 113 dígitos, é o primeiro número de Fibonacci para o qual os últimos nove dígitos são de 1a 9 pandigital (contém todos os dígitos de 1 a 9, mas não necessariamente em ordem). E $F_{2749}$, que contém 575 dígitos, é o primeiro número de Fibonacci para o qual os primeiros nove dígitos são 1 - 9 pandigital.
Given that $F_k$ is the first Fibonacci number for which the first nine digits AND the last nine digits are 1 - 9 pandigital, find `k`.
Dado que $F_k$ é o primeiro número de Fibonacci para o qual os primeiros nove dígitos E os últimos nove dígitos são de 1 a 9 pandigital, encontre `k`.
# --hints--
`pandigitalFibonacciEnds()` should return `329468`.
`pandigitalFibonacciEnds()` deve retornar `329468`.
```js
assert.strictEqual(pandigitalFibonacciEnds(), 329468);

View File

@ -1,6 +1,6 @@
---
id: 5900f3971000cf542c50feaa
title: 'Problem 43: Sub-string divisibility'
title: 'Problema 43: Divisibilidade de substrings'
challengeType: 5
forumTopicId: 302100
dashedName: problem-43-sub-string-divisibility
@ -8,49 +8,49 @@ dashedName: problem-43-sub-string-divisibility
# --description--
The number, 1406357289, is a 0 to 9 pandigital number because it is made up of each of the digits 0 to 9 in some order, but it also has a rather interesting sub-string divisibility property.
O número 1406357289 é um número pandigital de 0 a 9 porque é composto por cada um dos dígitos de 0 a 9, mas tem também uma propriedade de divisão de suas substrings bastante interessante.
Let $d_1$ be the $1^{st}$ digit, $d_2$ be the $2^{nd}$ digit, and so on. In this way, we note the following:
Considere que $d_1$ seja o 1º dígito, $d_2$ seja o 2º dígito, e assim por diante. Desta forma, podemos perceber o seguinte:
- ${d_2}{d_3}{d_4} = 406$ is divisible by 2
- ${d_3}{d_4}{d_5} = 063$ is divisible by 3
- ${d_4}{d_5}{d_6} = 635$ is divisible by 5
- ${d_5}{d_6}{d_7} = 357$ is divisible by 7
- ${d_6}{d_7}{d_8} = 572$ is divisible by 11
- ${d_7}{d_8}{d_9} = 728$ is divisible by 13
- ${d_8}{d_9}{d_{10}} = 289$ is divisible by 17
- ${d_2}{d_3}{d_4} = 406$ é divisível por 2
- ${d_3}{d_4}{d_5} = 063$ é divisível por 3
- ${d_4}{d_5}{d_6} = 635$ é divisível por 5
- ${d_5}{d_6}{d_7} = 357$ é divisível por 7
- ${d_6}{d_7}{d_8} = 572$ é divisível por 11
- ${d_7}{d_8}{d_9} = 728$ é divisível por 13
- ${d_8}{d_9}{d_{10}} = 289$ é divisível por 17
Find the sum of all 0 to `n` pandigital numbers with sub-strings fulfilling `n - 2` of these divisibility properties.
Calcule a soma de todos os números pandigitais de 0 a `n` com `n - 2` substrings que cumprem as propriedades de divisibilidade (2, 3, 5, 7, 11, 13 e 17).
**Note:** Pandigital numbers starting with `0` are to be considered in the result.
**Observação:** os números pandigitais que começam com `0` devem ser considerados no resultado.
# --hints--
`substringDivisibility(5)` should return a number.
`substringDivisibility(5)` deve retornar um número.
```js
assert(typeof substringDivisibility(5) === 'number');
```
`substringDivisibility(5)` should return `12444480`.
`substringDivisibility(5)` deve retornar `12444480`.
```js
assert.strictEqual(substringDivisibility(5), 12444480)
```
`substringDivisibility(7)` should return `1099210170`.
`substringDivisibility(7)` deve retornar `1099210170`.
```js
assert.strictEqual(substringDivisibility(7), 1099210170)
```
`substringDivisibility(8)` should return `1113342912`.
`substringDivisibility(8)` deve retornar `1113342912`.
```js
assert.strictEqual(substringDivisibility(8), 1113342912)
```
`substringDivisibility(9)` should return `16695334890`.
`substringDivisibility(9)` deve retornar `16695334890`.
```js
assert.strictEqual(substringDivisibility(9), 16695334890)