n为100以内的自然数,那么能令2n-1被7整除的n有多少个?( ) A. 32 B. 33 C. 34 D. 35

作者: tihaiku 人气: - 评论: 0
问题 n为100以内的自然数,那么能令2n-1被7整除的n有多少个?( ) A. 32 B. 33 C. 34 D. 35
选项
答案 C
解析 本题考查的是整除性盾。当n是3的倍数的时候,2n-1是7的倍数,也就是求100 以内3的倍数,从3到99,共有33个,另外由于0也是自然数,20-1=0,0也是7的倍数,所以共有34 个数满足,所以选择C选项。

猜你喜欢

更多 网友评论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.'; ?>