把三个数24,56,104分别除以正整数k时,它们都有相同的余数,试求k的最大值。

作者: tihaiku 人气: - 评论: 0
问题 把三个数24,56,104分别除以正整数k时,它们都有相同的余数,试求k的最大值。
选项
答案
解析 当几个数被同一个数除同余时,它们两两的差的最大公因数就是这个数的最大值,56-24=32;104-56=48;104-24=80,32,48,80的最大公因数为16,故k=16。

相关内容:个数,整数,余数,试求,最大值

猜你喜欢

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