几个数字组成数的问题
- 时间:2020-04-02 21:17:33
- 分类:数学世界
- 阅读:130 次
有三个数字,用它们组成6个不同的三位数,这6个三位数的和是1554。那么这三个数字分别是多少?
解题思路:三个数字,既能组成6个不同的三位数,那么这三个数字肯定互不相同。设这三个数字为A、B、C,组成的六个三位数则是以下形式:
ABC,ACB,BAC,BCA,CAB,CBA
把六个三位数加起来,每个数位上都有2个A,2个B,2个C,如果把它们的和1554除以2,则每个数位上都只剩下一个A,一个B,一个C,即A+B+C,此时1554÷2=777,可见:每个数位上A+B+C都等于7(说明没有进位),只要再把7分成三个数字相加即可。
解题过程:
1554÷2=777,7为三个数字之和。
7=1+2+4,三个数字各不相同,且不能为0,所以仅有此一种答案。
答:这三个数字分别是1、2、4。
推荐阅读:Digital Relationships: 5 Tips For Building A Better Veterinary B The 2020 Pandemic Further Boosts Earnings and Influence of Blogg What to Do When Your Blog Gets Too Big for You Alone Minimum Numbers of Function Calls to Make Target Array Harddrives will fail – it is just a matter of when Bruteforce/DFS/Backtracking Algorithm using Javascript to Solve DFS and BFS Algorithm to Find Numbers With Same Consecutive Diff How to Remove Items/Entries with Specific Values from Map/HashMa Find the Real Root of 4^x + 6^x = 9^x Depth First Search (Backtracking) Algorithm to Solve a Sudoku Ga
- 评论列表
-
- 添加评论