2010年puzzleup竞赛第8题–Generating Numbers

时间:2010年09月03日作者:Admin查看次数:1,236 次评论次数:1


原题:http://www.puzzleup.com/2010/puzzle/?226

Applying the steps below, you will generate a number, on the condition that every digit of a number produced in each step is different from its other digits.

1. Write down a number with one, two or three digits.
2. Delete at most three consecutive digits and in the places of the deleted digits place the square of the number formed by these digits.
3. For the number you get, repeat steps two and three. If you cannot get a number that satisfies the conditions, stop.

What is the largest number that can be generated through this mechanism?

Example: 307, 3(07), 349, 3(4)9, 3169, …

==============
注:关于puzzleup竞赛,参见这里

声明: 本文采用 BY-NC-SA 协议进行授权 | 中国数学建模网—SHUMO.COM
转载请注明转自《2010年puzzleup竞赛第8题–Generating Numbers

标签:,分类:其他活动
1条评论
  1. 闫军留言于:2010年10月10日09:08

    101

    [回复]

发表评论

*

*

注意: 评论者允许使用'@user空格'的方式将自己的评论通知另外评论者。例如, ABC是本文的评论者之一,则使用'@ABC '(不包括单引号)将会自动将您的评论发送给ABC。使用'@all ',将会将评论发送给之前所有其它评论者。请务必注意user必须和评论者名相匹配(大小写一致)。