We divide 18788822 by 786
The aim is to understand the frequency of 786 in 18788822.

On to step 1:
When dividing 1 by 786, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 786

Let's proceed to step 2:
786 goes into 18 0 times with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 18, we get 18.
Fetch the next digit (7) from the dividend, attach it to 18 and continue: 187 / 786

Moving on to step 3:
If we divide 187 by 786, we get 0 and a remainder of 187.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 187 leaves us with 187.
Bring next digit (8) of the dividend behind the 187 and repeat the process: 1878 / 786

Going ahead to step 4:
When dividing 1878 by 786, we get 2 with a remainder of 306.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 1572 from 1878 leaves us with 306.
Append the next digit (8) from the dividend to 306 and continue with: 3068 / 786

Going ahead to step 5:
The number 786 fits into 3068 3 times, leaving a remainder of 710.
Put 3 as the next digit of the answer. 
Result so far: 23.0
If we subtract 2358 from 3068, we get 710.
Bring next digit (8) of the dividend behind the 710 and repeat the process: 7108 / 786

On to step 6:
When dividing 7108 by 786, we get 9 with a remainder of 34.
Record the quotient 9 as the next digit in the result. 
Result so far: 239.0
Subtract 7074 from 7108 to get 34.
Grab the next digit (2) from the dividend, add it to 34, then carry on: 342 / 786

On to step 7:
When dividing 342 by 786, we get 0 with a remainder of 342.
Use 0 as the next digit of our solution. 
Result so far: 2390.0
If we take 0 away from 342, we end up with 342.
Fetch the next digit (2) from the dividend, attach it to 342 and continue: 3422 / 786

Going ahead to step 8:
If we divide 3422 by 786, we get 4 and a remainder of 278.
Put 4 as the next digit of the answer. 
Result so far: 23904.0
If we subtract 3144 from 3422, we get 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

Step 9:
When dividing 2780 by 786, we get 3 with a remainder of 422.
Put 3 as the next digit of the answer. 
Result so far: 23904.3
Deduct 2358 from 2780 and we're left with 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Going ahead to step 10:
4220 divided by 786 is 5 with a remainder of 290.
Put 5 as the next digit of the answer. 
Result so far: 23904.35
If we subtract 3930 from 4220, we get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Moving on to step 11:
The number 786 fits into 2900 3 times, leaving a remainder of 542.
Write down 3 as next digit of the result. 
Result so far: 23904.353
If we take 2358 away from 2900, we end up with 542.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5420, and continue the process.

Step 12:
If we divide 5420 by 786, we get 6 and a remainder of 704.
The number 6 becomes the next digit in our result. 
Result so far: 23904.3536
If we subtract 4716 from 5420, we get 704.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7040, and continue the process.

On to step 13:
786 goes into 7040 8 times with a remainder of 752.
Put 8 as the next digit of the answer. 
Result so far: 23904.35368
Deduct 6288 from 7040 and we're left with 752.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7520, and continue the process.

Moving on to step 14:
When dividing 7520 by 786, we get 9 with a remainder of 446.
Use 9 as the next digit of our solution. 
Result so far: 23904.353689
If we take 7074 away from 7520, we end up with 446.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4460, and continue the process.

Let's proceed to step 15:
4460 divided by 786 is 5 with a remainder of 530.
The number 5 becomes the next digit in our result. 
Result so far: 23904.3536895
Subtract 3930 from 4460 to get 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Let's proceed to step 16:
5300 divided by 786 is 6 with a remainder of 584.
Put 6 as the next digit of the answer. 
Result so far: 23904.35368956
Deduct 4716 from 5300 and we're left with 584.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5840, and continue the process.

The final outcome is 23904.35368956, with a leftover of 5.84e-07.