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

[数学] 求助一道Manhattan数学题 [复制链接]

Rank: 3Rank: 3

声望
86
寄托币
482
注册时间
2016-1-18
精华
0
帖子
75
跳转到指定楼层
楼主
发表于 2016-9-18 15:56:45 |只看该作者 |倒序浏览
How many odd multiples of 7 are there between 100 and 1,000?
这是题目给的解释
The first multiple of 7 that’s greater than 100 is 7 x 15 = 105 (found by trial and error, or by dividing 100 by 7 to first find the multiple of 7 just under 100). Now, to find the largest multiple of 7 under 1,000, we can divide 1,000 by 7, which yields a quotient of 142 and a remainder of 6. However, 7 x 142 = 994 is even. The largest odd multiple of 7 under 1,000 is 994 – 7 = 987. To find the number of terms in the sequence 105, 119, …, 987, we subtract the smallest term from the largest, divide by the step size, and finally add 1 to the result. Note that the step size is 14, not 7, because we are only considering odd multiples of 7:
.
The correct answer is 64.
我是这么算的,从100到200有14个7的倍数,200-300,300-400,。900-1000依次也是各14个,其中一半奇数一半偶数,所以7*9=63个,不明白另一个少在哪里
回应
0

使用道具 举报

Rank: 3Rank: 3

声望
86
寄托币
482
注册时间
2016-1-18
精华
0
帖子
75
沙发
发表于 2016-9-18 16:47:07 |只看该作者
自顶

使用道具 举报

Rank: 8Rank: 8

声望
762
寄托币
12296
注册时间
2008-10-30
精华
4
帖子
907

美版2016offer达人 IBT Zeal IBT Smart IBT Elegance 2016 US-applicant

板凳
发表于 2016-9-18 18:45:04 |只看该作者
300-400之间7的倍数不是14个是15个。

使用道具 举报

Rank: 2

声望
50
寄托币
51
注册时间
2016-5-31
精华
0
帖子
11
地板
发表于 2016-9-18 23:13:31 |只看该作者
300-400之间有15个。我是这么算的:100-1000之间7的奇数倍数从15倍到141倍,15-20之间有3个奇数倍数,20-140之间每10个有5个奇数倍数,5*12=60,还有一个141倍,所以共计:3+60+1=64

使用道具 举报

RE: 求助一道Manhattan数学题 [修改]
您需要登录后才可以回帖 登录 | 立即注册

问答
Offer
投票
面经
最新
精华
转发
转发该帖子
求助一道Manhattan数学题
https://bbs.gter.net/thread-2039207-1-1.html
复制链接
发送
报offer 祈福 爆照
回顶部