18 |
24 111, 222, 333, 444, 555, 666, 777, 888, 999 112, 121, 211, 224, 242, 422, 336, 363, 633, 448, 484, 844 123, 321, 231 |
132, 213, 312, 246, 264, 426, 462, 624, 642, 369, 396, 639, 693, 936, 963 |
设A>=B>=C 考虑到最大数不能大于两个较小数之和.且又不小于两个较小数之和的一半.即1/2(B+C)<=A<=(B+C)故两种可能. 1,A=B=C.这样有9种(1,1,1),(2,2,2),(3,3,3),(4,4,4),(5,5,5),(6,6,6),(7,7,7),(8,8,8),(9,9,9),对应9个三位数 2,A=B+C.则B|A+C,即B|B+2C,即B|2C,同理,C|2B. 2_1. B=C,又有4种.(2,1,1),(4,2,2),(6,3,3),(8,4,4).对应12个三位数 2_2. B=2C,A=3C.3种(3,2,1),(6,4,2),(9,6,3),对应18个三位数. 一共39个三位数. (每人一朵..不许抢哦..) |
欢迎光临 珍珠湾ART (https://zzwav.com/) | Powered by Discuz! X3 |