数学研发论坛

 找回密码
 欢迎注册
查看: 550|回复: 11

[求助] 求 C+B+A=n 的通项

[复制链接]
发表于 2022-11-8 07:38:31 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?欢迎注册

x
整数 A,B,C,   A>B>C>0,   A,B,C 的个位数字 ≠ 0,

C+B+A=n,   n=6, 7, 8, 9, 10, 11, 12, ......

a(06)=1:1+2+3,
a(07)=1:1+2+4,
a(08)=2:1+2+5, 1+3+4,
a(09)=3:1+2+6, 1+3+5, 2+3+4,
a(10)=4:1+2+7, 1+3+6, 1+4+5, 2+3+5,
a(11)=5:1+2+8, 1+3+7, 1+4+6, 2+3+6, 2+4+5,
a(12)=7:1+2+9, 1+3+8, 1+4+7, 1+5+6, 2+3+6, 2+4+5, 3+4+5,
a(13)=7:1+3+9, 1+4+8, 1+5+7, 2+3+8, 2+4+7, 2+5+6, 3+4+6,
a(14)=9:1+2+11,1+4+9, 1+5+8, 1+6+7, 2+3+9, 2+4+8, 2+5+7, 3+4+7, 3+5+6

得到一串数: 1, 1, 2, 3, 4, 5, 7, 7, 9, 10, 12, 13, 16, 17, 20, 23, 26, 27, 31, 32, 36, 38, 42, 44, 48, 52, ......

可惜在 OEIS 没有这串数,

各位网友!这串数可以有通项? 类似通项的编程?

谢谢各位网友!感谢不尽!
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
发表于 2022-11-8 21:42:17 | 显示全部楼层

整数 A,B,C,   A>B>C>0,   A,B,C 的个位数字 ≠ 0

这个要求有点无理,不是OEIS风格
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-9 15:06:43 | 显示全部楼层
0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 7, 7, 9, 10, 12, 13, 16, 17, 20, 23, 26, 27, 31, 32, 36, 38, 42, 44, 48, 52, 57, 59, 64, 66, 72, 74, 80, 83, 88, 94, 101,
103, 110, 113, 120, 123, 131, 134, 140, 148, 156, 159, 168, 171, 180, 184, 193, 197, 204, 214, 224, 228, 238, 242, 253, 257, 268, 273, 280, 292,
304, 308, 320, 325, 337, 342, 355, 360, 368, 383, 396, 401, 415, 420, 434, 440, 454, 460, 468, 485, 500, 506, 521, 527, 543, 549, 565, 572, 580,
600, 617, 623, 640, 647, 664, 671, 689, 696, 704, 727, 745, 752, 771, 778, 797, 805, 824, 832, 840, 866, 886, 894, 914, 922, 943, 951, 972, 981,
988,  1017, 1039, 1047, 1069, 1078, 1100, 1109, 1132, 1141, 1148, 1181, 1204, 1213, 1237, 1246, 1270, 1280, 1304, 1314, 1320, 1356, 1381, 1391,
1416, 1426, 1452, 1462, 1488, 1499, 1504, 1544, 1571, 1581, 1608, 1619, 1646, 1657, 1685, 1696, 1700, 1744, 1772, 1783, 1812, 1823, 1852, 1864,
1893, 1905, 1908, 1956, 1986, 1998, 2028, 2040, 2071, 2083, 2114, 2127, 2128, 2180, 2212, 2224, 2256, 2269, 2301, 2314, 2347, 2360, 2360, 2417,
2450, 2463, 2497, 2510, 2544, 2558, 2592, 2606, 2604, 2665, 2700, 2714, 2749, 2763, 2799, 2813, 2849, 2864, 2860, 2926, 2963, 2977, 3014, 3029,
3066, 3081, 3119, 3134, 3128, 3199, 3237, 3252, 3291, 3306, 3345, 3361, 3400, 3416, 3408, 3484, 3524, 3540, 3580, 3596, 3637, 3653, 3694, 3711,
3700, 3781, 3823, 3839, 3881, 3898, 3940, 3957, 4000, 4017, 4004, 4091, 4134, 4151, 4195, 4212, 4256, 4274, 4318, 4336, 4320, 4412, 4457, 4475,
4520, 4538, 4584, 4602, 4648, 4667, 4648, 4746, 4793, 4811, 4858, 4877, 4924, 4943, 4991, 5010, 4988, 5092, 5140, 5159, 5208, 5227, 5276, 5296,
5345, 5365, 5340, 5450, 5500, 5520, 5570, 5590, 5641, 5661, 5712, 5733, 5704, 5820, 5872, 5892, 5944, 5965, 6017, 6038, 6091, 6112, 6080, 6203,
6256, 6277, 6331, 6352, 6406, 6428, 6482, 6504, 6468, 6597, 6652, 6674, 6729, 6751, 6807, 6829, 6885, 6908, 6868, 7004, 7061, 7083, 7140, 7163,
7220, 7243, 7301, 7324, 7280, 7423, 7481, 7504, 7563, 7586, 7645, 7669, 7728, 7752, 7704, 7854, 7914, 7938, 7998, 8022, 8083, 8107, 8168, 8193,
8140, 8297, 8359, 8383, 8445, 8470, 8532, 8557, 8620, 8645, 8588, 8753, 8816, 8841, 8905, 8930, 8994, 9020, 9084, 9110, 9048, 9220, 9285,  ......

LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0,0, 0, 0, 0, 0,  0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
{52, 50, 45, 43, 39, 37, 33, 32, 28, 26, 23, 21, 18, 17, 14, 13,11, 10, 8, 7, 5, 4, 3, 2, 1, 1, 0, 0, 0,
0, 0, 0, 0, 0, 1, 1, 2, 3,4, 5, 7, 7, 9, 10, 12, 13, 16, 17, 20, 23, 26, 27, 31, 32, 36, 38, 42, 44, 48, 52}, 430]

通项公式很是丑,各位可有好的方法?谢谢!
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-9 20:24:22 | 显示全部楼层
northwolves 发表于 2022-11-8 21:42
整数 A,B,C,   A>B>C>0,   A,B,C 的个位数字 ≠ 0

这个要求有点无理,不是OEIS风格

OEIS 没有这样的数列,就是简单的,OEIS 也没有,譬如

(1), 整数 A,B,   A>0,B>0,Mod(A,4) ≠ 0, Mod(B,4) ≠ 0,   B+A=n

得到这样一串数:0, 1, 2, 3, 2, 3, 4, 6, 4, 5, 6, 9, 6, 7, 8, 12, 8, 9, 10, 15,

(2), 整数 A,B,    A≥B>0,   Mod(A,2) ≠ 0, Mod(B,2) ≠ 0,    B+A=n

得到这样一串数:0, 1, 0, 1, 0, 2, 0, 2, 0, 3, 0, 3, 0, 4, 0, 4, 0, 5, 0, 5, 0, 6,

  ......
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-10 14:26:28 | 显示全部楼层
整数 A,B,C,   A>B>C>0,   A,B,C 的个位数字 ≠ 0,5,

C+B+A=n,   n=6, 7, 8, 9, 10, 11, 12, ......

