鸟有几种不同的飞法
- 时间:2020-06-13 17:16:40
- 分类:数学世界
- 阅读:164 次
错排问题,鸟有几种不同的飞法:有5只小鸟同时飞入5个不同的笼子里去,每只小鸟都有自己的一个笼子(不同的鸟,笼子也不相同),每个笼子只能飞进一只鸟。若都不飞进自己的笼子里去,有几种不同的飞法?
数学题解答(素心兰老师):这是一道错排问题,你可以自己从1个到4个探索错排的规律。比如:1个笼子1只鸟→不存在飞错→0;2个笼子2只鸟→1种飞错→1;3个笼子3只鸟→2种飞错→2;4个笼子4只鸟→9种飞错→9;5个笼子5只鸟就可以利用规律来求了。
规律是:3个错排→2×(1+0),4个错排→3×(2+1)=9,5个错排→4×(9+2)=44……6个错排就是:6个错排→5×(44+9)=265,你能算出七个错排是多少种吗?
推荐阅读:What is the largest prime factor of the number 600851475143 ? Can we Construct K Palindrome Strings? Sum of Even Fibonacci Numbers Sum of Multiples of 3 and 5 How to Design Underground System using Several Hash Maps? How to Remove Zero Sum Consecutive Nodes from Linked List using Depth First Search and Breadth First Search Algorithm to Open th Dynamic Programming (Memoization) to Sort Integers by The Power Applicable Accounting Software For Churches How to Balance a Binary Search Tree using Recursive Inorder Trav
- 评论列表
-
- 添加评论