Variations with repetition

Explanation

A 4-character code from 4 digits that may repeat: .

available symbols
length

Examples

Example 1: medium

How many three-digit numbers are: with distinct digits; even?

  1. We consider the digits in turn and multiply the numbers of options (splitting into cases when needed).
  2. There are 328 such numbers.

Answer: 328

Example 2: medium

How many three-digit numbers are: even; with distinct digits?

  1. We consider the digits in turn and multiply the numbers of options (splitting into cases when needed).
  2. There are 328 such numbers.

Answer: 328

Example 3: medium

How many three-digit numbers are: made only of the digits 1 to 3; with distinct digits?

  1. We consider the digits in turn and multiply the numbers of options (splitting into cases when needed).
  2. There are 6 such numbers.

Answer: 6

Example 4: harder

How many three-digit numbers are: even; made only of the digits 1 to 3; with distinct digits?

  1. We consider the digits in turn and multiply the numbers of options (splitting into cases when needed).
  2. There are 2 such numbers.

Answer: 2