C
Let $k$ be an even natural number. Show that $3 ^ k + 1$ is divisible by $2$ but not by $4$.
Replace sorry in the template below with your solution.
Mathlib version used by the checker is v4.29.0.
import Mathlib.Algebra.Ring.Parity theorem solution (k : ℕ) (hk : Even k) : 2 ∣ 3 ^ k + 1 ∧ ¬ 4 ∣ 3 ^ k + 1 := sorry
Submit Solution
Login to submit a solution.
Recent Submissions
| # | User | Time (UTC) | Status |
|---|---|---|---|
| 448 | BestCrazyNoob | 2026-05-19T21:06 | PASSED ⓘ |
| 406 | hbghlyj | 2026-04-03T07:28 | PASSED ⓘ |
| 405 | hbghlyj | 2026-04-03T07:21 | Compilation error ⓘ |
| 331 | tanakh | 2026-03-03T11:02 | PASSED ⓘ |
| 302 | batixx | 2026-02-27T17:55 | PASSED ⓘ |
| 299 | OmeWoetroe | 2026-02-26T18:37 | PASSED ⓘ |
| 214 | FelixMP | Long time ago | PASSED ⓘ |
| 105 | Plurm | Long time ago | PASSED ⓘ |
| 78 | cwrv | Long time ago | PASSED ⓘ |
| 61 | Michailus | Long time ago | PASSED ⓘ |