We look at the division of 2831270 by 389 
The aim is to understand the frequency of 389 in 2831270.

On to step 1:
When dividing 2 by 389, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Append the next digit (8) from the dividend to 2 and continue with: 28 / 389

Advancing to step 2:
28 divided by 389 is 0 with a remainder of 28.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 28 after subtracting 0 from 28.
Append the next digit (3) from the dividend to 28 and continue with: 283 / 389

Step 3:
The number 389 fits into 283 0 times, leaving a remainder of 283.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 283 leaves us with 283.
Include the next digit (1) from the dividend after 283, then repeat: 2831 / 389

Advancing to step 4:
389 can be fit into 2831 7 times, resulting in a remainder of 108.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 108 after subtracting 2723 from 2831.
Bring next digit (2) of the dividend behind the 108 and repeat the process: 1082 / 389

Let's proceed to step 5:
When dividing 1082 by 389, we get 2 with a remainder of 304.
Record the quotient 2 as the next digit in the result. 
Result so far: 72.0
If we subtract 778 from 1082, we get 304.
Bring next digit (7) of the dividend behind the 304 and repeat the process: 3047 / 389

Step 6:
The number 389 fits into 3047 7 times, leaving a remainder of 324.
The next digit of our result is 7. 
Result so far: 727.0
The remainder is 324 after subtracting 2723 from 3047.
Include the next digit (0) from the dividend after 324, then repeat: 3240 / 389

Let's proceed to step 7:
389 goes into 3240 8 times with a remainder of 128.
Write down 8 as next digit of the result. 
Result so far: 7278.0
Subtracting 3112 from 3240 leaves us with 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

On to step 8:
389 goes into 1280 3 times with a remainder of 113.
Use 3 as the next digit of our solution. 
Result so far: 7278.3
Deduct 1167 from 1280 and we're left with 113.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1130, and continue the process.

Going ahead to step 9:
389 can be fit into 1130 2 times, resulting in a remainder of 352.
The next digit of our result is 2. 
Result so far: 7278.32
If we subtract 778 from 1130, we get 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Let's proceed to step 10:
3520 divided by 389 is 9 with a remainder of 19.
The next digit of our result is 9. 
Result so far: 7278.329
Subtracting 3501 from 3520 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 11:
389 goes into 190 0 times with a remainder of 190.
Put 0 as the next digit of the answer. 
Result so far: 7278.329
If we take 0 away from 190, we end up with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Moving on to step 12:
When dividing 1900 by 389, we get 4 with a remainder of 344.
The number 4 becomes the next digit in our result. 
Result so far: 7278.32904
The remainder is 344 after subtracting 1556 from 1900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Moving on to step 13:
389 goes into 3440 8 times with a remainder of 328.
Record the quotient 8 as the next digit in the result. 
Result so far: 7278.329048
Subtracting 3112 from 3440 leaves us with 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Let's proceed to step 14:
If we divide 3280 by 389, we get 8 and a remainder of 168.
Put 8 as the next digit of the answer. 
Result so far: 7278.3290488
Subtracting 3112 from 3280 leaves us with 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

The final result is 7278.3290488 with a remainder of 1.68e-06.