〇〇 发表于 2010-9-3 21:04:56

puzzle up 8

#8:

Generating Numbers



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, ...
#8数字生成
依照下列步骤,你将可以生成一个数字,在每一步中,该数中新生成的每一位都和该数字其他的位不一样:
1、随便写个1或2或3位数
2、最多删除该数中连续的三位(比如14235中,235为连续的三位,而123并不是连续的,中间隔了一个4),并将删除部分替换为其平方数
3、从2中你将得到一个新数字,重复前两个步骤直到你再也不能获得一个满足条件的数字

根据上述规则,你能得到的最大的数字是什么?


举个例子:
307,将07删除并替换为其平方,得349
349,将4 cut并paste其平方,得3169

wayne 发表于 2010-9-3 21:20:50

呵呵,挺有趣的

wayne 发表于 2010-9-3 21:25:56

10000

wayne 发表于 2010-9-3 21:30:04

100000000000000000000000000.......

〇〇 发表于 2010-9-4 06:33:44

我们算出的9842573601
不过是暴力的,有没有好点的人肉办法?
页: [1]
查看完整版本: puzzle up 8