87786847 divided by 138 
The aim is to understand the frequency of 138 in 87786847.

Advancing to step 1:
138 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 138

Step 2:
138 can be fit into 87 0 times, resulting in a remainder of 87.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 87 leaves us with 87.
Grab the next digit (7) from the dividend, add it to 87, then carry on: 877 / 138

On to step 3:
When dividing 877 by 138, we get 6 with a remainder of 49.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtract 828 from 877 to get 49.
Bring next digit (8) of the dividend behind the 49 and repeat the process: 498 / 138

Let's proceed to step 4:
138 goes into 498 3 times with a remainder of 84.
The next digit of our result is 3. 
Result so far: 63.0
If we subtract 414 from 498, we get 84.
Take the next digit (6) from the dividend and append it to 84, then repeat: 846 / 138

Let's proceed to step 5:
When dividing 846 by 138, we get 6 with a remainder of 18.
The next digit of our result is 6. 
Result so far: 636.0
Subtract 828 from 846 to get 18.
Append the next digit (8) from the dividend to 18 and continue with: 188 / 138

Advancing to step 6:
The number 138 fits into 188 1 times, leaving a remainder of 50.
Use 1 as the next digit of our solution. 
Result so far: 6361.0
Subtracting 138 from 188 leaves us with 50.
Bring next digit (4) of the dividend behind the 50 and repeat the process: 504 / 138

Let's proceed to step 7:
504 divided by 138 is 3 with a remainder of 90.
The number 3 becomes the next digit in our result. 
Result so far: 63613.0
If we subtract 414 from 504, we get 90.
Bring next digit (7) of the dividend behind the 90 and repeat the process: 907 / 138

Step 8:
138 can be fit into 907 6 times, resulting in a remainder of 79.
Record the quotient 6 as the next digit in the result. 
Result so far: 636136.0
The remainder is 79 after subtracting 828 from 907.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Step 9:
When dividing 790 by 138, we get 5 with a remainder of 100.
Use 5 as the next digit of our solution. 
Result so far: 636136.5
If we take 690 away from 790, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 10:
The number 138 fits into 1000 7 times, leaving a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 636136.57
The remainder is 34 after subtracting 966 from 1000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 11:
If we divide 340 by 138, we get 2 and a remainder of 64.
Record the quotient 2 as the next digit in the result. 
Result so far: 636136.572
Subtract 276 from 340 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Let's proceed to step 12:
138 goes into 640 4 times with a remainder of 88.
Write down 4 as next digit of the result. 
Result so far: 636136.5724
The remainder is 88 after subtracting 552 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Advancing to step 13:
If we divide 880 by 138, we get 6 and a remainder of 52.
Put 6 as the next digit of the answer. 
Result so far: 636136.57246
Subtract 828 from 880 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 14:
138 can be fit into 520 3 times, resulting in a remainder of 106.
The number 3 becomes the next digit in our result. 
Result so far: 636136.572463
If we subtract 414 from 520, we get 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Going ahead to step 15:
138 can be fit into 1060 7 times, resulting in a remainder of 94.
Record the quotient 7 as the next digit in the result. 
Result so far: 636136.5724637
Subtract 966 from 1060 to get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Let's proceed to step 16:
The number 138 fits into 940 6 times, leaving a remainder of 112.
The next digit of our result is 6. 
Result so far: 636136.57246376
Subtract 828 from 940 to get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

The final result is 636136.57246376 with a remainder of 1.12e-07.