做测试 登录 English
← 练习 944 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
数字 (38)
质数 (31)
分数、小数与取整函数 (18)
因数、最大公约数与最小公倍数 (36)
整除 (59)
进制 (15)
同余 (42)
整数方程 (27)

练习及解答

练习 944
Let $S$ be a subset of $\{1,2,\dots,40\}$ such that no two distinct elements have a sum divisible by $7$. What is the largest possible size of $S$?
← 返回第 944 题
解答
  1. Mod $7$, classes $1,\dots,5$ have $6$ elements and classes $6,0$ have $5$.
  2. $S$ takes at most one multiple of $7$ and at most one class from each pair $\{1,6\},\{2,5\},\{3,4\}$.
  3. So $|S|\le1+6+6+6=\boxed{19}$, attained with classes $1,2,3$ and one multiple of $7$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份