1, 1, 1, 2, 2, 4, 5, 5, 6, 6, 9, 10, 11, 12, 12, 17, 18, 19, 21, 20, 26, 28, 29, 31, 30, 38, 40, 42, 44, 42, 52, 54, 56, 59, 56, 68, 71, 73, 76, 72, 86, 89, 92, 95, 90, 107, 110,
113, 117, 110, 129, 133, 136, 140, 132, 154, 158, 162, 166, 156, 181, 185, 189, 194, 182, 210, 215, 219, 224, 210, 241, 246, 251, 256, 240, 275, 280, 285, 291, 272, 310,
316, 321, 327, 306, 348, 354, 360, 366, 342, 388, 394, 400, 407, 380, 430, 437, 443, 450, 420, 474, 481, 488, 495, 462, 521, 528, 535, 543, 506, 569, 577, 584, 592, 552,
620, 628, 636, 644, 600, 673, 681, 689, 698, 650, 728, 737, 745, 754, 702, 785, 794, 803, 812, 756, 845, 854, 863, 873, 812, 906, 916, 925, 935, 870, 970, 980, 990, 1000,
930, 1036, 1046, 1056, 1067, 992, 1104, 1115, 1125, 1136, 1056, 1174, 1185, 1196, 1207, 1122, 1247, 1258, 1269, 1281, 1190, 1321, 1333, 1344, 1356,1260, 1398, 1410,
1422, 1434, 1332, 1477, 1489, 1501, 1514, 1406, 1558, 1571, 1583, 1596, 1482, 1641, 1654, 1667, 1680, 1560, 1727, 1740, 1753, 1767, 1640, 1814, 1828, 1841, 1855, 1722,
1904, 1918, 1932, 1946, 1806, 1996, 2010, 2024, 2039, 1892, 2090, 2105, 2119, 2134, 1980, 2186, 2201, 2216, 2231, 2070, 2285, 2300, 2315, 2331, 2162, 2385, 2401, 2416,
2432, 2256, 2488, 2504, 2520, 2536, 2352, 2593, 2609, 2625, 2642, 2450, 2700, 2717, 2733, 2750, 2550, 2809, 2826, 2843, 2860, 2652, 2921, 2938, 2955, 2973, 2756, 3034,
3052, 3069, 3087, 2862, 3150, 3168, 3186, 3204, 2970, 3268, 3286, 3304, 3323, 3080, 3388, 3407, 3425, 3444, 3192, 3510, 3529, 3548, 3567, 3306, 3635, 3654, 3673, 3693,
3422, 3761, 3781, 3800, 3820, 3540, 3890, 3910, 3930, 3950, 3660, 4021, 4041, 4061, 4082, 3782, 4154, 4175, 4195, 4216, 3906, 4289, 4310, 4331, 4352, 4032, 4427, 4448,
4469, 4491, 4160, 4566, 4588, 4609, 4631, 4290, 4708, 4730, 4752, 4774, 4422, 4852, 4874, 4896, 4919, 4556, 4998, 5021, 5043, 5066, 4692, 5146, 5169, 5192, 5215, 4830,
5297, 5320, 5343, 5367, 4970, 5449, 5473, 5496, 5520, 5112, 5604, 5628, 5652, 5676, 5256, 5761, 5785, 5809, 5834, 5402, 5920, 5945, 5969, 5994, 5550, 6081, 6106, 6131,
6156, 5700, 6245, 6270, 6295, 6321, 5852, 6410, 6436, 6461, 6487, 6006, 6578, 6604, 6630, 6656, 6162, 6748, 6774, 6800, 6827, 6320, 6920, 6947, 6973, 7000, 6480, 7094,
7121, 7148, 7175, 6642, 7271, 7298, 7325, 7353, 6806, 7449, 7477, 7504, 7532, 6972, 7630, 7658, 7686, 7714, 7140, 7813, 7841, 7869, 7898, 7310, 7998, 8027, 8055, 8084,
7482, 8185, 8214, 8243, 8272, 7656, 8375, 8404, 8433, 8463, 7832, 8566, 8596, 8625, 8655, 8010, 8760, 8790, 8820, 8850, 8190, 8956, 8986, 9016, 9047, 8372, 9154, 9185,
9215, 9246, 8556, 9354, 9385, 9416, 9447, 8742, 9557, 9588, 9619, 9651, 8930, 9761, 9793, 9824, 9856, 9120, 9968, 10000, 10032, 10064, 9312, 10177, 10209, 10241, 10274,
9506, 10388, 10421, 10453, 10486, 9702, 10601, 10634, 10667, 10700, 9900, 10817, 10850, 10883, 10917, 10100, 11034, 11068, 11101, 11135, 10302, 11254, 11288, 11322,

LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
{26, 24, 23, 20, 18, 17, 15, 14, 12, 10, 9, 8, 7, 6, 5, 4, 3, 3, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0,1, 1, 1, 2, 2, 4, 5, 5, 6, 6, 9, 10, 11, 12, 12, 17, 18, 19, 21, 20, 26}, 570]

通项公式还是丑,各位可有好的方法?谢谢!
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-11 17:37:45 | 显示全部楼层
整数 A,B,C,   A>B>C>0,   A,B,C 的个位数字 ≠ 4, 7,

C+B+A=n,   n=6, 7, 8, 9, 10, 11, 12, ......

1, 0, 1, 2, 2, 2, 3, 4, 5, 6, 9, 10, 12, 14, 16, 17, 19, 21, 24, 24, 28, 29, 32, 35, 38, 39, 42, 46, 49, 50, 57, 59, 63, 68, 72, 75, 79, 85, 90, 91, 99, 102, 107,
113, 118, 121, 125, 132, 138, 138, 149, 153, 159, 166, 173, 177, 182, 192, 199, 199, 212, 216, 223, 232, 239, 244, 249, 261, 269, 269, 285, 291, 299, 309,
318, 324, 329, 343, 353, 351, 369, 375, 384, 395, 405, 411, 416, 433, 443, 441, 463, 470, 480, 493, 504, 512, 517, 537, 549, 546, 570, 578, 589, 603, 615,
623, 627, 649, 662, 657, 685, 694, 706, 721, 735, 744, 748, 774, 788, 782, 813, 822, 835, 852, 866, 876, 879, 908, 923, 916, 951, 962, 976, 994, 1010, 1021,
1023, 1055, 1072, 1062, 1100, 1111, 1126, 1145, 1162, 1173, 1174, 1210, 1227, 1216, 1259, 1271, 1287, 1308, 1326, 1339, 1339, 1379, 1398, 1385, 1431, 1444,
1461, 1483, 1502, 1515, 1513, 1556, 1576, 1560, 1611, 1625, 1643, 1666, 1687, 1701, 1698, 1746, 1767, 1749, 1804, 1818, 1837, 1862, 1883, 1898, 1893, 1945,
1967, 1947, 2007, 2023, 2043, 2069, 2092, 2108, 2101, 2157, 2181, 2157, 2221, 2237, 2258, 2285, 2309, 2325, 2316, 2377, 2401, 2375, 2445, 2462, 2484, 2513,
2538, 2556, 2545, 2611, 2637, 2608, 2682, 2700, 2723, 2753, 2779, 2797, 2783, 2853, 2880, 2847, 2927, 2946, 2970, 3001, 3029, 3048, 3032, 3108, 3136, 3100,
3185, 3204, 3229, 3262, 3290, 3310, 3291, 3372, 3401, 3362, 3453, 3474, 3500, 3534, 3564, 3585, 3563, 3649, 3680, 3636, 3732, 3753, 3780, 3815, 3846, 3867,
3842, 3934, 3965, 3918, 4021, 4043, 4071, 4108, 4140, 4163, 4135, 4233, 4266, 4215, 4323, 4346, 4375, 4413, 4446, 4469, 4437, 4540, 4574, 4518, 4633, 4657,
4687, 4726, 4761, 4785, 4750, 4860, 4895, 4835, 4956, 4980, 5011, 5052, 5087, 5112, 5073, 5189, 5225, 5161, 5289, 5315, 5347, 5389, 5426, 5452, 5409, 5531,
5569, 5499, 5633, 5659, 5692, 5735, 5773, 5799, 5752, 5881, 5919, 5845, 5987, 6014, 6048, 6093, 6132, 6160, 6109, 6245, 6285, 6206, 6354, 6382, 6417, 6463,
6503, 6531, 6475, 6617, 6658, 6573, 6729, 6758, 6794, 6841, 6883, 6912, 6852, 7002, 7044, 6954, 7117, 7146, 7183, 7232, 7274, 7304, 7239, 7396, 7439, 7344,
7515, 7546, 7584, 7634, 7678, 7709, 7639, 7803, 7848, 7746, 7924, 7955, 7994, 8045, 8090, 8121, 8046, 8218, 8263, 8156, 8343, 8375, 8415, 8468, 8514, 8547,
8467, 8647, 8694, 8581, 8775, 8808, 8849, 8903, 8950, 8983, 8897, 9084, 9132, 9012, 9215, 9249, 9291, 9346, 9395, 9429, 9338, 9534, 9583, 9457, 9668, 9702,
9745, 9802, 9851, 9886, 9789, 9993, 10043, 9911, 10131, 10167, 10211, 10269, 10320, 10356, 10253, 10465, 10517, 10377, 10605, 10641, 10686, 10745, 10797,

LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},

{45, 43, 41, 38, 36, 33, 30, 28, 25, 23, 21, 20, 18, 16, 15, 13, 11, 9, 7, 5, 4, 3, 3, 2, 2, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 2, 2, 2, 3, 4, 5, 6, 9, 10, 12, 14, 16, 17, 19, 21, 24, 24, 28, 29, 32, 35, 38, 39, 42, 46}, 520]

通项公式还是丑,各位可有好的方法?谢谢!
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-13 18:11:28 | 显示全部楼层
整数 A,B,C,   A>B>C>0,   A,B,C 不能是 4 的倍数,  A,B,C 不能是 5 的倍数,

C+B+A=n,   n=6, 7, 8, 9, 10, 11, 12, ......

a(06)=1:1+2+3,
a(07)=0:
a(08)=0:
a(09)=1:1+2+6,
a(10)=2:1+2+7, 1+3+6,
a(11)=2:1+3+7, 2+3+6,
a(12)=2:1+2+9, 2+3+6,
a(13)=1:1+3+9,
a(14)=3:1+2+11,1+6+7, 2+3+9,

得到一串数: 1, 0, 0, 1, 2, 2, 2, 1, 3, 2, 4, 4, 5, 4, 4, 7, 9, 7, 7, 8, 13, 12, 10, 12, 15, ......

各位网友!这串数可以有通项? 类似通项的编程?

谢谢各位网友!感谢不尽!
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-16 14:58:59 | 显示全部楼层
整数 A,B,C,   A>B>C>0,   A,B,C 不能是 4 的倍数,  A,B,C 不能是 5 的倍数,

C+B+A=n,   n=6, 7, 8, 9, 10, 11, 12, ......

a(06)=1:1+2+3,
a(07)=0:
a(08)=0:
a(09)=1:1+2+6,
a(10)=2:1+2+7, 1+3+6,
a(11)=2:1+3+7, 2+3+6,
a(12)=2:1+2+9, 2+3+6,
a(13)=1:1+3+9,
a(14)=3:1+2+11,1+6+7, 2+3+9,

1, 0, 0, 1, 2, 2, 2, 1, 3, 2, 4, 4, 5, 4, 4, 7, 9, 7, 7, 8, 13, 12, 10, 12, 15, 16, 15, 17, 20, 17, 20, 22, 25, 23, 20, 29, 33, 30, 27, 29, 40, 37, 33, 39, 42, 46, 41, 46, 52,
45, 49, 56, 60, 57, 48, 66, 72, 68, 60, 65, 83, 79, 69, 81, 83, 90, 80, 92, 99, 88, 91, 104, 111, 106, 88, 119, 126, 121, 106, 114, 140, 135, 118, 138, 138, 150, 132,
152, 161, 144, 146, 168, 176, 171, 140, 186, 196, 189, 165, 178, 213, 207, 180, 210, 207, 225, 197, 228, 239, 215, 214, 247, 257, 250, 204, 269, 280, 273, 237, 255,
301, 293, 255, 298, 290, 315, 275, 318, 331, 299, 295, 341, 353, 345, 280, 367, 380, 371, 322, 347, 404, 396, 343, 400, 387, 420, 366, 425, 439, 398, 389, 450, 464,
455, 368, 480, 495, 485, 420, 452, 522, 512, 444, 518, 498, 541, 470, 545, 562, 510, 496, 575, 590, 580, 468, 608, 625, 614, 531, 572, 656, 645, 558, 651, 623, 676,
587, 682, 700, 637, 616, 714, 732, 720, 580, 752, 770, 758, 655, 705, 804, 792, 685, 799, 762, 827, 717, 833, 853, 777, 749, 869, 888, 876, 704, 910, 931, 917, 792,
853, 968, 955, 825, 962, 915, 993, 860, 1000, 1022, 932, 895, 1039,1060, 1046, 840, 1084, 1106, 1092, 942, 1014, 1147, 1132, 978, 1141, 1082, 1174, 1016, 1181,...

LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},    {65, 68, 57, 62, 56, 59, 48, 57, 47,
50, 41, 48, 44, 43, 34, 40, 36, 38, 28, 32, 28, 30, 25, 27, 22, 24, 19, 23, 18, 19, 15, 17, 15, 15, 11, 13, 10, 12, 8, 8, 7, 7, 6, 7, 4, 5, 3, 4, 3, 3, 2, 2, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0,
1, 2, 2, 2, 1, 3, 2, 4, 4, 5, 4, 4, 7, 9, 7, 7, 8, 13, 12, 10, 12, 15, 16, 15, 17, 20, 17, 20, 22, 25, 23, 20, 29, 33, 30, 27, 29, 40, 37, 33, 39, 42, 46, 41, 46, 52, 45, 49, 56, 60, 57, 48, 66},350]

通项公式更是丑了,各位可有好的方法?谢谢!


毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-17 10:10:58 | 显示全部楼层
整数 A,B,C,   A>B>C>0,   A,B,C 不能是 2 的倍数,  A,B,C 不能是 3 的倍数,

C+B+A=n,   n=11, 12, 13, 14, 15, 16, 17, 18, 19, ......

0, 0, 1, 0, 0, 0, 1, 0, 2, 0, 1, 0, 2, 0, 4, 0, 1, 0, 4, 0, 6, 0, 3, 0, 6, 0, 9, 0, 4, 0, 9, 0, 12, 0, 6, 0, 12, 0, 16, 0, 8, 0, 16, 0, 20, 0, 11,
0, 20, 0, 25, 0, 13, 0, 25, 0, 30, 0, 17, 0, 30, 0, 36, 0, 20, 0, 36, 0,   42, 0, 24, 0,  42, 0, 49, 0, 28, 0, 49, 0, 56, 0, 33, 0, 56, 0,64, 0,
37, 0, 64, 0, 72, 0, 43, 0, 72, 0, 81, 0, 48, 0, 81, 0, 90, 0, 54, 0, 90, 0, 100, 0, 60, 0, 100, 0, 110, 0, 67, 0, 110, 0, 121, 0, 73, 0, 121, 0,
132, 0,   81, 0, 132, 0, 144, 0,  88,  0, 144, 0, 156, 0,  96, 0, 156, 0, 169, 0, 104, 0, 169, 0, 182, 0, 113, 0, 182, 0, 196, 0, 121, 0, 196, 0,
210, 0, 131, 0, 210, 0, 225, 0, 140, 0, 225, 0, 240, 0, 150, 0, 240, 0, 256, 0, 160, 0, 256, 0, 272, 0, 171, 0, 272, 0, 289, 0, 181, 0, 289, 0,
306, 0, 193, 0, 306, 0, 324, 0, 204, 0, 324, 0, 342, 0, 216, 0, 342, 0, 361, 0, 228, 0, 361, 0, 380, 0, 241, 0, 380, 0, 400, 0, 253, 0, 400, 0,
420, 0, 267, 0, 420, 0, 441, 0, 280, 0, 441, 0, 462, 0, 294, 0, 462, 0, 484, 0, 308, 0, 484, 0, 506, 0, 323, 0, 506, 0, 529, 0, 337, 0, 529, 0,
552, 0, 353, 0, 552, 0, 576, 0, 368, 0, 576, 0, 600, 0, 384, 0, 600, 0, 625, 0, 400, 0, 625, 0, 650, 0, 417, 0, 650, 0, 676, 0, 433, 0, 676, 0,
702, 0, 451, 0, 702, 0, 729, 0, 468, 0, 729, 0, 756, 0, 486, 0, 756, 0, 784, 0, 504, 0, 784, 0, 812, 0, 523, 0, 812, 0, 841, 0, 541, 0, 841, 0,
870, 0, 561, 0, 870, 0, 900, 0, 580, 0, 900, 0, 930, 0, 600, 0, 930, 0, 961, 0, 620, 0, 961, 0, 992, 0, 641, 0, 992, 0, 1024, 0, 661,

