chore(i18n,learn): processed translations (#44851)

This commit is contained in:
camperbot
2022-01-21 01:00:18 +05:30
committed by GitHub
parent f866718a3d
commit 5c868af2b8
1696 changed files with 159426 additions and 69 deletions

View File

@ -0,0 +1,44 @@
---
id: 5900f50e1000cf542c510020
title: 'Problem 416: A frog''s trip'
challengeType: 5
forumTopicId: 302085
dashedName: problem-416-a-frogs-trip
---
# --description--
A row of $n$ squares contains a frog in the leftmost square. By successive jumps the frog goes to the rightmost square and then back to the leftmost square. On the outward trip he jumps one, two or three squares to the right, and on the homeward trip he jumps to the left in a similar manner. He cannot jump outside the squares. He repeats the round-trip travel $m$ times.
Let $F(m, n)$ be the number of the ways the frog can travel so that at most one square remains unvisited.
For example, $F(1, 3) = 4$, $F(1, 4) = 15$, $F(1, 5) = 46$, $F(2, 3) = 16$ and $F(2, 100)\bmod {10}^9 = 429\\,619\\,151$.
Find the last 9 digits of $F(10, {10}^{12})$.
# --hints--
`frogsTrip()` should return `898082747`.
```js
assert.strictEqual(frogsTrip(), 898082747);
```
# --seed--
## --seed-contents--
```js
function frogsTrip() {
return true;
}
frogsTrip();
```
# --solutions--
```js
// solution required
```