868986 divided by 5 
The aim is to understand the frequency of 5 in 868986.

Step 1:
8 divided by 5 is 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 5 away from 8, we end up with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 5

Let's proceed to step 2:
If we divide 36 by 5, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we subtract 35 from 36, we get 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 5

Advancing to step 3:
5 goes into 18 3 times with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 173.0
If we take 15 away from 18, we end up with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 5

Step 4:
The number 5 fits into 39 7 times, leaving a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 1737.0
If we take 35 away from 39, we end up with 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 5

Step 5:
The number 5 fits into 48 9 times, leaving a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 17379.0
Deduct 45 from 48 and we're left with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 5

Advancing to step 6:
When dividing 36 by 5, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 173797.0
If we take 35 away from 36, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
10 divided by 5 is 2 with a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 173797.2
If we take 10 away from 10, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
When dividing 0 by 5, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 173797.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 173797.2
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 173797.2 with a remaining 0.0.