Discrete-math 9

Discrete-math 9

Combinatorics

Answer the question: how many ways to do smth there is?
How many four digit numbers there are, comprised of digits 1,2,3,4,5?Solution:54How many such numbers with at least one 3 are there?Let us count the number of numbers without 344Number of numbers with at least one three is 5444
How many ways to place 2 black rooks on a chess boardsuch that they don’t threaten each other?Solution:64(6415)2!=64492=3249