从1到9中找出四个数字,使它们的和为21,共有几种找法?
6个回答
展开全部
不重复有11种:
{{1,3,8,9},{1,4,7,9},{1,5,6,9},{1,5,7,8},{2,3,7,9},{2,4,6,9},{2,4,7,8},{2,5,6,8},{3,4,5,9},{3,4,6,8},{3,5,6,7}}
考虑重复有31种:
{{1,2,9,9},{1,3,8,9},{1,4,7,9},{1,4,8,8},{1,5,6,9},{1,5,7,8},{1,6,6,8},{1,6,7,7},{2,2,8,9},{2,3,7,9},{2,3,8,8},{2,4,6,9},{2,4,7,8},{2,5,5,9},{2,5,6,8},{2,5,7,7},{2,6,6,7},{3,3,6,9},{3,3,7,8},{3,4,5,9},{3,4,6,8},{3,4,7,7},{3,5,5,8},{3,5,6,7},{3,6,6,6},{4,4,4,9},{4,4,5,8},{4,4,6,7},{4,5,5,7},{4,5,6,6},{5,5,5,6}}
{{1,3,8,9},{1,4,7,9},{1,5,6,9},{1,5,7,8},{2,3,7,9},{2,4,6,9},{2,4,7,8},{2,5,6,8},{3,4,5,9},{3,4,6,8},{3,5,6,7}}
考虑重复有31种:
{{1,2,9,9},{1,3,8,9},{1,4,7,9},{1,4,8,8},{1,5,6,9},{1,5,7,8},{1,6,6,8},{1,6,7,7},{2,2,8,9},{2,3,7,9},{2,3,8,8},{2,4,6,9},{2,4,7,8},{2,5,5,9},{2,5,6,8},{2,5,7,7},{2,6,6,7},{3,3,6,9},{3,3,7,8},{3,4,5,9},{3,4,6,8},{3,4,7,7},{3,5,5,8},{3,5,6,7},{3,6,6,6},{4,4,4,9},{4,4,5,8},{4,4,6,7},{4,5,5,7},{4,5,6,6},{5,5,5,6}}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
共有奇数五个,偶数四个
要得和是偶数,则有:偶数+偶数+偶数或者:偶数+奇数+奇数
从四个偶数中任取三个有:4*3*2/[3*2*1]=4种
从四个偶数中取一个偶数,从五个奇数中取二个奇数有:
4*5*4/[2*1]=40种
所以共有:4+40=44种
要得和是偶数,则有:偶数+偶数+偶数或者:偶数+奇数+奇数
从四个偶数中任取三个有:4*3*2/[3*2*1]=4种
从四个偶数中取一个偶数,从五个奇数中取二个奇数有:
4*5*4/[2*1]=40种
所以共有:4+40=44种
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
1389,1479,1569,1578,2379,2469,2478,2568,3459,3569
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
1938:1947:1956:2937:2946:4638
追问
就这几种吗?
追答
刚在拉屎,就发了这几个,下面有个全的,采纳他吧
就是先找相加得13的,然后找其他
再找相加得12的,找其他
找相加得11的,找其他
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询