Let S be the set of all positive integers having at most 4 digits and such that each of the digits is 0 or 1. What is the greatest prime factor of the sum of all the numbers in S?
11
19
37
59
101
登录 或 注册 后可以参加讨论
难点在于如何准确不漏地找到所有符合要求的数 从小到大枚举 0,1 10,11 1000,1001,1010,1011,1100,1101,1110,1111 和为8888 = 2*2*2*11*101
难点在于如何准确不漏地找到所有符合要求的数
从小到大枚举
0,1
10,11
1000,1001,1010,1011,1100,1101,1110,1111
和为8888 = 2*2*2*11*101
登录 或 注册 后可以参加讨论