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

练习及解答

练习 521
Call a number \emph{prime-like} if it is composite but not divisible by $2$, $3$, $5$, or $7$. The three smallest prime-like numbers are $121$, $143$, and $169$. There are $168$ prime numbers less than $1000$. How many prime-like numbers are there less than $1000$?
← 返回第 521 题
解答
  1. Count the integers from $1$ to $999$ divisible by at least one of $2,3,5,7$ by inclusion–exclusion.
  2. Single primes: $499+333+199+142=1173$.
  3. Pairs ($6,10,14,15,21,35$): $166+99+71+66+47+28=477$.
  4. Triples ($30,42,70,105$): $33+23+14+9=79$. All four ($210$): $4$.
  5. So $1173-477+79-4=771$ integers are divisible by at least one of them, and $999-771=228$ are divisible by none.
  6. These $228$ numbers are: the number $1$, the $168-4=164$ primes other than $2,3,5,7$, and the prime-like numbers.
  7. So there are $228-1-164=\boxed{63}$ prime-like numbers.
搜索 跳转 上一题      下一题

联系我们

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