2021 OMA Intercolegial Level 2 Problem 1
The average of 16 numbers is equal to 168 . The numbers are modified as follows: 3 is subtracted from each of the first 8 numbers and 10 is added to each of the last 8 numbers. Determine the value of the average of the 16 numbers obtained.
Replace sorry in the template below with your solution.
See Answer Bank for acceptible answer declarations.
Mathlib version used by the checker is v4.29.0.
import Mathlib.Analysis.RCLike.Basic
def answer : ℝ := sorry
noncomputable
def List.Vector.mean (v : List.Vector ℝ 16) : ℝ :=
v.toList.sum / 16
def List.Vector.modify (v : List.Vector ℝ 16) : List.Vector ℝ 16 :=
List.Vector.ofFn <| fun i ↦
if i < 8 then
v.get i - 3
else
v.get i + 10
theorem solution : ∀ v : List.Vector ℝ 16, v.mean = 168 → (v.modify).mean = answer := sorry
Submit Solution
Login to submit a solution.
Recent Submissions
| # | User | Time (UTC) | Status |
|---|---|---|---|
| 477 | eltito.uwu | 2026-05-30T23:47 | Compilation error ⓘ |
| 440 | FelixMP | 2026-04-27T14:58 | PASSED ⓘ |
| 58 | kappa | Long time ago | PASSED ⓘ |
| 57 | kappa | Long time ago | PASSED ⓘ |
| 56 | kappa | Long time ago | PASSED ⓘ |
| 55 | cwrv | Long time ago | PASSED ⓘ |
| 53 | Kitsune | Long time ago | PASSED ⓘ |
| 52 | Kitsune | Long time ago | Compilation error ⓘ |
| 51 | Kitsune | Long time ago | Solution type mismatch ⓘ |
| 50 | ansar | Long time ago | PASSED ⓘ |