We divide 1022000 by 867
The aim is to understand the frequency of 867 in 1022000.

On to step 1:
If we divide 1 by 867, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 867

Advancing to step 2:
The number 867 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 10 to get 10.
Append the next digit (2) from the dividend to 10 and continue with: 102 / 867

Moving on to step 3:
102 divided by 867 is 0 with a remainder of 102.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 102 leaves us with 102.
Grab the next digit (2) from the dividend, add it to 102, then carry on: 1022 / 867

Going ahead to step 4:
867 goes into 1022 1 times with a remainder of 155.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 867 away from 1022, we end up with 155.
Append the next digit (0) from the dividend to 155 and continue with: 1550 / 867

Advancing to step 5:
867 goes into 1550 1 times with a remainder of 683.
The next digit of our result is 1. 
Result so far: 11.0
Subtract 867 from 1550 to get 683.
Fetch the next digit (0) from the dividend, attach it to 683 and continue: 6830 / 867

Let's proceed to step 6:
When dividing 6830 by 867, we get 7 with a remainder of 761.
Record the quotient 7 as the next digit in the result. 
Result so far: 117.0
Subtracting 6069 from 6830 leaves us with 761.
Take the next digit (0) from the dividend and append it to 761, then repeat: 7610 / 867

Going ahead to step 7:
When dividing 7610 by 867, we get 8 with a remainder of 674.
Write down 8 as next digit of the result. 
Result so far: 1178.0
Subtract 6936 from 7610 to get 674.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6740, and continue the process.

Moving on to step 8:
867 can be fit into 6740 7 times, resulting in a remainder of 671.
Use 7 as the next digit of our solution. 
Result so far: 1178.7
Subtract 6069 from 6740 to get 671.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6710, and continue the process.

Moving on to step 9:
6710 divided by 867 is 7 with a remainder of 641.
Write down 7 as next digit of the result. 
Result so far: 1178.77
Subtract 6069 from 6710 to get 641.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6410, and continue the process.

The quotient of the division is 1178.77, and the remainder is 0.641.