做测试 登录 English
← 练习 564 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
基础计数 (147)
球与盒子 (6)
概率 (142)

练习及解答

练习 564
Let $K$ be the number of sequences $A_1,\dots,A_n$ with $1\le n\le7$, each $A_i\subseteq\{1,2,\dots,7\}$, and $A_{i-1}\subseteq A_i$ for $2\le i\le n$. What is the remainder when $K$ is divided by $7$?
← 返回第 564 题
解答
  1. A sequence of length $n$ is determined by choosing, for each element of $\{1,\dots,7\}$, the first index at which it enters the sets ($1,\dots,n$) or that it never enters: $(n+1)^7$ sequences.
  2. So $K=\sum_{n=1}^{7}(n+1)^7=\sum_{m=2}^8m^7$.
  3. By Fermat's little theorem, $m^7\equiv m\pmod 7$ for every integer $m$. (Directly: modulo $7$, $2^3\equiv1$ gives $2^7\equiv2$, and $3^3\equiv-1$ gives $3^7\equiv3\cdot(-1)^2=3$; the others are similar.)
  4. So $K\equiv2+3+\cdots+8=35\equiv0\pmod7$, and the remainder is $\boxed{0}$.
搜索 跳转 上一题      下一题

联系我们

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