ChaseDream
搜索
12
返回列表 发新帖
楼主: 沐冰凌
打印 上一主题 下一主题

求问两题JJ余数

[复制链接]
11#
发表于 2015-10-4 00:31:42 | 只看该作者

如果求余数是多少就需要那个29了,可以说下那个29怎么出来的吗。
12#
发表于 2015-10-4 00:39:01 | 只看该作者
路人甲 发表于 2015-10-4 00:31
如果求余数是多少就需要那个29了,可以说下那个29怎么出来的吗。

亲,我不明白你问的啥?你是不是问错人了。。。
13#
发表于 2015-10-4 01:23:39 | 只看该作者
zimochen 发表于 2015-10-4 00:39
亲,我不明白你问的啥?你是不是问错人了。。。

问错啦哈哈
14#
发表于 2015-10-4 16:55:52 | 只看该作者
谢谢谢谢~~lz的问题也是我的问题!
15#
发表于 2015-10-6 20:33:45 | 只看该作者

亲你知道为什么N=30k+X了么
16#
发表于 2020-12-19 03:36:35 | 只看该作者
解答怎样得到30k+29

两个式子:n=5k+4, n=6k+5

Positive integer n is divided by 5, the remainder is 4 --> n=5a+4, where a is the quotient --> 4, 9, 14, 19, 24, 29, ...
Positive integer n is divided by 6, the remainder is 5 --> n=6b+5, where b is the quotient -->5, 11, 17, 23, 29 , ....

There is a way to derive a general formula for n (of a type n=kx+r, where x is divisor and r is a remainder) based on the above two statements:

Divisor x would be the least common multiple of above two divisors 5 and 6, hence x=30.

Remainder r would be the first common integer in above two patterns, hence r=29.

Therefore general formula based on both statements is n=30k+29.
您需要登录后才可以回帖 登录 | 立即注册

Mark一下! 看一下! 顶楼主! 感谢分享! 快速回复:

手机版|ChaseDream|GMT+8, 2025-8-24 20:31
京公网安备11010202008513号 京ICP证101109号 京ICP备12012021号

ChaseDream 论坛

© 2003-2025 ChaseDream.com. All Rights Reserved.

返回顶部