2021 OMA Intercolegial Level 2 Problem 2
Maria writes a list of numbers using the following rule: if the last two numbers written are $a$ and $b$ , then the next number is $ab − 1$. The first two numbers were $1$ and $2$. Determine what number occupies position $2021$ in her list.
_Replace_ `sorry` _in the template below with your solution. See [Answer Bank](index.php?action=view_answers) for acceptible answer declarations. Mathlib version used by the checker is v4.28.0_.
import Mathlib.Algebra.Order.Group.Nat noncomputable def l : ℕ → ℤ | 0 => 1 | 1 => 2 | n + 2 => l (n + 1) * l n - 1 def answer : ℤ := sorry theorem solution : l (2021 - 1) = answer := sorry
Submit Solution
Login to submit a solution.
Recent Submissions
| # | User | Time (UTC) | Status |
|---|---|---|---|
| 273 | FelixMP | Long time ago | PASSED ⓘ |
| 176 | MateoCV | Long time ago | PASSED ⓘ |
| 65 | kappa | Long time ago | PASSED ⓘ |
| 64 | kappa | Long time ago | PASSED ⓘ |
| 63 | cwrv | Long time ago | PASSED ⓘ |
| 62 | Kitsune | Long time ago | PASSED ⓘ |
| 60 | Iván Renison | Long time ago | PASSED ⓘ |