Current location - Training Enrollment Network - Mathematics courses - A mathematical problem of counting from which number to which number.
A mathematical problem of counting from which number to which number.
There are two algorithms, the first is to list the numbers one by one, and the second is to calculate them.

Examples are as follows:

How many people are there between the fifth person and 10 person?

(1) enumeration method: the sequence numbers of natural numbers from the 5th to the 10 are: 5, 6, 7, 8, 9, 10. How many people are there between the fifth person and the 10 person? We need to remove the fifth person and the 10 person, so there are 6, 7, 8, 9***4 people.

(2) Formula:10-5-1= 5-1= 4 people.