寄托天下
查看: 3227|回复: 6
打印 上一主题 下一主题

[海外机考实录] 作整除题有没有通用的方法 [复制链接]

Rank: 2

声望
0
寄托币
100
注册时间
2009-10-10
精华
0
帖子
1
跳转到指定楼层
楼主
发表于 2010-5-20 17:37:48 |只看该作者 |倒序浏览
本帖最后由 jiahongyuan 于 2010-5-20 18:45 编辑

when n is divided by 3, the remainder is 2. When n is divided by 4, the remainder is 1. When n is divided by 12, what is the remainder?
0 0

使用道具 举报

Rank: 9Rank: 9Rank: 9

声望
1630
寄托币
4820
注册时间
2010-3-31
精华
1
帖子
202

荣誉版主 Virgo处女座 GRE斩浪之魂 GRE守护之星

沙发
发表于 2010-5-20 18:06:25 |只看该作者
请善用谷歌搜索。



“Well, I personally would go for a numerical approach for this one, but here's a way to work it algebraically:

Let n = 3j + 2, where j is a positive integer
Let t = 5k + 3, where k is a positive integer

nt = (3j+2)(5k+3) = 15jk + 9j + 10k + 6

So the question is: what is the remainder after 15jk + 9j + 10k + 6 is divided by 15? Well, 15jk is clearly divisible by 15. If we show that 9j and 10k are divisible by 15 as well, then we can determine the remainder (6).

(1) The fact that n - 2 is divisible by 5 means that 3j is divisible by 5. So j can be written as 5x, where x is a positive integer. That means we can rewrite 9j (in the question) as 45x, which is divisible by 15. But we don't know whether 10k is divisible by 15. Insufficient.

(2) That t is divisible by 3 means that 5k + 3 is divisible by 3, and therefore 5k is divisible by 3. So k can be written as 3y, where y is a positive integer. That means we can rewrite 10k (in the question) as 30y, which is divisible by 15. But we don't know whether 9j is divisible by 15. Insufficient.

(1&2) nt = 15jk + 9j + 10k + 6 = 15jk + 45x + 30y + 6. The remainder must be 6. Sufficient.”
已有 1 人评分声望 收起 理由
jiahongyuan + 1

总评分: 声望 + 1   查看全部投币

使用道具 举报

Rank: 2

声望
0
寄托币
100
注册时间
2009-10-10
精华
0
帖子
1
板凳
发表于 2010-5-20 18:43:53 |只看该作者
本帖最后由 jiahongyuan 于 2010-5-20 18:46 编辑

2# 江雪

使用道具 举报

Rank: 2

声望
0
寄托币
100
注册时间
2009-10-10
精华
0
帖子
1
地板
发表于 2010-5-20 20:41:38 |只看该作者
本帖最后由 jiahongyuan 于 2010-5-20 20:49 编辑

上面的方法有点复杂,我怕真正考试时出错,琢磨半天,想用这下面这个方法,不知怎样

用从小到大的方法测试,但此方法仅对右项(即要求的数)为左边两项的公倍数时计算比较方便.

使用道具 举报

Rank: 3Rank: 3

声望
5
寄托币
296
注册时间
2009-6-7
精华
0
帖子
8
5
发表于 2010-5-20 22:10:14 |只看该作者
本帖最后由 tony0411 于 2010-5-20 22:11 编辑

3a +2 = 4b+1  ==> 4b - 3a = 1,   快速找到任意一组解满足这个方程且a,b均为整数, 例如a=1 b=1  a=5 b=4   然后a或b任意带回原方程求得一个数. 然后再用那个数除12.....    我觉得这样可能会快一些.

使用道具 举报

Rank: 1

声望
0
寄托币
60
注册时间
2008-6-19
精华
0
帖子
0
6
发表于 2010-6-24 16:32:14 |只看该作者
2楼的回答很强大,不过题目问的是除12后的余数而不是15
对于GRE来说,直接带数字进去更简单吧
5/3余2, 5/4余1, 5/12余5 => 5就是答案了

使用道具 举报

Rank: 1

声望
0
寄托币
37
注册时间
2009-5-24
精华
0
帖子
1
7
发表于 2010-8-2 02:51:48 |只看该作者
2楼写了一堆,结果错了。
随便代数即可,如楼上。

使用道具 举报

RE: 作整除题有没有通用的方法 [修改]
您需要登录后才可以回帖 登录 | 立即注册

问答
Offer
投票
面经
最新
精华
转发
转发该帖子
作整除题有没有通用的方法
https://bbs.gter.net/thread-1099806-1-1.html
复制链接
发送
回顶部