LinearRecurrence[{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 1},
  {0, 2, 0, 3, 0, 2, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1}, 630]

通项公式更是丑了,各位可有好的方法?谢谢!
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-18 19:24:51 | 显示全部楼层
王守恩 发表于 2022-11-9 15:06
0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 7, 7, 9, 10, 12, 13, 16, 17, 20, 23, 26, 27, 31, 32, 36, 38, 42 ...

整数 A,B,C,   A>B>C>0,   A,B,C 不能是 2 的倍数, A,B,C 不能是 3 的倍数余 1, A,B,C 不能是 5 的倍数余 3,

C+B+A=n,   n=25, 26, 27, 28, 29, 30, 31, 32, ......

1, 0, 0, 0, 1, 0, 2, 0, 1, 0, 2, 0, 3, 0, 0, 0, 4, 0, 4, 0, 2, 0, 4, 0, 5, 0, 3, 0, 6, 0, 8, 0, 4, 0, 7, 0, 11, 0, 5, 0, 11, 0, 13, 0, 5, 0, 14, 0, 15, 0, 8, 0, 16, 0, 16, 0, 11, 0,
18, 0, 21, 0, 12, 0, 20, 0, 26, 0, 14, 0, 26, 0, 29, 0, 13, 0, 31, 0, 32, 0, 19, 0, 33, 0, 33, 0, 22, 0, 37, 0, 41, 0, 25, 0, 38, 0, 48, 0, 27, 0, 48, 0, 52, 0, 26, 0, 54, 0,
56, 0, 34, 0, 58, 0, 56, 0, 39, 0, 62, 0, 67, 0, 41, 0, 63, 0, 76, 0, 45, 0, 76, 0, 81, 0, 42, 0, 84, 0, 86, 0, 53, 0, 88, 0, 85, 0, 59, 0, 94, 0, 100, 0, 63, 0, 93, 0, 111, 0,
66, 0, 111, 0, 117, 0, 63, 0, 120, 0, 123, 0, 77, 0, 126, 0, 120, 0, 84, 0, 132, 0, 139, 0, 88, 0, 130, 0, 152, 0, 93, 0, 152, 0, 159, 0, 87, 0, 163, 0, 166, 0, 105, 0, 169, 0,
161, 0, 113, 0, 177, 0, 185, 0, 118, 0, 172, 0, 200, 0, 123, 0, 200, 0, 208, 0, 116, 0, 212, 0, 216, 0, 137, 0, 220, 0, 208, 0, 147, 0, 228, 0, 237, 0, 152, 0, 221, 0, 254, 0,
158, 0, 254, 0, 263, 0, 148, 0, 268, 0, 272, 0, 174, 0, 276, 0, 261, 0, 184, 0, 286, 0, 296, 0, 191, 0, 275, 0, 315, 0, 197, 0, 315, 0, 325, 0, 185, 0, 330, 0, 335, 0, 215, 0,
340, 0, 320, 0, 227, 0, 350, 0, 361, 0, 233, 0, 336, 0, 382, 0, 241, 0, 382, 0, 393, 0, 225, 0, 399, 0, 404, 0, 260, 0, 409, 0, 385, 0, 273, 0, 421, 0, 433, 0, 281, 0, 402, 0,
456, 0, 288, 0, 456, 0, 468, 0, 270, 0, 474, 0, 480, 0, 310, 0, 486, 0, 456, 0, 324, 0, 498, 0, 511, 0, 332, 0, 475, 0, 536, 0, 341, 0, 536, 0, 549, 0, 318, 0, 556, 0, 562, 0,
364, 0, 568, 0, 533, 0, 379, 0, 582, 0, 596, 0, 388, 0, 553, 0, 623, 0, 397, 0, 623, 0, 637, 0, 371, 0, 644, 0, 651, 0, 422, 0, 658, 0, 616, 0, 439, 0, 672, 0, 687, 0, 448, 0,
638, 0, 716, 0, 458, 0, 716, 0, 731, 0, 427, 0, 739, 0, 746, 0, 485, 0, 753, 0, 705, 0, 502, 0, 769, 0, 785, 0, 513, 0, 728, 0, 816, 0, 523, 0, 816, 0, 832, 0, 488, 0, 840, 0,
848, 0, 552, 0, 856, 0, 800, 0, 571, 0, 872, 0, 889, 0, 581, 0, 825, 0, 922, 0, 593, 0, 922, 0, 939, 0, 552, 0, 948, 0, 956, 0, 623, 0, 964, 0, 901, 0, 643, 0, 982, 0, 1000, 0,
655, 0, 927, 0, 1035, 0, 666, 0, 1035, 0, 1053, 0, 621, 0, 1062, 0, 1071, 0, 699, 0, 1080, 0, 1008, 0, 720, 0, 1098, 0, 1117, 0, 732, 0, 1036, 0, 1154, 0, 745, 0, 1154, 0,
1173, 0, 693, 0, 1183, 0, 1192, 0, 779, 0, 1201, 0, 1121, 0, 801, 0, 1221, 0, 1241, 0, 814, 0, 1150, 0, 1280, 0, 827, 0, 1280, 0, 1300, 0, 770, 0, 1310, 0, 1320, 0, 863, 0,
1330, 0, 1240, 0, 887, 0, 1350, 0, 1371, 0, 900, 0, 1271, 0, 1412, 0, 914, 0, 1412, 0, 1433, 0, 850, 0, 1444, 0, 1454, 0, 952, 0, 1464, 0, 1365, 0, 976, 0, 1486, 0, 1508, 0,
991, 0, 1397, 0, 1551, 0, 1005, 0, 1551, 0, 1573, 0, 935, 0, 1584, 0, 1595, 0, 1045, 0, 1606, 0, 1496, 0, 1071, 0, 1628, 0, 1651, 0, 1085, 0, 1530, 0, 1696, 0, 1101, 0, 1696, 0,

   LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0, 0, 0, 0, 0, 1},
{28, 0, 26, 0, 20, 0, 24, 0, 21, 0, 16, 0, 22, 0, 20, 0, 15, 0, 17, 0, 15, 0, 13, 0, 15, 0, 13, 0, 11, 0, 12, 0, 11, 0, 9, 0, 10, 0, 8, 0, 7, 0, 8, 0, 7, 0, 5, 0, 6, 0, 4, 0, 5, 0, 4, 0, 3, 0,
3, 0, 3, 0, 2, 0, 2, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0, 1, 0, 2, 0, 3, 0, 0, 0, 4, 0,4, 0, 2,
0, 4, 0, 5, 0, 3, 0, 6, 0, 8, 0, 4, 0, 7, 0, 11, 0, 5, 0, 11, 0, 13, 0, 5, 0, 14, 0, 15, 0, 8, 0, 16, 0, 16, 0, 11, 0, 18, 0, 21, 0, 12, 0, 20, 0, 26, 0, 14, 0, 26, 0, 29, 0, 13, 0}, 762]

通项公式更是丑了,各位可有好的方法?谢谢!
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
您需要登录后才可以回帖 登录 | 欢迎注册

本版积分规则

小黑屋|手机版|数学研发网 ( 苏ICP备07505100号 )

GMT+8, 2022-12-2 19:52 , Processed in 0.082107 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表