We look at the division of 58318212 by 678 
The aim is to understand the frequency of 678 in 58318212.

Step 1:
When dividing 5 by 678, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 678

On to step 2:
When dividing 58 by 678, we get 0 with a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 58 and we're left with 58.
Bring next digit (3) of the dividend behind the 58 and repeat the process: 583 / 678

Moving on to step 3:
678 goes into 583 0 times with a remainder of 583.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 583 after subtracting 0 from 583.
Grab the next digit (1) from the dividend, add it to 583, then carry on: 5831 / 678

Let's proceed to step 4:
When dividing 5831 by 678, we get 8 with a remainder of 407.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Deduct 5424 from 5831 and we're left with 407.
Grab the next digit (8) from the dividend, add it to 407, then carry on: 4078 / 678

Step 5:
678 can be fit into 4078 6 times, resulting in a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 86.0
The remainder is 10 after subtracting 4068 from 4078.
Bring next digit (2) of the dividend behind the 10 and repeat the process: 102 / 678

Moving on to step 6:
678 can be fit into 102 0 times, resulting in a remainder of 102.
The number 0 becomes the next digit in our result. 
Result so far: 860.0
Deduct 0 from 102 and we're left with 102.
Take the next digit (1) from the dividend and append it to 102, then repeat: 1021 / 678

Advancing to step 7:
678 can be fit into 1021 1 times, resulting in a remainder of 343.
The next digit of our result is 1. 
Result so far: 8601.0
Subtracting 678 from 1021 leaves us with 343.
Append the next digit (2) from the dividend to 343 and continue with: 3432 / 678

Step 8:
678 goes into 3432 5 times with a remainder of 42.
Put 5 as the next digit of the answer. 
Result so far: 86015.0
Subtract 3390 from 3432 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 9:
When dividing 420 by 678, we get 0 with a remainder of 420.
Record the quotient 0 as the next digit in the result. 
Result so far: 86015.0
If we subtract 0 from 420, we get 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

On to step 10:
When dividing 4200 by 678, we get 6 with a remainder of 132.
Write down 6 as next digit of the result. 
Result so far: 86015.06
If we subtract 4068 from 4200, we get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Advancing to step 11:
If we divide 1320 by 678, we get 1 and a remainder of 642.
The number 1 becomes the next digit in our result. 
Result so far: 86015.061
Deduct 678 from 1320 and we're left with 642.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

On to step 12:
If we divide 6420 by 678, we get 9 and a remainder of 318.
Put 9 as the next digit of the answer. 
Result so far: 86015.0619
If we take 6102 away from 6420, we end up with 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Going ahead to step 13:
The number 678 fits into 3180 4 times, leaving a remainder of 468.
Record the quotient 4 as the next digit in the result. 
Result so far: 86015.06194
Subtracting 2712 from 3180 leaves us with 468.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4680, and continue the process.

On to step 14:
4680 divided by 678 is 6 with a remainder of 612.
Put 6 as the next digit of the answer. 
Result so far: 86015.061946
If we subtract 4068 from 4680, we get 612.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6120, and continue the process.

On to step 15:
678 can be fit into 6120 9 times, resulting in a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 86015.0619469
If we subtract 6102 from 6120, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 16:
The number 678 fits into 180 0 times, leaving a remainder of 180.
Write down 0 as next digit of the result. 
Result so far: 86015.0619469
Subtracting 0 from 180 leaves us with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Our division results in 86015.0619469 with a remaining 1.8e-07.