把1-200这200个自然数中,既不是3的倍数,又不是5的倍数,从小到大排成一排,那么第100个是几?( )A. 193 B. 187 C. 123 ...

作者: tihaiku 人气: - 评论: 0
问题 把1-200这200个自然数中,既不是3的倍数,又不是5的倍数,从小到大排成一排,那么第100个是几?( )
选项 A. 193 B. 187 C. 123 D. 40
答案 B
解析 从1至200的自然数中是3的倍数的数有66个,是5的倍数的数有40个,而既是3 又是5的倍数的数有13个。所以从1至200的自然数中是3或5的倍数的数有66 + 40-13 = 93(个),所以从1至200的这200个自然数中,既不是3又不是5的倍数的数有200-93=107(个)。现在要求第100个,即倒数第8个。将它从大到小列出:199,197,196,194,193,191,188,187…即从小到大排列第100个是187。

相关内容:200个,自然数,不是,倍数,100个

猜你喜欢

更多 网友评论0 条评论)
暂无评论
错误啦!

错误信息

  • 消息: [程序异常] : MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.
  • 文件: /twcms/kongphp/cache/cache_redis.class.php
  • 位置: 第 85 行
    <?php echo 'KongPHP, Road to Jane.'; ?>