lean_workbook_plus_45849
ProvedLet the number of people be . Then handshakes take place, but if shakes hands with and shakes hands with , then we have counted this same handshake twice. Therefore, handshakes take place. Hence , so and the maximum value is .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_45849 (k : ℕ) (h₀ : 0 < k) (h₁ : (3 * k / 2) < 15) : k < 10 := by sorry
Source