四面小旗子可组成几种不同的信号
- 时间:2020-05-31 15:41:53
- 分类:数学世界
- 阅读:66 次
怪盗同学提问:如果将四面颜色不同的小旗子挂在一根绳子上,组成一个信号,那么这四面小旗子可组成几种不同的信号?
数学题解答:将四面旗子的颜色分别用是:1、2、3、4来表示,那么这四个数字可以组成多少个不同的四位数,便可以表示多少种不同的信号了。
组成的四位数有:一、以1为开头的:1234,1243,1324,1342,1423,1432,共6个。除此以外,还可以用2、3、4开头,每种均可组成6个四位数,所以共可以组成:6×4=24(个),一共24个四位数。
这样便把问题由颜色改成了数字的组合,一共可以表示24种不同的信号。
推荐阅读: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 Using Bitmasking Algorithm to Compute the Combinations of an Arr Flashing the BIOS of HPZ800 Server to 3.61 Rev.A Algorithm to Sum The Fibonacci Numbers How to Adapt Your Blog to Increasing Zero-Click Searches
- 评论列表
-
- 添加评论