0%

Problem 616


Problem 616


Creative numbers

Alice plays the following game, she starts with a list of integers L and on each step she can either:

  • remove two elements a and b from L and add ab to L
  • or conversely remove an element c from L that can be written as ab, with a and b being two integers such that a,b>1, and add both a and b to L

For example starting from the list L=8, Alice can remove 8 and add 2 and 3 resulting in L=2,3 in a first step. Then she can obtain L=9 in a second step.

Note that the same integer is allowed to appear multiple times in the list.

An integer n>1 is said to be creative if for any integer m>1 Alice can obtain a list that contains m starting from L=n.

Find the sum of all creative integers less than or equal to 1012.


创意数

爱丽丝正在这样一个游戏:她从整数列表L开始,每一步她可以:

  • L中去除两个元素ab,并将ab加入L
  • 或者相反地,从L中去除一个可以写成ab形式的元素c,其中ab均为整数且a,b>1,然后将ab加入L

例如,从整数列表L=8开始,第一步爱丽丝可以去除8并加入23,得到L=2,3。然后第二步她可以得到L=9

注意在列表中同一整数允许重复出现多次。

称整数n>1创意数,如果对于任意整数m>1,爱丽丝都能从L=n开始得到一个包含有m的整数列表。

找出所有小于或等于1012的创意数之和。


Gitalking ...