1238017 ÷ 389 
The aim is to understand the frequency of 389 in 1238017.

Going ahead to step 1:
1 divided by 389 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 389

Step 2:
If we divide 12 by 389, we get 0 and a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Fetch the next digit (3) from the dividend, attach it to 12 and continue: 123 / 389

Advancing to step 3:
The number 389 fits into 123 0 times, leaving a remainder of 123.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 123 after subtracting 0 from 123.
Bring next digit (8) of the dividend behind the 123 and repeat the process: 1238 / 389

Step 4:
389 goes into 1238 3 times with a remainder of 71.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 1167 from 1238 leaves us with 71.
Take the next digit (0) from the dividend and append it to 71, then repeat: 710 / 389

Let's proceed to step 5:
The number 389 fits into 710 1 times, leaving a remainder of 321.
The next digit of our result is 1. 
Result so far: 31.0
The remainder is 321 after subtracting 389 from 710.
Fetch the next digit (1) from the dividend, attach it to 321 and continue: 3211 / 389

Advancing to step 6:
The number 389 fits into 3211 8 times, leaving a remainder of 99.
The number 8 becomes the next digit in our result. 
Result so far: 318.0
Subtracting 3112 from 3211 leaves us with 99.
Include the next digit (7) from the dividend after 99, then repeat: 997 / 389

Step 7:
If we divide 997 by 389, we get 2 and a remainder of 219.
Write down 2 as next digit of the result. 
Result so far: 3182.0
Subtracting 778 from 997 leaves us with 219.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2190, and continue the process.

Let's proceed to step 8:
If we divide 2190 by 389, we get 5 and a remainder of 245.
The next digit of our result is 5. 
Result so far: 3182.5
Deduct 1945 from 2190 and we're left with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Step 9:
When dividing 2450 by 389, we get 6 with a remainder of 116.
Use 6 as the next digit of our solution. 
Result so far: 3182.56
If we subtract 2334 from 2450, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Let's proceed to step 10:
389 can be fit into 1160 2 times, resulting in a remainder of 382.
The next digit of our result is 2. 
Result so far: 3182.562
The remainder is 382 after subtracting 778 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Let's proceed to step 11:
If we divide 3820 by 389, we get 9 and a remainder of 319.
The number 9 becomes the next digit in our result. 
Result so far: 3182.5629
Deduct 3501 from 3820 and we're left with 319.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3190, and continue the process.

Let's proceed to step 12:
The number 389 fits into 3190 8 times, leaving a remainder of 78.
Use 8 as the next digit of our solution. 
Result so far: 3182.56298
If we subtract 3112 from 3190, we get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 13:
If we divide 780 by 389, we get 2 and a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 3182.562982
Subtracting 778 from 780 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 14:
When dividing 20 by 389, we get 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 3182.562982
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 15:
The number 389 fits into 200 0 times, leaving a remainder of 200.
The next digit of our result is 0. 
Result so far: 3182.562982
If we take 0 away from 200, we end up with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

The quotient of the division is 3182.562982, and the remainder is 2e-07.