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.34.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
912 Sul_A. 2026-10-04T20:09 PASSED ⓘ
911 Sul_A. 2026-10-04T19:55 Compilation error ⓘ
910 Sul_A. 2026-10-04T19:54 Compilation error ⓘ
909 Sul_A. 2026-10-04T18:43 PASSED ⓘ
908 Sul_A. 2026-10-04T18:40 PASSED ⓘ
907 Sul_A. 2026-10-04T18:27 Compilation error ⓘ
906 Sul_A. 2026-10-04T18:17 Compilation error ⓘ
905 Sul_A. 2026-10-04T18:15 Compilation error ⓘ
904 Sul_A. 2026-10-04T18:14 PASSED ⓘ
903 Sul_A. 2026-10-04T18:01 PASSED ⓘ
View all