Let's divide 98987839 by 678
The aim is to understand the frequency of 678 in 98987839.

Going ahead to step 1:
When dividing 9 by 678, we get 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 678

Step 2:
When dividing 98 by 678, we get 0 with a remainder of 98.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 98 and we're left with 98.
Grab the next digit (9) from the dividend, add it to 98, then carry on: 989 / 678

On to step 3:
678 goes into 989 1 times with a remainder of 311.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 678 from 989 to get 311.
Include the next digit (8) from the dividend after 311, then repeat: 3118 / 678

Let's proceed to step 4:
When dividing 3118 by 678, we get 4 with a remainder of 406.
Write down 4 as next digit of the result. 
Result so far: 14.0
If we subtract 2712 from 3118, we get 406.
Fetch the next digit (7) from the dividend, attach it to 406 and continue: 4067 / 678

Advancing to step 5:
678 can be fit into 4067 5 times, resulting in a remainder of 677.
The number 5 becomes the next digit in our result. 
Result so far: 145.0
Deduct 3390 from 4067 and we're left with 677.
Include the next digit (8) from the dividend after 677, then repeat: 6778 / 678

On to step 6:
678 goes into 6778 9 times with a remainder of 676.
The next digit of our result is 9. 
Result so far: 1459.0
The remainder is 676 after subtracting 6102 from 6778.
Include the next digit (3) from the dividend after 676, then repeat: 6763 / 678

Let's proceed to step 7:
6763 divided by 678 is 9 with a remainder of 661.
Record the quotient 9 as the next digit in the result. 
Result so far: 14599.0
The remainder is 661 after subtracting 6102 from 6763.
Take the next digit (9) from the dividend and append it to 661, then repeat: 6619 / 678

Moving on to step 8:
When dividing 6619 by 678, we get 9 with a remainder of 517.
Record the quotient 9 as the next digit in the result. 
Result so far: 145999.0
Subtract 6102 from 6619 to get 517.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5170, and continue the process.

Advancing to step 9:
When dividing 5170 by 678, we get 7 with a remainder of 424.
The next digit of our result is 7. 
Result so far: 145999.7
Deduct 4746 from 5170 and we're left with 424.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4240, and continue the process.

On to step 10:
When dividing 4240 by 678, we get 6 with a remainder of 172.
Put 6 as the next digit of the answer. 
Result so far: 145999.76
If we subtract 4068 from 4240, we get 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Advancing to step 11:
If we divide 1720 by 678, we get 2 and a remainder of 364.
Put 2 as the next digit of the answer. 
Result so far: 145999.762
Subtract 1356 from 1720 to get 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

Step 12:
If we divide 3640 by 678, we get 5 and a remainder of 250.
Record the quotient 5 as the next digit in the result. 
Result so far: 145999.7625
If we take 3390 away from 3640, we end up with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Advancing to step 13:
678 goes into 2500 3 times with a remainder of 466.
Put 3 as the next digit of the answer. 
Result so far: 145999.76253
Subtract 2034 from 2500 to get 466.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4660, and continue the process.

On to step 14:
If we divide 4660 by 678, we get 6 and a remainder of 592.
Record the quotient 6 as the next digit in the result. 
Result so far: 145999.762536
The remainder is 592 after subtracting 4068 from 4660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5920, and continue the process.

On to step 15:
5920 divided by 678 is 8 with a remainder of 496.
The next digit of our result is 8. 
Result so far: 145999.7625368
Subtracting 5424 from 5920 leaves us with 496.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4960, and continue the process.

Going ahead to step 16:
When dividing 4960 by 678, we get 7 with a remainder of 214.
Record the quotient 7 as the next digit in the result. 
Result so far: 145999.76253687
Subtracting 4746 from 4960 leaves us with 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

The quotient of the division is 145999.76253687, and the remainder is 2.14e-07.