Adloun

Mathematics (Grade 11 Humanities, Lebanon) · Chapter 9 · Direct application of the course

A door code

Arrangements and permutations · level 2

Statement

The code of a building door is a sequence of digits, from to . The same digit may be used several times.

  • How many possible codes are there?
  • How many codes begin with the digit ?
  • How many codes contain only odd digits?
  • How many codes end with an even digit?

Solution

  • Repetition is allowed: this is an arrangement with repetition of digits from . There are codes.
  • The first digit is imposed; the others are free: codes.
  • There are odd digits (, , , , ): choices at each of the places, that is codes.
  • The first digits are free ( choices each); the last one is one of the even digits (, , , , ). By the multiplication principle: codes.

Similar exercises

The course of the chapter · All the exercises of the chapter