找回密码
 欢迎注册
楼主: 王守恩

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

[复制链接]
 楼主| 发表于 2022-11-19 14:21:17 | 显示全部楼层
整数 A,B,C,D   A>B>C>D>0,   A,B,C,D 不能是 2 的倍数,  A,B,C,D 不能是 3 的倍数,  A,B,C,D 不能是 3 的倍数余 1,
D+C+B+A=n,   n=33, 34, 35, 36, 37, 38, 39, 40, 41, 42, ......

1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0,
23, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0, 39, 0, 0, 0, 0, 0, 47, 0, 0, 0, 0, 0, 54, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 84, 0, 0, 0, 0, 0, 94, 0, 0, 0, 0, 0,
108, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, 0, 136, 0, 0, 0, 0, 0, 150, 0, 0, 0, 0, 0, 169, 0, 0, 0, 0, 0, 185, 0, 0, 0, 0, 0, 206, 0, 0, 0, 0, 0, 225, 0, 0, 0, 0, 0, 249, 0, 0, 0, 0, 0, 270, 0, 0, 0, 0, 0,
297, 0, 0, 0, 0, 0, 321, 0, 0, 0, 0, 0, 351, 0, 0, 0, 0, 0, 378, 0, 0, 0, 0, 0, 411, 0, 0, 0, 0, 0, 441, 0, 0, 0, 0, 0, 478, 0, 0, 0, 0, 0, 511, 0, 0, 0, 0, 0, 551, 0, 0, 0, 0, 0, 588, 0, 0, 0, 0, 0,
632, 0, 0, 0, 0, 0, 672, 0, 0, 0, 0, 0, 720, 0, 0, 0, 0, 0, 764, 0, 0, 0, 0, 0, 816, 0, 0, 0, 0, 0, 864, 0, 0, 0, 0, 0, 920, 0, 0, 0, 0, 0, 972, 0, 0, 0, 0, 0, 1033, 0, 0, 0, 0, 0, 1089, 0, 0, 0, ...

LinearRecurrence[{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 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, 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}, 456]

就这么最后来了个 “1”,把整个撬动了!
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
 楼主| 发表于 2022-11-20 11:58:52 | 显示全部楼层
蛮好玩的,再来一串!

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

F+E+D+C+B+A=n,   n=120, 121, 122, 123, 124, 125, 126, 127, 128, 129, ......

1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0,
26, 0, 0, 0, 0, 0, 35, 0, 0, 0, 0, 0, 44, 0, 0, 0, 0, 0, 58, 0, 0, 0, 0, 0, 71, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 110, 0, 0, 0, 0, 0, 136, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0,
199, 0, 0, 0, 0, 0, 235, 0, 0, 0, 0, 0, 282, 0, 0, 0, 0, 0, 331, 0, 0, 0, 0, 0, 391, 0, 0, 0, 0, 0, 454, 0, 0, 0, 0, 0, 532, 0, 0, 0, 0, 0, 612, 0, 0, 0, 0, 0, 709, 0, 0, 0, 0, 0,
811, 0, 0, 0, 0, 0, 931, 0, 0, 0, 0, 0, 1057, 0, 0, 0, 0, 0, 1206, 0, 0, 0, 0, 0, 1360, 0, 0, 0, 0, 0, 1540, 0, 0, 0, 0, 0, 1729, 0, 0, 0, 0, 0, 1945, 0, 0, 0, 0, 0, 2172, 0, 0, 0, 0, 0,
2432, 0, 0, 0, 0, 0, 2702, 0, 0, 0, 0, 0, 3009, 0, 0, 0, 0, 0, 3331, 0, 0, 0, 0, 0, 3692, 0, 0, 0, 0, 0, 4070, 0, 0, 0, 0, 0, 4494, 0, 0, 0, 0, 0, 4935, 0, 0, 0, 0, 0, 5427, 0, 0, 0, 0, 0,
5942, 0, 0, 0, 0, 0, 6510, 0, 0, 0, 0, 0, 7104, 0, 0, 0, 0, 0, 7760, 0, 0, 0, 0, 0, 8442, 0, 0, 0, 0, 0, 9192, 0, 0, 0, 0, 0, 9975, 0, 0, 0, 0, 0, 10829, 0, 0, 0, 0, 0, 11720, 0, 0, 0, 0, 0,
12692, 0, 0, 0, 0, 0, 13702, 0, 0, 0, 0, 0, 14800, 0, 0, 0, 0, 0, 15944, 0, 0, 0, 0, 0, 17180, 0, 0, 0, 0, 0, 18467, 0, 0, 0, 0, 0, 19858, 0, 0, 0, 0, 0, 21301, 0, 0, 0, 0, 0, 22856, 0, 0, 0, 0, 0,
24473, 0, 0, 0, 0, 0, 26207, 0, 0, 0, 0, 0, 28009, 0, 0, 0, 0, 0, 29941, 0, 0, 0, 0, 0, 31943, 0, 0, 0, 0, 0, 34085, 0, 0, 0, 0, 0, 36308, 0, 0, 0, 0, 0, 38677, 0, 0, 0, 0, 0, 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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}, 738]

就这么最后来了个 “1”,把整个撬动了!(不用数,"1" 前面有125个 “0”)
毋因群疑而阻独见  毋任己意而废人言
毋私小惠而伤大体  毋借公论以快私情
您需要登录后才可以回帖 登录 | 欢迎注册

本版积分规则

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

GMT+8, 2024-11-22 05:47 , Processed in 0.015410 second(s), 14 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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