Let's divide 2018155 by 389
The aim is to understand the frequency of 389 in 2018155.

Let's proceed to step 1:
389 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Include the next digit (0) from the dividend after 2, then repeat: 20 / 389

Going ahead to step 2:
389 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 20 after subtracting 0 from 20.
Fetch the next digit (1) from the dividend, attach it to 20 and continue: 201 / 389

Advancing to step 3:
When dividing 201 by 389, we get 0 with a remainder of 201.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 201 and we're left with 201.
Take the next digit (8) from the dividend and append it to 201, then repeat: 2018 / 389

Let's proceed to step 4:
389 can be fit into 2018 5 times, resulting in a remainder of 73.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 1945 from 2018 leaves us with 73.
Append the next digit (1) from the dividend to 73 and continue with: 731 / 389

Step 5:
389 can be fit into 731 1 times, resulting in a remainder of 342.
Write down 1 as next digit of the result. 
Result so far: 51.0
Deduct 389 from 731 and we're left with 342.
Include the next digit (5) from the dividend after 342, then repeat: 3425 / 389

On to step 6:
If we divide 3425 by 389, we get 8 and a remainder of 313.
The next digit of our result is 8. 
Result so far: 518.0
If we take 3112 away from 3425, we end up with 313.
Grab the next digit (5) from the dividend, add it to 313, then carry on: 3135 / 389

Step 7:
3135 divided by 389 is 8 with a remainder of 23.
Put 8 as the next digit of the answer. 
Result so far: 5188.0
Subtract 3112 from 3135 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 8:
389 goes into 230 0 times with a remainder of 230.
The next digit of our result is 0. 
Result so far: 5188.0
If we take 0 away from 230, we end up with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Going ahead to step 9:
389 goes into 2300 5 times with a remainder of 355.
Use 5 as the next digit of our solution. 
Result so far: 5188.05
The remainder is 355 after subtracting 1945 from 2300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3550, and continue the process.

Let's proceed to step 10:
If we divide 3550 by 389, we get 9 and a remainder of 49.
The next digit of our result is 9. 
Result so far: 5188.059
If we subtract 3501 from 3550, we get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Step 11:
If we divide 490 by 389, we get 1 and a remainder of 101.
The number 1 becomes the next digit in our result. 
Result so far: 5188.0591
If we take 389 away from 490, we end up with 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Moving on to step 12:
If we divide 1010 by 389, we get 2 and a remainder of 232.
Put 2 as the next digit of the answer. 
Result so far: 5188.05912
If we take 778 away from 1010, we end up with 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

On to step 13:
2320 divided by 389 is 5 with a remainder of 375.
The number 5 becomes the next digit in our result. 
Result so far: 5188.059125
The remainder is 375 after subtracting 1945 from 2320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3750, and continue the process.

Advancing to step 14:
3750 divided by 389 is 9 with a remainder of 249.
The next digit of our result is 9. 
Result so far: 5188.0591259
The remainder is 249 after subtracting 3501 from 3750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2490, and continue the process.

Let's proceed to step 15:
If we divide 2490 by 389, we get 6 and a remainder of 156.
The next digit of our result is 6. 
Result so far: 5188.05912596
Subtracting 2334 from 2490 leaves us with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

The quotient of the division is 5188.05912596, and the remainder is 1.56e-07.