非负整数 a,b,c,d, a,b,c 成等差数列, b,c,d 成等比数列, 其中: d=a+n, a,b,c,d 最大是多少?
n=1, 无解,
n=2, 无解,
n=3, 无解,
n=4, a,b,c,d={0,1,2,4},
n=5, 无解,
n=6, 无解,
n=7, a,b,c,d={2,4,6,9},
n=8, a,b,c,d={0,2,4,8},
n=9, 无解,
n=10, a,b,c,d={6,9,12,16},
n=11, 无解,
n=12, a,b,c,d={0,3,6,12},
n=13, a,b,c,d={12,16,20,25},
n=14, a,b,c,d={4,8,12,18},
n=15, 无解,
n=16, a,b,c,d={20,25,30,36},
n=17, 无解,
n=18, 无解,
n=19, a,b,c,d={30,36,42,49},
n=20, a,b,c,d={12,18,24,32},
n=21, a,b,c,d={6,12,18,27},
n=22, a,b,c,d={42,49,56,64},
n=23, 无解,
n=24, a,b,c,d={0,6,12,24},
n=25, a,b,c,d={56,64,72,81},
n=26, a,b,c,d={24,32,40,50},
n=27, 无解,
n=28, a,b,c,d={72,81,90,100},
n=29, 无解,
n=30, a,b,c,d={18,27,36,48},
n=31, a,b,c,d={90,100,110,121},
n=32, a,b,c,d={40,50,60,72},
n=33, 无解,
n=34, a,b,c,d={110,121,132,144},
n=35, a,b,c,d={10,20,30,45},
n=36, a,b,c,d={0,9,18,36},
n=37, a,b,c,d={132,144,156,169},
n=38, a,b,c,d={60.72,84,98},
n=39, a,b,c,d={36,48,60,75},
n=40, a,b,c,d={156,169,182,196},
......
得到一串数。
{a, a, a, 0, a, a, 2, 0, a, 6, a, 0, 12, 4, a, 20, a, a, 30, 12, 6, 42, a, 0, 56, 24, a, 72, a, 18, 90, 40, a, 110, 10, 0, 132, 60, 36, 156, a, 12, 182, 84, 4, 210, a, 60, 240, 112, a, 272, a, 10, 306,
144, 90, 342, a, 36, 380, 180, 18, 420, 60, 126, 462, 220, a, 506, a, 28, 552, 264, 168, 600, 22, 72, 650, 312, 40, 702, a, 216, 756, 364, a, 812, a, 54, 870, 420, 270, 930, 150, 120, 992,
480, 70, 1056, a, 330, 1122, 544, 30, 1190, a, 88, 1260, 612, 396, 1332, a, 180, 1406, 684, 108, 1482, 34, 468, 1560, 760, a, 1640, 280, 130, 1722, 840, 546, 1806, a, 252, 1892, 924,
154, 1980, a, 630, 2070, 1012, a, 2162, 132, 180, 2256, 1104, 720, 2352, a, 336, 2450, 1200, 208, 2550, 450, 816, 2652, 1300, a, 2756, 46, 238, 2862, 1404, 918, 2970, a, 432, ......} |