wkzhang的个人博客分享 http://blog.sciencenet.cn/u/wkzhang

博文

Question: Chicken McNumbers

已有 3387 次阅读 2008-9-26 05:27 |个人分类:大脑运动|关键词:学者

http://math.ucsd.edu/~mathclub/games/brainteaser-archive/chicken_mc_numbers.html

McDonald's sells Chicken McNuggets in packs of 6, 9, 20. You could purchase, say, 21 nuggets through the purchase of two 6-packs and one 9-pack. You cannot, regardless of how clever, purchase exactly ten nuggets. We'll say ten is an impossible number. Not all numbers are possible, but after a certain point, every number can be achieved. Find the largest impossible number.

Now suppose McD's sells x-packs and y-packs of nuggets, where x and y are relatively prime (that means, the greatest common factor of x and y is 1).

Find, with proof, a formula for the largest impossible number regardless of the choice of x and y.



https://m.sciencenet.cn/blog-62133-40380.html

上一篇:Ultrafast vibrational dynamics of interfacial water
下一篇:戏为六绝句 -- 杜甫

0

发表评论 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-17 07:07

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部